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

Bug#335213: marked as done (apt-get source segfault with non existing source packages)



Your message dated Sun, 23 Oct 2005 03:17:07 -0700
with message-id <E1ETcuZ-0008WA-00@spohr.debian.org>
and subject line Bug#335213: 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; 22 Oct 2005 16:10:04 +0000
>From arnaud@andesi.org Sat Oct 22 09:10:03 2005
Return-path: <arnaud@andesi.org>
Received: from smtp6-g19.free.fr [212.27.42.36] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1ETLwZ-0004mI-00; Sat, 22 Oct 2005 09:10:03 -0700
Received: from smtp.mini-dweeb.org (mini-dweeb.org [81.56.242.187])
	by smtp6-g19.free.fr (Postfix) with ESMTP id 2A30F953B
	for <submit@bugs.debian.org>; Sat, 22 Oct 2005 18:10:01 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by smtp.mini-dweeb.org (Postfix) with ESMTP id 28C5262E463
	for <submit@bugs.debian.org>; Sat, 22 Oct 2005 18:09:37 +0200 (CEST)
Received: from smtp.mini-dweeb.org ([127.0.0.1])
	by localhost (velma [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 30106-01 for <submit@bugs.debian.org>;
	Sat, 22 Oct 2005 18:09:33 +0200 (CEST)
Received: by smtp.mini-dweeb.org (Postfix, from userid 1000)
	id A1D8462E465; Sat, 22 Oct 2005 18:09:31 +0200 (CEST)
From: Arnaud Fontaine <arnaud@andesi.org>
To: submit@bugs.debian.org
Subject: apt-get source segfault with non existing source packages
X-PGP-Fingerprint: D792 B8A5 A567 B001 C342  2613 BDF2 A220 5E36 19D3
Mail-Copies-To: nobody
X-Operating-System: Debian GNU/Linux
X-Mailer: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
X-GnuPG-KeyID: 5E3619D3
Date: Sat, 22 Oct 2005 18:08:56 +0200
Message-ID: <[🔎] 87oe5h5yav.fsf@velma.mini-dweeb.org>
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mini-dweeb.org
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

--=-=-=
Content-Transfer-Encoding: quoted-printable

Package: apt
Version: 0.6.42
Severity: important

Hello,

I have a problem with a recent upgrade of apt (since 0.6.42 only, before
it worked without segfault with exactly the same command
line). Actually, when i do :

# apt-get source squashfs
Reading package lists... Done
Building dependency tree... Done
Segmentation fault

Or this command too :

# apt-get source foo
Reading package lists... Done
Building dependency tree... Done
Segmentation fault

But when doing :

# apt-get source libc6
Reading package lists... Done
Building dependency tree... Done
Need to get 13.8MB of source archives.
[..]

So, using apt source with debugging symbols, i have :

$ gdb ./apt-get
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 "i386-linux"...Using host libthread_db
library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) r source squashfs
Starting program: /src/build/apt-0.6.42/bin/apt-get source squashfs
Reading package lists... Done
Building dependency tree... Done

Program received signal SIGSEGV, Segmentation fault.
FindSrc (Name=3D0xbf9c18d1 "squashfs",Recs=3D@0xbf9bfa30,SrcRecs=3D@0xbf9bf=
a20, Src=3D@0xbf9bf99c, Cache=3D@0x8089bd8) at cacheiterators.h:334
334        inline PkgFileIterator File() const {return PkgFileIterator(*Own=
er,FileP->File + Owner->PkgFileP);};
(gdb) bt
#0  FindSrc (Name=3D0xbf9c18d1 "squashfs", Recs=3D@0xbf9bfa30,SrcRecs=3D@0x=
bf9bfa20, Src=3D@0xbf9bf99c, Cache=3D@0x8089bd8) at cacheiterators.h:334
#1  0x0805b7a7 in DoSource (CmdL=3D@0xbf9bfe08) at apt-get.cc:1907
#2  0xb7f205f2 in CommandLine::DispatchArg () from /usr/lib/libapt-pkg-libc=
6.3-6.so.3.10
#3  0x0805e9d2 in main (argc=3D3, argv=3D0xbf9bfea4) at apt-get.cc:2571

Regards,
Arnaud Fontaine

=2D- Package-specific info:

=2D- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Default-Release "unstable";
APT::Get "";=20=20
APT::Get::Show-Upgraded "true";
APT::Get::Show-Versions "true";
APT::Get::AllowUnauthenticated "1";
APT::Get::List-Cleanup "true";
APT::CleanInstalled "true";
APT::Cache "";=20=20=20
APT::Cache::AllVersions "false";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "/home/arnau/pub";
Dir::Cache::archives "apt/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d/";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p
$PPID | grep -c remove) !=3D 1 ]; then /usr/sbin/localepurge; else exit 0;
fi";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom";

=2D- /etc/apt/sources.list --

##################################################
# Official packages for Testing and Unstable     #
##################################################
deb http://ftp.de.debian.org/debian testing main contrib
deb-src http://ftp.de.debian.org/debian testing main contrib

deb http://ftp.de.debian.org/debian unstable main contrib
deb-src http://ftp.de.debian.org/debian unstable main contrib

##################################################
# Andesi, Cerkinfo (mplayer, transcode...)       #
##################################################
deb http://www.andesi.org/pub/debian woody main
deb http://www.andesi.org/public/work/apt ./
deb http://apt.cerkinfo.be/ unstable main contrib
deb-src http://apt.cerkinfo.be/ unstable main contrib
deb http://debian.duckcorp.org/unstable/binary-i386/ ./
deb-src http://debian.duckcorp.org/unstable/source/ ./

=2D- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-rc3-d500
Locale: LANG=3Dfr_FR@euro, LC_CTYPE=3Dfr_FR@euro (charmap=3DISO-8859-15)

Versions of packages apt depends on:
ii  libc6                         2.3.5-7    GNU C Library: Shared librarie=
s an
ii  libgcc1                       1:4.0.2-2  GCC support library
ii  libstdc++6                    4.0.2-2    The GNU Standard C++ Library v3

apt recommends no packages.

=2D- no debconf information

=2D-=20
Arnaud Fontaine <arnaud@andesi.org> - http://www.andesi.org/ | GPG
Public Key available on pgp.mit.edu | Fingerprint: D792 B8A5 A567 B001
C342 2613 BDF2 A220 5E36 19D3

--=-=-=
Content-Type: application/pgp-signature

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

iD8DBQBDWmQ7vfKiIF42GdMRAhGGAJ0X39hekP9V6v0K/W/pI5IpLRWqLwCfVGuM
iS/RBI+5OZ+nAtVqDWY3hEk=
=zQ4+
-----END PGP SIGNATURE-----
--=-=-=--

---------------------------------------
Received: (at 335213-close) by bugs.debian.org; 23 Oct 2005 10:17:41 +0000
>From katie@spohr.debian.org Sun Oct 23 03:17:41 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1ETcuZ-0008WA-00; Sun, 23 Oct 2005 03:17:07 -0700
From: Michael Vogt <mvo@debian.org>
To: 335213-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#335213: fixed in apt 0.6.42.1
Message-Id: <E1ETcuZ-0008WA-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Sun, 23 Oct 2005 03:17:07 -0700
Delivered-To: 335213-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

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 335213@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: