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

Bug#673815: marked as done (libapt-pkg: segfault in pkgPackageManager::SmartUnPack())



Your message dated Tue, 22 May 2012 14:47:15 +0000
with message-id <E1SWqMl-0008AG-Jl@franck.debian.org>
and subject line Bug#673815: fixed in apt 0.9.5
has caused the Debian Bug report #673815,
regarding libapt-pkg: segfault in pkgPackageManager::SmartUnPack()
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
673815: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673815
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libapt-pkg4.12
Version: 0.9.3
Severity: serious
Justification: renders package unusable

Hi,

when running 'apt-get dist-upgrade', the command segfaults on amd64
after pressing 'y' in order to continue after the changes summary. The
segfault happens in pkgPackageManager::SmartUnPack() (according to gdb).
Looking at the backtrace, I suspect an endless loop filling up the stack
space.

This does *not* happen when running 'apt-get install <pkg>' (with extra
packages being installed).

See below for details:
# gdb --args apt-get dist-upgrade
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/apt-get...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  linux-sound-base mysql-client-5.1 mysql-server-5.1 mysql-server-core-5.1
The following NEW packages will be installed:
  cpp-4.7 g++-4.7 gcc-4.7 hardening-includes libexiv2-12 libitm1 libmysqlclient18 libnspr4 libnss3 libstdc++6-4.7-dev libsystemd-daemon0 nagios-plugins-common python-dbus-dev
The following packages will be upgraded:
  accountsservice alsa-base cpp g++ gcc geeqie geeqie-common libaccountsservice0 libmysqlclient-dev libnspr4-0d libnss3-1d lintian mysql-common nagios-plugins-basic python-dbus
15 upgraded, 13 newly installed, 4 to remove and 0 not upgraded.
Need to get 0 B/32.3 MB of archives.
After this operation, 8,273 kB of additional disk space will be used.
Do you want to continue [Y/n]? y

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b2763e in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
(gdb) bt
#0  0x00007ffff7b2763e in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#1  0x00007ffff7b29165 in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#2  0x00007ffff7b287a1 in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
…
#14158 0x00007ffff7b287a1 in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#14159 0x00007ffff7b29165 in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#14160 0x00007ffff7b2c90f in pkgPackageManager::OrderInstall() () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#14161 0x00007ffff7b2cd78 in pkgPackageManager::DoInstall(int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#14162 0x0000000000419e3b in ?? ()
#14163 0x000000000041d315 in ?? ()
#14164 0x00007ffff7aff962 in CommandLine::DispatchArg(CommandLine::Dispatch*, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#14165 0x000000000040b35c in ?? ()
#14166 0x00007ffff6da8ead in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#14167 0x000000000040b641 in ?? ()
#14168 0x00007fffffffec58 in ?? ()
#14169 0x000000000000001c in ?? ()
#14170 0x0000000000000002 in ?? ()
#14171 0x00007fffffffee7c in ?? ()
#14172 0x00007fffffffee8d in ?? ()
#14173 0x0000000000000000 in ?? ()

Please tell me if you need any additional information.

TIA,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.9.5

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.9.5_all.deb
  to main/a/apt/apt-doc_0.9.5_all.deb
apt-transport-https_0.9.5_amd64.deb
  to main/a/apt/apt-transport-https_0.9.5_amd64.deb
apt-utils_0.9.5_amd64.deb
  to main/a/apt/apt-utils_0.9.5_amd64.deb
apt_0.9.5.dsc
  to main/a/apt/apt_0.9.5.dsc
apt_0.9.5.tar.gz
  to main/a/apt/apt_0.9.5.tar.gz
apt_0.9.5_amd64.deb
  to main/a/apt/apt_0.9.5_amd64.deb
libapt-inst1.5_0.9.5_amd64.deb
  to main/a/apt/libapt-inst1.5_0.9.5_amd64.deb
libapt-pkg-dev_0.9.5_amd64.deb
  to main/a/apt/libapt-pkg-dev_0.9.5_amd64.deb
libapt-pkg-doc_0.9.5_all.deb
  to main/a/apt/libapt-pkg-doc_0.9.5_all.deb
libapt-pkg4.12_0.9.5_amd64.deb
  to main/a/apt/libapt-pkg4.12_0.9.5_amd64.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 673815@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.8
Date: Tue, 22 May 2012 16:14:22 +0200
Source: apt
Binary: apt libapt-pkg4.12 libapt-inst1.5 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 0.9.5
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package managment related utility programs
 libapt-inst1.5 - deb package format runtime library
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg4.12 - package managment runtime library
Closes: 673294 673815
Changes: 
 apt (0.9.5) unstable; urgency=low
 .
   [ Chris Leick ]
   * proofreading of the manpage pot
   * German manpage translation update (Closes: #673294)
 .
   [ David Kalnischkies ]
   * buildlib/podomain.mak:
     - ensure that all sources end up in the srclist so that we don't
       forget to extract half of the translation strings
   * buildlib/inttypes.h.in:
     - remove inttypes.h compatibility as providing such a c99 types
       compatibility conflicts with the usage of c99 type long long
   * apt-pkg/contrib/mmap.cc:
     - have a dummy SyncToFd around in case of ReadOnly access to a
       compressed file as we otherwise on Close() do not delete[] the
       char buffer but munmap() it… (Closes: #673815)
   * debian/control:
     - moving debiandoc-sgml to Build-Depends-Indep was one step too much
       for the buildds as we still build two sgml files in arch:any
   * debian/rules:
     - move internal-solver as 'apt' to his friend dump-solver in
       /usr/lib/apt/solvers to avoid writing a manpage for it
Checksums-Sha1: 
 0e082866d2515727b9971695938de11b3f05626f 1683 apt_0.9.5.dsc
 336e58cd3f43d39856d6c4adcad96a7306720d5a 3367660 apt_0.9.5.tar.gz
 1b13d3b9b21617618b23f257890afae3874e433a 256934 apt-doc_0.9.5_all.deb
 8d325e440a941b492adff6f82f8555019edbeb49 835382 libapt-pkg-doc_0.9.5_all.deb
 5a05d2ab99e5358e9a0a81f98752667e905bb039 865566 libapt-pkg4.12_0.9.5_amd64.deb
 10c0712629b3efe4df35ab9166a5535952292580 159962 libapt-inst1.5_0.9.5_amd64.deb
 b61fcbba56e35c70d04a93c22c3cb0b96550a4e1 1136416 apt_0.9.5_amd64.deb
 89b13d7a57652ff527dd0a87512de62859b663a1 180640 libapt-pkg-dev_0.9.5_amd64.deb
 1d120187e7cfcbe84f582f6b13831ca357f6bdbe 359230 apt-utils_0.9.5_amd64.deb
 6bb61261c7a83b6a931595907977339ef111938a 102768 apt-transport-https_0.9.5_amd64.deb
Checksums-Sha256: 
 a6a9c91da85b22c0ceff07a74c52e7d3ccf08bc97e5cc36880874ad4912ec67c 1683 apt_0.9.5.dsc
 313cb016b421ebd07c0e8064be0113930a8e8d7a5caf808ca0994e887f206e67 3367660 apt_0.9.5.tar.gz
 b8d085fc2e23247057936853aea038d29a4b78fc0b6c87a81ad89607f8870b22 256934 apt-doc_0.9.5_all.deb
 bef834a1b712ebc54cb3a674a783c7a66b60cb6020870b9b2dfe0c0faa411365 835382 libapt-pkg-doc_0.9.5_all.deb
 50abd8f6a4becbdf20505de13798e1ee357ddcb8b787f164e7d73f97784c9783 865566 libapt-pkg4.12_0.9.5_amd64.deb
 18b1e7e371f9db8b60c1262e84081982bfe4768e593cd9761f02002740405f44 159962 libapt-inst1.5_0.9.5_amd64.deb
 b9c418c84c0e801eccfb2d9629f7d53f6896b0b2104bb6071ad35d94fcaa262d 1136416 apt_0.9.5_amd64.deb
 797daae252e2ada3ef34c9814f253223958d0f5a8dd1b9c8da3c63a004783f5b 180640 libapt-pkg-dev_0.9.5_amd64.deb
 d0fbbe123c6c933ff4ee86a4178fc57e4921f6e45f372c1607c53ab0e2fe3ff7 359230 apt-utils_0.9.5_amd64.deb
 266ac3ac63d54f28d874116f37f39726f5fb8b6e086654a15dfaf5a1fad40dbe 102768 apt-transport-https_0.9.5_amd64.deb
Files: 
 6eb4ce3cfa7b9993c286fa2e0f8ff73d 1683 admin important apt_0.9.5.dsc
 573bec18d6aa815700c34a8b79029429 3367660 admin important apt_0.9.5.tar.gz
 141f2469048fd672c882623d95f23c97 256934 doc optional apt-doc_0.9.5_all.deb
 e79019797c3ad2adcebe6249e5dc13a5 835382 doc optional libapt-pkg-doc_0.9.5_all.deb
 5e990aefa2d39e4be46430f8ead9f8f5 865566 admin important libapt-pkg4.12_0.9.5_amd64.deb
 b74cba733fef6f4b59b6d743d9b99cef 159962 admin important libapt-inst1.5_0.9.5_amd64.deb
 878641cd3da7b79534e0f5f94601cc6f 1136416 admin important apt_0.9.5_amd64.deb
 d3f1ff3cdf90b93ca67fb26e6bc05c76 180640 libdevel optional libapt-pkg-dev_0.9.5_amd64.deb
 63da17f385a0ceeacc21702821fdd2b9 359230 admin important apt-utils_0.9.5_amd64.deb
 eef3b0b20d54cd71b0710b6abadd0549 102768 admin optional apt-transport-https_0.9.5_amd64.deb

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

iEYEARECAAYFAk+7pPcACgkQliSD4VZixzTCNQCghgdNmlzMmqPkbeejLS9qfrjj
dXYAn1CoZSyigTpZH5N6JKVk32GQMLEN
=Me00
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: