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

Bug#726055: marked as done (libapt-pkg.so.4.12: segmentation fault in pkgDPkgPM::ProcessDpkgStatusLine)



Your message dated Tue, 15 Oct 2013 19:48:26 +0000
with message-id <E1VWAbS-0006mL-HR@franck.debian.org>
and subject line Bug#726047: fixed in apt 0.9.12.1
has caused the Debian Bug report #726047,
regarding libapt-pkg.so.4.12: segmentation fault in pkgDPkgPM::ProcessDpkgStatusLine
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.)


-- 
726047: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726047
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libapt-pkg4.12
Version: 0.9.12
Severity: normal
File: /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12

Hi *,

I am getting a reproducible segmentation fault in
/usr/lib/i386-linux-gnu/libapt-pkg.so.4.12 in
pkgDPkgPM::ProcessDpkgStatusLine. 

I first got a segfault today on one machine, but did not capture any
more information on this, since a second start of apt-get did not
produce the same crash.

But now in my workstation this is happening as well an every single time
I start "apt-get dist-upgrade" again. It happens also on every machine
where the package "cpuid=20130610-2" is installed and msr-tools=1.3-1 are
upgraded or newly installed.

Those two packages have a file conflict /usr/share/man/man1/cpuid.1.gz,
which prompts dpkg to output 

dpkg: error processing /var/cache/apt/archives/msr-tools_1.3-1_i386.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/cpuid.1.gz', which is also in package cpuid 20130610-2

which seemingly triggers the segmentation fault.

The line from the kernel log is

[ 3954.102323] apt-get[14525]: segfault at fffffff4 ip 00000000f768036b sp 00000000ffa8bd20 error 5 in libapt-pkg.so.4.12.0[f758f000+13d000]

and the backtrace from gdb while dist-upgrading is:

Reading changelogs... Done
(Reading database ... 603255 files and directories currently installed.)
Preparing to replace msr-tools 1.2-3 (using .../msr-tools_1.3-1_i386.deb) ...
Unpacking replacement msr-tools ...
dpkg: error processing /var/cache/apt/archives/msr-tools_1.3-1_i386.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/cpuid.1.gz', which is also in package cpuid 20130610-2

Program received signal SIGSEGV, Segmentation fault.
0xf7f5436b in pkgDPkgPM::ProcessDpkgStatusLine(int, char*) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
(gdb) bt full
#0  0xf7f5436b in pkgDPkgPM::ProcessDpkgStatusLine(int, char*) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
No symbol table info available.
#1  0xf7f56dcb in pkgDPkgPM::DoDpkgStatusFd(int, int) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
No symbol table info available.
#2  0xf7f590d5 in pkgDPkgPM::Go(int) () from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
No symbol table info available.
#3  0xf7ed2c11 in pkgPackageManager::DoInstallPostFork(int) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
No symbol table info available.
#4  0xf7ed2c63 in pkgPackageManager::DoInstall(int) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
No symbol table info available.
#5  0xf7e3c3e0 in InstallPackages(CacheFile&, bool, bool, bool) ()
   from /usr/lib/i386-linux-gnu/libapt-private.so.0.0
No symbol table info available.
#6  0x0805166c in ?? ()
No symbol table info available.
#7  0xf7e9e47e in CommandLine::DispatchArg(CommandLine::Dispatch*, bool) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
No symbol table info available.
#8  0x0804feab in ?? ()
No symbol table info available.
#9  0xf7b488c5 in __libc_start_main (main=0x804fc40, argc=2, ubp_av=0xffffd724, init=0x8060a70, 
    fini=0x8060ae0, rtld_fini=0xf7fec0c0 <_dl_fini>, stack_end=0xffffd71c) at libc-start.c:260
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-137519104, 0, 0, 0, -449961298, 1938949822}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x2, 0x805003f}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 2}}}
        not_first_call = <optimized out>
#10 0x08050060 in ?? ()
No symbol table info available.

The backtrace while "apt-get install msr-tools" from a different system
looks like this:

