[Aptitude-devel] Bug#750560: aptitude: segfault in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int)
Peter Gervai
grin at grin.hu
Wed Jun 4 13:24:11 UTC 2014
Package: aptitude
Version: 0.6.10-1
Severity: important
aptitude segfaults between download and preconfigure phase.
using aptitude-dbg I get a scary strack trace containing 15900 entries, out of which 15880 the following:
#15883 0x00007ffff7b1bf2f in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
Namely the top is:
#0 0x00007ffff5667b55 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff5669e40 in malloc () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff5f10508 in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff5f105b9 in operator new[](unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff7ae011e in pkgCache::DepIterator::AllTargets() const () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#5 0x00007ffff7b1bc5a in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#6 0x00007ffff7b1ca0d in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#7 0x00007ffff7b1bf2f in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#8 0x00007ffff7b1ca0d in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
...then follows a few similar lines until
#15883 0x00007ffff7b1bf2f in pkgPackageManager::SmartUnPack(pkgCache::PkgIterator, bool, int) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#15884 0x00007ffff7b21bf0 in pkgPackageManager::OrderInstall() () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#15885 0x00005555557552fa in DoInstallPreFork (this=<optimized out>) at /usr/include/apt-pkg/packagemanager.h:122
#15886 download_install_manager::finish_pre_dpkg (this=0x555557d67a20, res=(unknown: 4120454688), res at entry=pkgAcquire::Continue)
at ../../../../src/generic/apt/download_install_manager.cc:154
#15887 0x000055555575539f in download_install_manager::finish (this=this at entry=0x555557d67a20, result=result at entry=pkgAcquire::Continue, progress=0x555558493f50, k=...)
at ../../../../src/generic/apt/download_install_manager.cc:258
#15888 0x00005555556a5c89 in ui_download_manager::done (this=0x5555579978b0, t=<optimized out>, res=pkgAcquire::Continue) at ../../src/ui_download_manager.cc:63
#15889 0x000055555560931c in operator() (_A_a2=@0x7fffffffe244: pkgAcquire::Continue, _A_a1=@0x7fffffffe248: 0x555557d684b0, this=0x7fffffffe250)
at /usr/include/sigc++-2.0/sigc++/functors/slot.h:593
#15890 (anonymous namespace)::do_download_complete (t=0x555557d684b0, res=pkgAcquire::Continue, continuation=...) at ../../src/download_thread.cc:220
#15891 0x000055555560db03 in operator() (_A_a3=..., _A_a2=@0x5555563d7ec0: pkgAcquire::Continue, _A_a1=@0x5555563d7eb8: 0x555557d684b0, this=0x5555563d7eb0)
at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:185
#15892 operator()<download_thread*&, pkgAcquire::RunResult&, safe_slot2<void, download_thread*, pkgAcquire::RunResult>&> (_A_arg3=...,
_A_arg2=@0x5555563d7ec0: pkgAcquire::Continue, _A_arg1=@0x5555563d7eb8: 0x555557d684b0, this=0x5555563d7ea8) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:123
#15893 operator() (this=0x5555563d7ea0) at /usr/include/sigc++-2.0/sigc++/adaptors/bind.h:1511
#15894 sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::pointer_functor3<download_thread*, pkgAcquire::RunResult, safe_slot2<void, download_thread*, pkgAcquire::RunResult>, void>, download_thread*, pkgAcquire::RunResult, safe_slot2<void, download_thread*, pkgAcquire::RunResult>, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void>::call_it (
rep=0x5555563d7e70) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#15895 0x00005555556a1655 in operator() (this=0x7fffffffe2c0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:440
#15896 aptitude::safe_slot_event::dispatch (this=<optimized out>) at ../../src/safe_slot_event.h:40
#15897 0x00007ffff7177373 in cwidget::toplevel::mainloop(int) () from /usr/lib/x86_64-linux-gnu/libcwidget.so.3
#15898 0x000055555569df08 in ui_main () at ../../src/ui.cc:2941
#15899 0x00005555555bccc6 in main (argc=1, argv=<optimized out>) at ../../src/main.cc:1322
I can install selected packages but cannot get a large upgrade done.
More information about the Aptitude-devel
mailing list