[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 Wed, 09 Nov 2005 20:17:05 -0800
with message-id <E1Ea3s1-0001gI-8D@spohr.debian.org>
and subject line Bug#335213: fixed in apt 0.6.42.3
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; 10 Nov 2005 04:19:43 +0000
>From katie@ftp-master.debian.org Wed Nov 09 20:19:43 2005
Return-path: <katie@ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1Ea3s1-0001gI-8D; Wed, 09 Nov 2005 20:17:05 -0800
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.3
Message-Id: <E1Ea3s1-0001gI-8D@spohr.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 09 Nov 2005 20:17:05 -0800
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.3

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.3_all.deb
  to pool/main/a/apt/apt-doc_0.6.42.3_all.deb
apt-utils_0.6.42.3_i386.deb
  to pool/main/a/apt/apt-utils_0.6.42.3_i386.deb
apt_0.6.42.3.dsc
  to pool/main/a/apt/apt_0.6.42.3.dsc
apt_0.6.42.3.tar.gz
  to pool/main/a/apt/apt_0.6.42.3.tar.gz
apt_0.6.42.3_i386.deb
  to pool/main/a/apt/apt_0.6.42.3_i386.deb
libapt-pkg-dev_0.6.42.3_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.6.42.3_i386.deb
libapt-pkg-doc_0.6.42.3_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.6.42.3_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: Wed,  9 Nov 2005 07:22:31 +0100
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-doc apt
Architecture: source all i386
Version: 0.6.42.3
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: 329910 333599 335112 335164 335213 337078 337163 337306 337910 337949 338101
Changes: 
 apt (0.6.42.3) unstable; urgency=low
 .
   * Merge bubulle@debian.org--2005/apt--main--0 up to patch-129:
     - patch-118: Russian translation update by Yuri Kozlov (closes: #335164)
     - patch-119: add update-po as a pre-req for binary (closes: #329910)
     - patch-121: Complete French translation
     - patch-125: Fixed localization of y/n questions in German translation
                  (closes: #337078)
     - patch-126: Swedish translation update (closes: #337163)
     - patch-127: Complete Tagalog translation (closes: #337306)
     - patch-128: Danish translation update (closes: #337949)
     - patch-129: Basque translation update (closes: #338101)
   * cmdline/apt-get.cc:
     - bufix in FindSrc  (closes: #335213, #337910)
   * added armeb to archtable (closes: #333599)
   * with --allow-unauthenticated use the old fallback behaviour for
     sources (closes: #335112)
Files: 
 aef61765106a06833cec7e0df5ddc793 789 admin important apt_0.6.42.3.dsc
 990abfcb7c17fc7a82c1b6c0b92c906b 1453891 admin important apt_0.6.42.3.tar.gz
 bbc5c7579c058f9e2c141c336dbe77cc 85762 doc optional apt-doc_0.6.42.3_all.deb
 6464f205e51db4ec29ede3fd7e89c53d 109194 doc optional libapt-pkg-doc_0.6.42.3_all.deb
 ade2c242f1b6ac5b7e7d205b9046f0ca 1217274 admin important apt_0.6.42.3_i386.deb
 2af7828fbe968620890b623c79e7eac1 79188 libdevel optional libapt-pkg-dev_0.6.42.3_i386.deb
 0af3ae3588bfbe44822f8d1d96f089c3 200742 admin important apt-utils_0.6.42.3_i386.deb

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

iD8DBQFDcsVnliSD4VZixzQRAh2lAJ9Mxv8Qc+HXsL4AcDFX45bPO+DzAQCeOMss
T+59KJWaY37mV2etOoMGcvs=
=vvqW
-----END PGP SIGNATURE-----



Reply to: