Package: aptitude Version: 0.7.6-1 Severity: normal Dear Maintainer,
Hi, since 0.7.6-1 I consistently get a segfault when I press Shift-C to view a changelog. A couple people reported here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806595 that they don't get this crash on amd64, and one of them said that they do get the crash on x86 (like me). Here's a backtrace: #0 0x8011ee6e in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider::_Alloc_hider (__a=..., __dat=<optimized out>, this=<optimized out>) at /usr/include/c++/5/bits/basic_string.h:109 #1 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (__str=..., this=0xbfffe734) at /usr/include/c++/5/bits/basic_string.h:399 #2 aptitude::apt::changelog::get_filename[abi:cxx11]() const (this=<optimized out>) at ../../src/generic/apt/changelog_parse.h:229 #3 do_view_changelog (filename="/tmp/aptitude-root.31049:inX5Pb/aptitude-download-T0DKG^77xIW3.iCvfIbO3D5CNdigfit5_1811-fd54-2439-6e19", pkgname="cgpt", curverstr="0~20121212-3") at ../../src/view_changelog.cc:303 #4 0x801212a4 in changelog_callbacks::success (this=0x80d29214, filename="/tmp/aptitude-root.31049:inX5Pb/aptitude-download-T0DKG^77xIW3.iCvfIbO3D5CNdigfit5_1811-fd54-2439-6e19") at ../../src/view_changelog.cc:364 #5 0x8020f068 in aptitude::apt::(anonymous namespace)::changelog_download::success (this=0x818c2014, filename="/tmp/aptitude-root.31049:inX5Pb/aptitude-download-T0DKG^77xIW3.iCvfIbO3D5CNdigfit5_1811-fd54-2439-6e19") at ../../../../src/generic/apt/pkg_changelog.cc:274 #6 0x801e4f36 in sigc::bound_mem_functor1<void, aptitude::download_callbacks, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>::operator() (_A_a1=..., this=0x80d41448) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1856 #7 sigc::adaptor_functor<sigc::bound_mem_functor1<void, aptitude::download_callbacks, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&> >::operator()<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&> ( _A_arg1=..., this=0x80d41444) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:89 #8 sigc::bind_functor<-1, sigc::bound_mem_functor1<void, aptitude::download_callbacks, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator() (this=0x80d41440) at /usr/include/sigc++-2.0/sigc++/adaptors/bind.h:1117 #9 sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::bound_mem_functor1<void, aptitude::download_callbacks, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void>::call_it (rep=0x80d41428) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:108 #10 0x801e5de0 in sigc::slot0<void>::operator() (this=0x80ce834c) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:440 #11 keepalive<aptitude::download_callbacks> (f=...) at ../../../../src/generic/util/post_thunk.h:43 #12 0x801e4fb2 in sigc::pointer_functor2<sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, std::shared_ptr<aptitude::download_callbacks> const&, void>::operator() (_A_a2=..., _A_a1=..., this=0x80ce8348) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:147 #13 sigc::adaptor_functor<sigc::pointer_functor2<sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, std::shared_ptr<aptitude::download_callbacks> const&, void> >::operator()<sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>&, std::shared_ptr<aptitude::download_callbacks>&> (_A_arg2=..., _A_arg1=..., this=0x80ce8344) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:108 #14 sigc::bind_functor<-1, sigc::pointer_functor2<sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, std::shared_ptr<aptitude::download_callbacks> const&, void>, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, std::shared_ptr<aptitude::download_callbacks>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator() ( this=0x80ce8340) at /usr/include/sigc++-2.0/sigc++/adaptors/bind.h:1333 #15 sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::pointer_functor2<sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, std::shared_ptr<aptitude::download_callbacks> const&, void>, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, std::shared_ptr<aptitude::download_callbacks>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void>::call_it (rep=0x80ce8328) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:108 #16 0x80118443 in sigc::slot0<void>::operator() (this=0xbfffedc4) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:440 #17 aptitude::safe_slot_event::dispatch (this=0xb1f47158) at ../../src/safe_slot_event.h:40 #18 0xb7d1fbef in cwidget::toplevel::mainloop(int) () from /usr/lib/i386-linux-gnu/libcwidget.so.3 #19 0x8011408c in ui_main () at ../../src/ui.cc:2963 #20 0x80030e9d in main (argc=1, argv=0xbffff704) at ../../src/main.cc:1382 and bt full: #0 0x8011ee6e in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider::_Alloc_hider (__a=..., __dat=<optimized out>, this=<optimized out>) at /usr/include/c++/5/bits/basic_string.h:109 No locals. #1 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (__str=..., this=0xbfffe734) at /usr/include/c++/5/bits/basic_string.h:399 No locals. #2 aptitude::apt::changelog::get_filename[abi:cxx11]() const (this=<optimized out>) at ../../src/generic/apt/changelog_parse.h:229 No locals. #3 do_view_changelog (filename="/tmp/aptitude-root.31049:inX5Pb/aptitude-download-T0DKG^77xIW3.iCvfIbO3D5CNdigfit5_1811-fd54-2439-6e19", pkgname="cgpt", curverstr="0~20121212-3") at ../../src/view_changelog.cc:303 cs = <optimized out> s = <optimized out> menulabel = "Changelog of cgpt" tablabel = "cgpt changes" desclabel = "View the list of changes made to this Debian package." changelog = {ref = 0x0} f = 0x0 t = {ref = 0x818c7b10} #4 0x801212a4 in changelog_callbacks::success (this=0x80d29214, filename="/tmp/aptitude-root.31049:inX5Pb/aptitude-download-T0DKG^77xIW3.iCvfIbO3D5CNdigfit5_1811-fd54-2439-6e19") at ../../src/view_changelog.cc:364 No locals. #5 0x8020f068 in aptitude::apt::(anonymous namespace)::changelog_download::success (this=0x818c2014, filename="/tmp/aptitude-root.31049:inX5Pb/aptitude-download-T0DKG^77xIW3.iCvfIbO3D5CNdigfit5_1811-fd54-2439-6e19") at ../../../../src/generic/apt/pkg_changelog.cc:274 l = {parent = @0xb7998000, locked = false} #6 0x801e4f36 in sigc::bound_mem_functor1<void, aptitude::download_callbacks, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>::operator() (_A_a1=..., this=0x80d41448) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1856 No locals. #7 sigc::adaptor_functor<sigc::bound_mem_functor1<void, aptitude::download_callbacks, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&> >::operator()<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&> ( _A_arg1=..., this=0x80d41444) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:89 No locals. #8 sigc::bind_functor<-1, sigc::bound_mem_functor1<void, aptitude::download_callbacks, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator() (this=0x80d41440) at /usr/include/sigc++-2.0/sigc++/adaptors/bind.h:1117 No locals. #9 sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::bound_mem_functor1<void, aptitude::download_callbacks, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void>::call_it (rep=0x80d41428) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:108 typed_rep = 0x80d41428 #10 0x801e5de0 in sigc::slot0<void>::operator() (this=0x80ce834c) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:440 No locals. #11 keepalive<aptitude::download_callbacks> (f=...) at ../../../../src/generic/util/post_thunk.h:43 No locals. #12 0x801e4fb2 in sigc::pointer_functor2<sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, std::shared_ptr<aptitude::download_callbacks> const&, void>::operator() (_A_a2=..., _A_a1=..., this=0x80ce8348) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:147 No locals. #13 sigc::adaptor_functor<sigc::pointer_functor2<sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, std::shared_ptr<aptitude::download_callbacks> const&, void> >::operator()<sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>&, std::shared_ptr<aptitude::download_callbacks>&> (_A_arg2=..., _A_arg1=..., this=0x80ce8344) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:108 No locals. #14 sigc::bind_functor<-1, sigc::pointer_functor2<sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, std::shared_ptr<aptitude::download_callbacks> const&, void>, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, std::shared_ptr<aptitude::download_callbacks>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator() ( this=0x80ce8340) at /usr/include/sigc++-2.0/sigc++/adaptors/bind.h:1333 No locals. #15 sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::pointer_functor2<sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, std::shared_ptr<aptitude::download_callbacks> const&, void>, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, std::shared_ptr<aptitude::download_callbacks>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void>::call_it (rep=0x80ce8328) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:108 typed_rep = 0x80ce8328 #16 0x80118443 in sigc::slot0<void>::operator() (this=0xbfffedc4) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:440 No locals. #17 aptitude::safe_slot_event::dispatch (this=0xb1f47158) at ../../src/safe_slot_event.h:40 No locals. #18 0xb7d1fbef in cwidget::toplevel::mainloop(int) () from /usr/lib/i386-linux-gnu/libcwidget.so.3 No symbol table info available. #19 0x8011408c in ui_main () at ../../src/ui.cc:2963 clearer = {<No data fields>} #20 0x80030e9d in main (argc=1, argv=0xbffff704) at ../../src/main.cc:1382 p = {ref = 0x0} rootdir = <optimized out> status_fname = <optimized out> package_display_format = "%c%a%M %p# - %d#" version_display_format = "%c%a%M %p# %t %i" group_by_mode_string = "auto" show_package_names_mode_string = "auto" sort_policy = "name,version" width = "" log_file = "" simulate = <optimized out> download_only = <optimized out> arch_only = <optimized out> update_only = <optimized out> install_only = <optimized out> queue_only = <optimized out> autoclean_only = <optimized out> clean_only = <optimized out> assume_yes = <optimized out> fix_broken = <optimized out> safe_resolver_no_new_installs = <optimized out> safe_resolver_no_new_upgrades = <optimized out> safe_resolver_show_resolver_actions = <optimized out> resolver_mode = <optimized out> disable_columns = <optimized out> showvers = <optimized out> showdeps = <optimized out> showsize = <optimized out> showwhy = <optimized out> show_why_summary_mode = "no-summary" visual_preview = <optimized out> always_prompt = <optimized out> verbose = <optimized out> seen_quiet = <optimized out> quiet = <optimized out> user_tags = std::vector of length 0, capacity 0 curopt = <optimized out> group_by_mode = <optimized out> show_package_names_mode = <optimized out> why_display_mode = <optimized out> debug_search = <optimized out> curr_quiet = <optimized out> I hope that helps. Please let me know if I can do more info gathering or something. Thanks! -- Jason -- Package-specific info: Terminal: st-256color $DISPLAY is set. which aptitude: /usr/bin/aptitude aptitude version information: aptitude 0.7.6 Compiler: g++ 5.3.1 20160220 Compiled against: apt version 5.0.0 NCurses version 6.0 libsigc++ version: 2.6.2 Gtk+ support disabled. Qt support disabled. Current library versions: NCurses version: ncurses 6.0.20160213 cwidget version: 0.5.17 Apt version: 5.0.0 aptitude linkage: linux-gate.so.1 (0xb7764000) libapt-pkg.so.5.0 => /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0 (0xb71e7000) libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xb71b2000) libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xb718d000) libsigc-2.0.so.0 => /usr/lib/i386-linux-gnu/libsigc-2.0.so.0 (0xb7186000) libcwidget.so.3 => /usr/lib/i386-linux-gnu/libcwidget.so.3 (0xb7083000) libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xb6fa1000) libboost_iostreams.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_iostreams.so.1.58.0 (0xb6f88000) libboost_filesystem.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_filesystem.so.1.58.0 (0xb6f6e000) libboost_system.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_system.so.1.58.0 (0xb6f69000) libxapian.so.22 => /usr/lib/i386-linux-gnu/sse2/libxapian.so.22 (0xb6d5f000) libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb6d42000) libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6bd2000) libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb6b84000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6b67000) libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb69af000) libutil.so.1 => /lib/i386-linux-gnu/i686/cmov/libutil.so.1 (0xb69ab000) libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xb69a6000) libresolv.so.2 => /lib/i386-linux-gnu/i686/cmov/libresolv.so.2 (0xb698d000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb6970000) libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xb695d000) liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xb6934000) liblz4.so.1 => /usr/lib/i386-linux-gnu/liblz4.so.1 (0xb6921000) librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb6917000) libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb6911000) /lib/ld-linux.so.2 (0x800c1000) -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 4.3.0-1-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages aptitude depends on: ii aptitude-common 0.7.6-1 ii libapt-pkg5.0 1.2.3 ii libboost-filesystem1.58.0 1.58.0+dfsg-5+b1 ii libboost-iostreams1.58.0 1.58.0+dfsg-5+b1 ii libboost-system1.58.0 1.58.0+dfsg-5+b1 ii libc6 2.21-9 ii libcwidget3v5 0.5.17-4+b1 ii libgcc1 1:5.3.1-9 ii libncursesw5 6.0+20160213-1 ii libsigc++-2.0-0v5 2.6.2-1 ii libsqlite3-0 3.11.0-1 ii libstdc++6 5.3.1-9 ii libtinfo5 6.0+20160213-1 ii libxapian22v5 1.2.22-1 Versions of packages aptitude recommends: pn aptitude-doc-en | aptitude-doc <none> pn libparse-debianchangelog-perl <none> ii sensible-utils 0.0.9 Versions of packages aptitude suggests: pn apt-xapian-index <none> pn debtags <none> ii tasksel 3.34 -- no debconf information