[Aptitude-devel] Bug#673756: aptitude: Reproducible segmentation fault trying a routine upgrade os a sid system

Laurent Bonnaud Laurent.Bonnaud at inpg.fr
Mon May 21 09:04:33 UTC 2012


Package: aptitude
Version: 0.6.7-1
Severity: important


Hi,

here is the problem:

# gdb aptitude
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 /usr/bin/aptitude...Reading symbols from /usr/lib/debug/.build-id/97/69b4c55215260a64d888e5305fe18d45a0df27.debug...done.
done.
(gdb) run upgrade
Starting program: /usr/bin/aptitude upgrade
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[New Thread 0xb5519b70 (LWP 8786)]       
Resolving dependencies...
open: 748; closed: 484; defer: 138; conflict: 2                                                                  oThe following NEW packages will be installed:
  auto-multiple-choice-common{a} gcr{a} gir1.2-gck-1{a} gir1.2-gcr-3{a} imvirt-helper{a} libbobcat3{a} 
  libctemplate2{a} libgzstream-tulip-3.7.0{a} libindicator7{a} libogdf-tulip-3.7.0{a} 
  libroar-plugins-universal{a} libsratom-0-0{a} libtulip-3.7{a} libtulip-ogdf-3.7{a} libtulip-ogl-3.7{a} 
  libtulip-qt4-3.7{a} libxs2{a} libzrtpcpp2{a} nagios-plugins-common{a} pear-symfony-project-channel{a} 
  php-codecoverage{a} php-symfony-yaml{a} php-timer{a} php5-xdebug{a} phpunit-mock-object{a} roarclients{a} 
  ruby-activemodel-3.2{a} ruby-activesupport-3.2{a} ruby-fssm{a} ruby-krb5-auth{a} 
  ruby-mixlib-authentication{a} ruby-opengl{a} ruby-openid{a} ruby-rb-inotify{a} ruby-usb{a} 
  ruby-validatable{a} 
The following packages will be upgraded:
  auto-multiple-choice bisonc++ flexc++ gnome-keyring imvirt libbobcat-dev libctemplate-dev libfssm-ruby 
  libfssm-ruby1.8 libfssm-ruby1.9.1 libgck-1-0 libgck-1-dev libgcr-3-1 libgcr-3-dev libimvirt-perl 
  libindicator-tools libkrb5-ruby1.9.1 liblilv-0-0 libmixlib-authentication-ruby1.8 libopengl-ruby 
  libopengl-ruby1.9.1 libopenid-ruby librb-inotify-ruby1.8 librb-inotify-ruby1.9.1 libroar-compat2 libroar2 
  libtulip-dev libusb-ruby1.9.1 libvalidatable-ruby1.9.1 libxs-dev libzrtpcpp-dev nagios-plugins 
  nagios-plugins-basic phpunit prosody psi-plus psi-plus-common psi-plus-plugins psi-plus-webkit 
  python-requests roaraudio ruby-activerecord seahorse sflphone-daemon sflphone-data sflphone-gnome tulip 
  valgrind 
The following partially installed packages will be configured:
  gettext-el rdtool-elisp tdiary-mode verbiste-el 
The following packages are RECOMMENDED but will NOT be installed:
  php-invoker phpunit-story psi-plus-sounds python-oauthlib tulip-help valgrind-dbg 
48 packages upgraded, 36 newly installed, 0 to remove and 57 not upgraded.
Need to get 0 B/50.7 MB of archives. After unpacking 17.0 MB will be used.
Do you want to continue? [Y/n/?] 
                                         
Program received signal SIGSEGV, Segmentation fault.
0xb7f0a7b3 in debVersioningSystem::CmpFragment(char const*, char const*, char const*, char const*) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
(gdb) bt
#0  0xb7f0a7b3 in debVersioningSystem::CmpFragment(char const*, char const*, char const*, char const*) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#1  0xb7f0ab00 in debVersioningSystem::DoCmpVersion(char const*, char const*, char const*, char const*) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#2  0xb7f0a6d9 in debVersioningSystem::CheckDep(char const*, int, char const*) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#3  0xb7e76b89 in pkgCache::DepIterator::AllTargets() const () from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#4  0xb7e8fa00 in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#5  0xb7e8f69e in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) ()
   from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12

The rest of the stack is a seemingly endless repetition of the
pkgPackageManager::SmartUnPack method call.

Unfortunately libapt-pkg has no -dbg package.


-- Package-specific info:
Terminal: xterm
$DISPLAY not set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.6.7 compiled at May  5 2012 03:07:17
Compiler: g++ 4.6.3
Compiled against:
  apt version 4.12.0
  NCurses version 5.9
  libsigc++ version: 2.2.10
  Ept support enabled.
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 5.9.20110404
  cwidget version: 0.5.16
  Apt version: 4.12.0

aptitude linkage:
	linux-gate.so.1 =>  (0xb778b000)
	libapt-pkg.so.4.12 => /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12 (0xb71b4000)
	libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xb7182000)
	libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xb7161000)
	libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb715c000)
	libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xb705b000)
	libept.so.1.0.5.4.12 => /usr/lib/libept.so.1.0.5.4.12 (0xb700b000)
	libxapian.so.22 => /usr/lib/sse2/libxapian.so.22 (0xb6e22000)
	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb6e08000)
	libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xb6d58000)
	libboost_iostreams.so.1.49.0 => /usr/lib/libboost_iostreams.so.1.49.0 (0xb6d41000)
	libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb6d28000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6c3c000)
	libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb6c15000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6bf8000)
	libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb6a9b000)
	libutil.so.1 => /lib/i386-linux-gnu/i686/cmov/libutil.so.1 (0xb6a97000)
	libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xb6a93000)
	libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xb6a82000)
	libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb6a7c000)
	librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb6a73000)
	/lib/ld-linux.so.2 (0xb778c000)

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-rt-686-pae (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  libapt-pkg4.12            0.9.3
ii  libboost-iostreams1.49.0  1.49.0-3
ii  libc6                     2.13-32
ii  libcwidget3               0.5.16-3.2
ii  libept1.4.12              1.0.6.1
ii  libgcc1                   1:4.7.0-8
ii  libncursesw5              5.9-7
ii  libsigc++-2.0-0c2a        2.2.10-0.1
ii  libsqlite3-0              3.7.12-1
ii  libstdc++6                4.7.0-8
ii  libtinfo5                 5.9-7
ii  libxapian22               1.2.10-2
ii  zlib1g                    1:1.2.7.dfsg-5

Versions of packages aptitude recommends:
ii  apt-xapian-index                0.45
ii  aptitude-doc-en [aptitude-doc]  0.6.7-1
ii  aptitude-doc-fi [aptitude-doc]  0.6.7-1
ii  aptitude-doc-fr [aptitude-doc]  0.6.7-1
ii  libparse-debianchangelog-perl   1.2.0-1
ii  sensible-utils                  0.0.7

Versions of packages aptitude suggests:
ii  debtags  1.9+b1
ii  tasksel  3.09

-- no debconf information





More information about the Aptitude-devel mailing list