[Aptitude-devel] Bug#702529: aptitude: segfault when selecting "new view", "by category"
Xavier Brochard
xavier at alternatif.org
Thu Mar 7 20:34:55 UTC 2013
Package: aptitude
Version: 0.6.8.2-1
Severity: normal
Hi,
Aptitude curse crash (segfault) immediately after selecting New view", then "by category" in menu (translated from french, may be not accurate).
Backtrace below.
regards
xavier
-- Package-specific info:
Terminal: xterm
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.6.8.2 compiled at Nov 7 2012 07:08:03
Compiler: g++ 4.7.2
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-vdso.so.1 => (0x00007fff85b20000)
libapt-pkg.so.4.12 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 (0x00007f5a97018000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f5a96de8000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f5a96bbe000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f5a969b9000)
libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f5a966b9000)
libept.so.1.aptpkg4.12 => /usr/lib/libept.so.1.aptpkg4.12 (0x00007f5a96418000)
libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f5a96033000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f5a95e1c000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f5a95b6e000)
libboost_iostreams.so.1.49.0 => /usr/lib/libboost_iostreams.so.1.49.0 (0x00007f5a95b53000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5a95937000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f5a9562f000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5a953ad000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5a95197000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5a94e0c000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f5a94c09000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5a94a05000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f5a947f4000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f5a945ef000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f5a943e6000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5a979aa000)
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages aptitude depends on:
ii aptitude-common 0.6.8.2-1
ii libapt-pkg4.12 0.9.7.7
ii libboost-iostreams1.49.0 1.49.0-3.2
ii libc6 2.13-38
ii libcwidget3 0.5.16-3.4
ii libept1.4.12 1.0.9
ii libgcc1 1:4.7.2-5
ii libncursesw5 5.9-10
ii libsigc++-2.0-0c2a 2.2.10-0.2
ii libsqlite3-0 3.7.15.2-1
ii libstdc++6 4.7.2-5
ii libtinfo5 5.9-10
ii libxapian22 1.2.12-2
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages aptitude recommends:
ii apt-xapian-index 0.45
ii aptitude-doc-fr [aptitude-doc] 0.6.8.2-1
pn libparse-debianchangelog-perl <none>
ii sensible-utils 0.0.7
Versions of packages aptitude suggests:
pn debtags <none>
ii tasksel 3.14+nmu1
-- no debconf information
Backtrace below:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff59423ea in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) btets virtuels (9235)
#0 0x00007ffff59423ea in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x0000555555663523 in do_compare (ver2=..., pkg2=..., ver1=..., pkg1=..., this=0x7fffe8649ba0)
at ../../src/pkg_sortpolicy.cc:128
#2 pkg_sortpolicy_name_impl::compare (this=0x7fffe8649ba0, pkg1=..., ver1=..., pkg2=..., ver2=...)
at ../../src/pkg_sortpolicy.cc:128
#3 0x0000555555663194 in pkg_sortpolicy_wrapper::compare (this=0x7fffffffcac0, item1=0x7fffe801ba00,
item2=0x7fffe801b650) at ../../src/pkg_sortpolicy.cc:118
#4 0x000055555561d029 in pkg_sortpolicy_wrapper::operator() (this=<optimized out>, item1=<optimized out>,
item2=<optimized out>) at ../../src/pkg_sortpolicy.h:83
#5 0x000055555561f6b5 in operator() (item2=<optimized out>, item1=<optimized out>, this=<synthetic pointer>)
at /usr/include/cwidget/widgets/treeitem.h:410
#6 std::list<pkg_tree_node*, std::allocator<pkg_tree_node*> >::merge<cwidget::widgets::sortpolicy_wrapper> (
this=0x7fffffffc580, __x=..., __comp=...) at /usr/include/c++/4.7/bits/list.tcc:339
#7 0x000055555561f7c3 in std::list<pkg_tree_node*, std::allocator<pkg_tree_node*> >::sort<cwidget::widgets::sortpolicy_wrapper> (this=this at entry=0x7fffe9d701d0, __comp=__comp at entry=...) at /usr/include/c++/4.7/bits/list.tcc:451
#8 0x000055555561f8f2 in cwidget::widgets::subtree<pkg_tree_node, cwidget::widgets::tag_sort_policy>::sort (
this=0x7fffe9d701c0, sort_method=...) at /usr/include/cwidget/widgets/subtree.h:175
#9 0x000055555561f8df in cwidget::widgets::subtree<pkg_tree_node, cwidget::widgets::tag_sort_policy>::sort (
this=0x7fffe9aabff0, sort_method=...) at /usr/include/cwidget/widgets/subtree.h:173
#10 0x00005555556687bf in pkg_tree::build_tree (this=this at entry=0x7fffe9aab300, progress=...) ▒
at ../../src/pkg_tree.cc:242 ▒
#11 0x0000555555668d56 in pkg_tree::build_tree (this=this at entry=0x7fffe9aab300) at ../../src/pkg_tree.cc:261 ▒
#12 0x00005555556691d5 in pkg_tree::set_limit (this=0x7fffe9aab300, _limit=...) at ../../src/pkg_tree.cc:278 ▒
#13 0x00005555556add52 in do_new_hier_view (progress=...) at ../../src/ui.cc:946 ▒
#14 0x00005555556ae081 in do_new_hier_view_with_new_bar () at ../../src/ui.cc:962 ▒
#15 0x00007ffff71d67c2 in emit (impl=0x555555c632f0) at /usr/include/sigc++-2.0/sigc++/signal.h:776 ▒
#16 emit (this=<optimized out>) at /usr/include/sigc++-2.0/sigc++/signal.h:2673 ▒
#17 operator() (this=<optimized out>) at /usr/include/sigc++-2.0/sigc++/signal.h:2681 ▒
#18 cwidget::widgets::menu::handle_key (this=<optimized out>, k=...) at menu.cc:453 ▒
#19 0x00007ffff72224a0 in cwidget::widgets::widget::dispatch_key (this=0x555555c61b60, k=...) at widget.cc:267 ▒
#20 0x00007ffff71dfa0f in cwidget::widgets::menubar::handle_key (this=0x555555c4ed00, k=...) at menubar.cc:599 ▒
#21 0x00007ffff72224a0 in cwidget::widgets::widget::dispatch_key (this=0x555555c4ed00, k=...) at widget.cc:267 ▒
#22 0x00007ffff71b1491 in cwidget::toplevel::input_thread::get_input_event::dispatch (this=0x555555c6faf0) ▒
at toplevel.cc:400 ▒
#23 0x00007ffff71aef13 in cwidget::toplevel::mainloop (synch=<optimized out>) at toplevel.cc:1171 ▒
#24 0x00005555556aaa7d in ui_main () at ../../src/ui.cc:2936 ▒
#25 0x00005555555eb0f6 in main (argc=<optimized out>, argv=<optimized out>) at ../../src/main.cc:1307 ▒
(gdb)
More information about the Aptitude-devel
mailing list