(Reading database ... 125343 files and directories currently installed.)
Unpacking msr-tools (from .../msr-tools_1.3-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/msr-tools_1.3-1_i386.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/cpuid.1.gz', which is also in package cpuid 20130610-2

Program received signal SIGSEGV, Segmentation fault.
0xf7f7836b in pkgDPkgPM::ProcessDpkgStatusLine(int, char*) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
(gdb) bt full
#0  0xf7f7836b in pkgDPkgPM::ProcessDpkgStatusLine(int, char*) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
No symbol table info available.
#1  0xf7f7adcb in pkgDPkgPM::DoDpkgStatusFd(int, int) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
No symbol table info available.
#2  0xf7f7d0d5 in pkgDPkgPM::Go(int) () from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
No symbol table info available.
#3  0xf7ef6c11 in pkgPackageManager::DoInstallPostFork(int) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
No symbol table info available.
#4  0xf7ef6c63 in pkgPackageManager::DoInstall(int) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
No symbol table info available.
#5  0xf7e603e0 in InstallPackages(CacheFile&, bool, bool, bool) ()
   from /usr/lib/i386-linux-gnu/libapt-private.so.0.0
No symbol table info available.
#6  0xf7e629e2 in DoInstall(CommandLine&) () from /usr/lib/i386-linux-gnu/libapt-private.so.0.0
No symbol table info available.
#7  0xf7ec247e in CommandLine::DispatchArg(CommandLine::Dispatch*, bool) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
No symbol table info available.
#8  0x0804feab in ?? ()
No symbol table info available.
#9  0xf7b6c8c5 in __libc_start_main (main=0x804fc40, argc=3, ubp_av=0xffffd7c4, init=0x8060a70,
    fini=0x8060ae0, rtld_fini=0xf7fec0c0 <_dl_fini>, stack_end=0xffffd7bc) at libc-start.c:260
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-137371648, 0, 0, 0, -1201572088, 710808344},
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x3, 0x805003f}, data = {prev = 0x0,
              cleanup = 0x0, canceltype = 3}}}
        not_first_call = <optimized out>
#10 0x08050060 in ?? ()
No symbol table info available.


Unfortunately there is no libapt-pkg-dbg package available, so the
backtrace is a bit non-informative.

Grüße,
Sven.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'experimental'), (400, 'testing')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.10-3-amd64 (SMP w/12 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libapt-pkg4.12:i386 depends on:
ii  libbz2-1.0         1.0.6-5
ii  libc6              2.17-93
ii  libgcc1            1:4.8.1-10
ii  libstdc++6         4.8.1-10
ii  multiarch-support  2.17-93
ii  zlib1g             1:1.2.8.dfsg-1

libapt-pkg4.12:i386 recommends no packages.

libapt-pkg4.12:i386 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.9.12.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.

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 726047@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@ftp-master.debian.org)


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

Format: 1.8
Date: Tue, 15 Oct 2013 18:25:51 +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.12.1
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 management 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 management runtime library
Closes: 726047 726156
Changes: 
 apt (0.9.12.1) unstable; urgency=low
 .
   [ Michael Vogt ]
   * do not send pkgname:arch over the APT::Status-Fd to not break
     clients (closes: 726156). A new APT::Status-deb822-Fd will be
     used to fix this.
   * add integration tests for APT::Status-Fd
   * add missing _() around the new "Progress" string
 .
   [ David Kalnischkies ]
   * fix progress-segfault in case of dpkg errors/prompts (Closes: 726047)
Checksums-Sha1: 
 8923824ae1deb775e004e368803dc538ba0cc22b 1617 apt_0.9.12.1.dsc
 fae193a24248b4703ced9f78df49f8102b4016e2 3420713 apt_0.9.12.1.tar.gz
 faa693bbf6c8cce0ffe88543606584894a1c8954 266658 apt-doc_0.9.12.1_all.deb
 1a83d61e92d464bc3c18939183c2d255e6ad5a98 555648 libapt-pkg-doc_0.9.12.1_all.deb
 0ff24a51a4f66a3b998eef66b09b77a55f468e0f 717776 libapt-pkg4.12_0.9.12.1_amd64.deb
 84ae3b235075555124591358efc8412aa3939a61 157870 libapt-inst1.5_0.9.12.1_amd64.deb
 f1cb4c8448b9d47ebd3ab0dbff6e446b74b71821 1046782 apt_0.9.12.1_amd64.deb
 dbadead6fb20fb02d889decb082fb077d0c51335 179576 libapt-pkg-dev_0.9.12.1_amd64.deb
 e6e7040722f3fa4860d1441bacb22ccfc240bc10 345514 apt-utils_0.9.12.1_amd64.deb
 4d40c9d6d9fda17ad06266c0ea37c18b309c1467 124666 apt-transport-https_0.9.12.1_amd64.deb
Checksums-Sha256: 
 74c5f554a8878d01874db6534f827e5b2b89f931eae1cb6fb5dd327023c162fd 1617 apt_0.9.12.1.dsc
 9cec76243557d1c597017eb33ebec8090c34f62fa771109f8994f7fe0f517e23 3420713 apt_0.9.12.1.tar.gz
 5b9691da8acc280ccf1410933bc425797a8c0d4e2490a51e5b676a01585c7023 266658 apt-doc_0.9.12.1_all.deb
 335b94a776fd04f8496e8f19a8c8dc2a8dc26b493a85cbdee0d9c42dadd5986e 555648 libapt-pkg-doc_0.9.12.1_all.deb
 d23df99fc20eaa0e8d02ac38e0c8d823cc34c1fdc38a009cf85e605a105608ec 717776 libapt-pkg4.12_0.9.12.1_amd64.deb
 0670d6920e98404277baf8ada8bc0f86f79886dd89b24365118de3487a0fd19e 157870 libapt-inst1.5_0.9.12.1_amd64.deb
 ecfc3e46a9d1859ea84000a73225cf648d8a1b5b8412102c6cd9fe8e4fc86532 1046782 apt_0.9.12.1_amd64.deb
 43f22c65f99bd560da8c67e5e9cac7e051f87971b804b924b1ca5c4587f5c7f1 179576 libapt-pkg-dev_0.9.12.1_amd64.deb
 f3094c83e0a374c086826dbc7318f343d671431bfe92bf54f14866dc6eab43ec 345514 apt-utils_0.9.12.1_amd64.deb
 25c0ee11e9500f13d8574f346d13f68dc9bcd9545f0db01b5a432088c6a7f17f 124666 apt-transport-https_0.9.12.1_amd64.deb
Files: 
 0b42dbc22db642f9e64beadbe6f1c582 1617 admin important apt_0.9.12.1.dsc
 d0cf3377f6a99ca7a9ce9df0977cf3a5 3420713 admin important apt_0.9.12.1.tar.gz
 4f0ad16d141dfe2d858141130672426e 266658 doc optional apt-doc_0.9.12.1_all.deb
 189313279c0040c3dc087a15ef297736 555648 doc optional libapt-pkg-doc_0.9.12.1_all.deb
 383a2cf6d61a51ec7da6f4510881265b 717776 libs important libapt-pkg4.12_0.9.12.1_amd64.deb
 30a2d923a96922a8c5292a120739db10 157870 libs important libapt-inst1.5_0.9.12.1_amd64.deb
 43d47bea071f4036dc72750914fca256 1046782 admin important apt_0.9.12.1_amd64.deb
 7465b327d37331dc1b4ba1b41a23875f 179576 libdevel optional libapt-pkg-dev_0.9.12.1_amd64.deb
 4fae40ccdf35be880260d50caac56423 345514 admin important apt-utils_0.9.12.1_amd64.deb
 64e3833453eca32789ec8dad5c70911a 124666 admin optional apt-transport-https_0.9.12.1_amd64.deb

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

iEYEARECAAYFAlJdmGQACgkQliSD4VZixzSqkQCfb3pg8FTLAnMVYfRQO4A7TV+B
+zwAn0ql88PaoE4DLI7NPFxkSe+IV0Cb
=cR5u
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: