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

Bug#734142: aptitude crash



I'm also experiencing this bug.  With GDB, i see the infinite loop

#15868 0x00007ffff7b3a8dd in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12

I'm trying to upgrade modemmanager.


# gdb apt-get
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1)
Copyright (C) 2013 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 install modemmanager
Starting program: /usr/bin/apt-get install modemmanager
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libmbim-glib0 libmm-glib0 libpam-systemd libqmi-glib0 network-manager network-manager-pptp ppp systemd systemd-sysv sysvinit
Suggested packages:
  systemd-ui
The following NEW packages will be installed:
libmbim-glib0 libmm-glib0 libpam-systemd libqmi-glib0 systemd systemd-sysv
The following packages will be upgraded:
  modemmanager network-manager network-manager-pptp ppp sysvinit
5 upgraded, 6 newly installed, 0 to remove and 71 not upgraded.
Need to get 0 B/3,678 kB of archives.
After this operation, 8,742 kB of additional disk space will be used.
Do you want to continue? [Y/n]


Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6cfb9cc in _int_malloc (av=0x7ffff7026620 <main_arena>, bytes=8) at malloc.c:3266
3266    malloc.c: No such file or directory.
(gdb) bt
#0 0x00007ffff6cfb9cc in _int_malloc (av=0x7ffff7026620 <main_arena>, bytes=8) at malloc.c:3266
#1  0x00007ffff6cfde20 in __GI___libc_malloc (bytes=8) at malloc.c:2858
#2 0x00007ffff75a44f8 in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #3 0x00007ffff75a45a9 in operator new[](unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007ffff7b42c0e in pkgCache::DepIterator::AllTargets() const () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 #5 0x00007ffff7b39b2a in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 #6 0x00007ffff7b3a8dd in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 #7 0x00007ffff7b39dff in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 #8 0x00007ffff7b3a8dd in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 #9 0x00007ffff7b39dff in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 #10 0x00007ffff7b3a8dd in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 #11 0x00007ffff7b39dff in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 #12 0x00007ffff7b3a8dd in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 #13 0x00007ffff7b39dff in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12

...


#15877 0x00007ffff7b39dff in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 #15878 0x00007ffff7b3fac0 in pkgPackageManager::OrderInstall() () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 #15879 0x00007ffff7b3ffc0 in pkgPackageManager::DoInstall(int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 #15880 0x00007ffff786612c in InstallPackages(CacheFile&, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0 #15881 0x00007ffff7868708 in DoInstall(CommandLine&) () from /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0 #15882 0x00007ffff7b61032 in CommandLine::DispatchArg(CommandLine::Dispatch*, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12

Brian


Reply to: