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

Bug#765018: marked as done (/usr/bin/apt-get: Segmentation fault if I try to install libpango-1.0-0/testing (other packages work fine))



Your message dated Fri, 14 Aug 2015 09:50:51 +0200
with message-id <20150814094358.GA4167@debian.org>
and subject line Re: Bug#765018: /usr/bin/apt-get: Segmentation fault if I try to install libpango-1.0-0/testing (other packages work fine)
has caused the Debian Bug report #765018,
regarding /usr/bin/apt-get: Segmentation fault if I try to install libpango-1.0-0/testing (other packages work fine)
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.)


-- 
765018: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765018
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.9.7.9+deb7u6
Severity: important
File: /usr/bin/apt-get

If I try to install libpango-1.0 from testing on a stable system apt-get crashes:

# apt-get install libpango-1.0-0/testing
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Segmentation fault (core dumped)

If I try:

apt-get -t testing install libpango-1.0-0

It doesn't crash but does try for an enormous amount of changes.

It also doesn't crash on other packages.

Here is a backtrace with debugging symbols:

LD_LIBRARY_PATH=. gdb ./apt-get
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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp-ram/apt-0.9.7.9+deb7u6/build/bin/apt-get...done.
(gdb) run install libpango1.0-0/testing
Starting program: /tmp-ram/apt-0.9.7.9+deb7u6/build/bin/apt-get install libpango1.0-0/testing
Traceback (most recent call last):
  File "/usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.17-gdb.py", line 62, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
Reading package lists... Done
Building dependency tree       
Reading state information... Done

Program received signal SIGSEGV, Segmentation fault.
0xf7ed8bfb in pkgDepCache::AddSizes (this=0x80a0450, Pkg=..., Inverse=true) at depcache.cc:448
448              iUsrSize -= P.InstVerIter(*this)->InstalledSize;
(gdb) bt
#0  0xf7ed8bfb in pkgDepCache::AddSizes (this=0x80a0450, Pkg=..., Inverse=true) at depcache.cc:448
#1  0xf7edf656 in pkgDepCache::RemoveSizes (this=0x80a0450, Pkg=...) at ../build/include/apt-pkg/depcache.h:336
#2  0xf7edc3bf in pkgDepCache::SetCandidateVersion (this=0x80a0450, TargetVer=...) at depcache.cc:1293
Python Exception <type 'exceptions.IndexError'> list index out of range: 
#3  0xf7edd17d in pkgDepCache::SetCandidateRelease (this=0x80a0450, TargetVer=..., TargetRel="testing", Changed=std::list) at depcache.cc:1460
Python Exception <type 'exceptions.IndexError'> list index out of range: 
#4  0xf7edd021 in pkgDepCache::SetCandidateRelease (this=0x80a0450, TargetVer=..., TargetRel="testing", Changed=std::list) at depcache.cc:1438
Python Exception <type 'exceptions.IndexError'> list index out of range: 
#5  0xf7edd021 in pkgDepCache::SetCandidateRelease (this=0x80a0450, TargetVer=..., TargetRel="testing", Changed=std::list) at depcache.cc:1438
#6  0x0807990c in TryToInstall::propergateReleaseCandiateSwitching (this=0xffffcc84, start=std::list = {...}, out=...) at apt-get.cc:878
#7  0x0806a2c1 in DoInstall (CmdL=...) at apt-get.cc:1945
#8  0xf7ebc847 in CommandLine::DispatchArg (this=0xffffcde4, Map=0xffffcdf0, NoMatch=true) at contrib/cmndline.cc:339
#9  0x08075712 in main (argc=3, argv=0xffffd264) at apt-get.cc:3622



-- System Information:
Debian Release: 7.6
  APT prefers proposed-updates
  APT policy: (990, 'proposed-updates'), (990, 'stable'), (500, 'stable-updates')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.2.60 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2014.1~deb7u1
ii  gnupg                   1.4.12-7+deb7u6
ii  libapt-pkg4.12          0.9.7.9+deb7u6
ii  libc6                   2.13-38+deb7u5
ii  libgcc1                 1:4.7.2-5
ii  libstdc++6              4.7.2-5

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc     <none>
ii  aptitude    0.6.8.2-1
ii  dpkg-dev    1.16.15
ii  python-apt  0.8.8.2
ii  synaptic    0.75.13
ii  xz-utils    5.1.1alpha+20120614-2

-- no debconf information

--- End Message ---
--- Begin Message ---
On Sun, Oct 12, 2014 at 09:12:17PM -0400, Ariel wrote:
> Package: apt
> Version: 0.9.7.9+deb7u6
> Severity: important
> File: /usr/bin/apt-get
> 
> If I try to install libpango-1.0 from testing on a stable system apt-get crashes:
> 
> # apt-get install libpango-1.0-0/testing
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> Segmentation fault (core dumped)
> 
> If I try:
> 
> apt-get -t testing install libpango-1.0-0
> 
> It doesn't crash but does try for an enormous amount of changes.
> 
> It also doesn't crash on other packages.
> 
> Here is a backtrace with debugging symbols:
> 
> LD_LIBRARY_PATH=. gdb ./apt-get
> 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 "i486-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /tmp-ram/apt-0.9.7.9+deb7u6/build/bin/apt-get...done.
> (gdb) run install libpango1.0-0/testing
> Starting program: /tmp-ram/apt-0.9.7.9+deb7u6/build/bin/apt-get install libpango1.0-0/testing
> Traceback (most recent call last):
>   File "/usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.17-gdb.py", line 62, in <module>
>     from libstdcxx.v6.printers import register_libstdcxx_printers
> ImportError: No module named libstdcxx.v6.printers
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0xf7ed8bfb in pkgDepCache::AddSizes (this=0x80a0450, Pkg=..., Inverse=true) at depcache.cc:448
> 448              iUsrSize -= P.InstVerIter(*this)->InstalledSize;

Hi, thanks for your bug report. I am closing it, as it seems like
your cache file was broken somehow.

Reason: P.InstVerIter contains an iterator for the InstallVer pointer,
and ->InstalledSize is the same as InstallVer->InstalledSize, and
we check that InstalledSize != NULL.

If you can still reproduce it, please re-open.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
    - If you don't I might ignore you.

--- End Message ---

Reply to: