[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#335102: marked as done (apt-cache search segfaults)



Your message dated Sun, 23 Oct 2005 03:17:07 -0700
with message-id <E1ETcuZ-0008W6-00@spohr.debian.org>
and subject line Bug#335102: fixed in apt 0.6.42.1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Oct 2005 22:21:14 +0000
>From dannf@hp.com Fri Oct 21 15:21:14 2005
Return-path: <dannf@hp.com>
Received: from atlrel7.hp.com [156.153.255.213] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1ET5GE-0001sK-00; Fri, 21 Oct 2005 15:21:14 -0700
Received: from smtp2.fc.hp.com (smtp.fc.hp.com [15.15.136.253])
	by atlrel7.hp.com (Postfix) with ESMTP id 8E64919E8
	for <submit@bugs.debian.org>; Fri, 21 Oct 2005 18:21:02 -0400 (EDT)
Received: from ldl.fc.hp.com (linux-bugs.fc.hp.com [15.11.146.30])
	by smtp2.fc.hp.com (Postfix) with ESMTP
	id CDCB941E3C2; Fri, 21 Oct 2005 22:21:01 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by ldl.fc.hp.com (Postfix) with ESMTP id 82FC91340F2;
	Fri, 21 Oct 2005 16:21:01 -0600 (MDT)
Received: from ldl.fc.hp.com ([127.0.0.1])
	by localhost (ldl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 01575-02; Fri, 21 Oct 2005 16:20:59 -0600 (MDT)
Received: from krebs (krebs.dannf [10.8.0.7])
	by ldl.fc.hp.com (Postfix) with ESMTP id C28DE1340D4;
	Fri, 21 Oct 2005 16:20:59 -0600 (MDT)
Received: by krebs (Postfix, from userid 20800)
	id 3C7163B626C; Fri, 21 Oct 2005 16:23:34 -0600 (MDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: dann frazier <dannf@hp.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apt-cache search segfaults
X-Mailer: reportbug 3.17
Date: Fri, 21 Oct 2005 16:23:33 -0600
Message-Id: <[🔎] 20051021222334.3C7163B626C@krebs>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ldl.fc.hp.com
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: apt
Version: 0.6.42
Severity: important

apt-cache search <anything> segfaults.  Other apt-cache commands seem to be ok.
0.6.41 doesn't exhibit this problem.

dannf@krebs:/space/debian/apt-0.6.42$ LD_LIBRARY_PATH=/usr/lib/debug gdb ./build/bin/apt-cache core
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ia64-linux"...Using host libthread_db library "/usr/lib/debug/libthread_db.so.1".

Core was generated by `./build/bin/apt-cache search foo'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /usr/lib/libapt-pkg-libc6.3-6.so.3.10...done.
Loaded symbols for /usr/lib/libapt-pkg-libc6.3-6.so.3.10
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /usr/lib/debug/libm.so.6.1...done.
Loaded symbols for /usr/lib/debug/libm.so.6.1
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libunwind.so.7...done.
Loaded symbols for /lib/libunwind.so.7
Reading symbols from /usr/lib/debug/libc.so.6.1...done.
Loaded symbols for /usr/lib/debug/libc.so.6.1
Reading symbols from /lib/ld-linux-ia64.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.3.5.so...done.
done.
Loaded symbols for /lib/ld-linux-ia64.so.2
#0  LocalityCompare (a=0x2000000000e90150, b=Variable "b" is not available.
) at apt-cache.cc:64
64         if (A->File == B->File)
(gdb) bt
#0  LocalityCompare (a=0x2000000000e90150, b=Variable "b" is not available.
) at apt-cache.cc:64
#1  0x20000000004eeac0 in msort_with_tmp (b=0x2000000000e90150, n=2, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:74
#2  0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90150, n=5, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
#3  0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90150, n=10, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
#4  0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90150, n=21, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
#5  0x20000000004eea40 in msort_with_tmp (b=0x2000000000e90010, n=41, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:48
#6  0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90010, n=83, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
#7  0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90010, n=167, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
#8  0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90010, n=335, s=16,
---Type <return> to continue, or q <return> to quit---
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
#9  0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90010, n=670, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
#10 0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90010, n=1340, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
#11 0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90010, n=2680, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
#12 0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90010, n=5361, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
#13 0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90010, n=10722, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
#14 0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90010, n=21445, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
#15 0x20000000004eeec0 in *__GI_qsort (b=0x2000000000e90010, n=21445, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>) at msort.c:154
---Type <return> to continue, or q <return> to quit---
#16 0x4000000000004520 in LocalitySort (begin=0x2000000000e90010, Count=21445,
    Size=16) at apt-cache.cc:72
#17 0x4000000000011040 in Search (CmdL=Variable "CmdL" is not available.
) at apt-cache.cc:1298
#18 0x20000000000a8100 in CommandLine::DispatchArg ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.10
#19 0x4000000000017a60 in main (argc=3, argv=Variable "argv" is not available.
) at apt-cache.cc:1798
(gdb) bt all
No symbol "all" in current context.
(gdb) btall
Undefined command: "btall".  Try "help".
(gdb) bt full
#0  LocalityCompare (a=0x2000000000e90150, b=Variable "b" is not available.
) at apt-cache.cc:64
        A = (pkgCache::VerFile *) 0x79
        B = (pkgCache::VerFile *) 0x200000000
#1  0x20000000004eeac0 in msort_with_tmp (b=0x2000000000e90150, n=2, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:74
        tmp = 0x2000000000ee4010 "\uffffb\201"
        b1 = 0x2000000000e90150 "P\uffff\uffff"
        b2 = 0x2000000000e90160 ""
        n1 = 1
        n2 = 1
#2  0x20000000004eea10 in msort_with_tmp (b=0x2000000000e90150, n=5, s=16,
    cmp=@0x400000000001b780: 0x4000000000004440 <LocalityCompare(void const*, void const*)>, t=0x2000000000ee4010 "\uffffb\201") at msort.c:47
        tmp = Variable "tmp" is not available.
(gdb)


-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --


deb http://mirrors.kernel.org/debian unstable main non-free
deb-src http://mirrors.kernel.org/debian unstable main non-free


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: ia64
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-mckinley
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apt depends on:
ii  libc6.1                       2.3.5-7    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-2  GCC support library
ii  libstdc++6                    4.0.2-2    The GNU Standard C++ Library v3
ii  libunwind7                    0.98.5-8   A library to determine the call-ch

apt recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 335102-close) by bugs.debian.org; 23 Oct 2005 10:17:44 +0000
>From katie@spohr.debian.org Sun Oct 23 03:17:44 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1ETcuZ-0008W6-00; Sun, 23 Oct 2005 03:17:07 -0700
From: Michael Vogt <mvo@debian.org>
To: 335102-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#335102: fixed in apt 0.6.42.1
Message-Id: <E1ETcuZ-0008W6-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Sun, 23 Oct 2005 03:17:07 -0700
Delivered-To: 335102-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: apt
Source-Version: 0.6.42.1

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:

apt-doc_0.6.42.1_all.deb
  to pool/main/a/apt/apt-doc_0.6.42.1_all.deb
apt-utils_0.6.42.1_i386.deb
  to pool/main/a/apt/apt-utils_0.6.42.1_i386.deb
apt_0.6.42.1.dsc
  to pool/main/a/apt/apt_0.6.42.1.dsc
apt_0.6.42.1.tar.gz
  to pool/main/a/apt/apt_0.6.42.1.tar.gz
apt_0.6.42.1_i386.deb
  to pool/main/a/apt/apt_0.6.42.1_i386.deb
libapt-pkg-dev_0.6.42.1_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.6.42.1_i386.deb
libapt-pkg-doc_0.6.42.1_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.6.42.1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 335102@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 22 Oct 2005 23:44:35 +0200
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-doc apt
Architecture: source all i386
Version: 0.6.42.1
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 282918 335102 335103 335213
Changes: 
 apt (0.6.42.1) unstable; urgency=low
 .
   * fix a incorrect example in the apt_prefrences man page
     (thanks to Filipus Klutiero, closes: #282918)
   * apt-pkg/pkgrecords.cc:
     - revert patch from last version, it causes trouble on alpha
       and ia64 (closes: #335102, #335103)
   * cmdline/apt-get.cc:
     - be extra carefull in FindSrc (closes: #335213)
Files: 
 185f6757b533151b1172c5f722001230 789 admin important apt_0.6.42.1.dsc
 3a3b50a6b0b205ec8f234df1c3d81914 1446646 admin important apt_0.6.42.1.tar.gz
 a8deb255adedc7ecd8983d00672d4ad0 85370 doc optional apt-doc_0.6.42.1_all.deb
 609cefb8841e4772488a2c735ffaf956 108818 doc optional libapt-pkg-doc_0.6.42.1_all.deb
 c09cc206914d3dda935be0ef95a0187e 1209214 admin important apt_0.6.42.1_i386.deb
 3d64b0fcce0746ccd74efcdca9c871db 78806 libdevel optional libapt-pkg-dev_0.6.42.1_i386.deb
 5d2ec628114a561d9c2e1269860c771e 200390 admin important apt-utils_0.6.42.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDW1+6liSD4VZixzQRAouBAJ9cxrcxzvQbU2LY3GaTmpjY4a2ZgACfQE0c
GEPD+5OOVQMolN+A3OXr7Go=
=dERh
-----END PGP SIGNATURE-----



Reply to: