Package: aptitude Version: 0.6.3-3 Severity: important If I invoke aptitude on this machine only (well, KVM virtual machine actually, but aptitude is fine on other KVM virtual machines), type forward slash (search), then type tilde (~), aptitude promptly crashes with SIGABRT.
Installing aptitude-dbg and running with gdb gives me an error message: aptitude: /usr/include/boost/smart_ptr/scoped_ptr.hpp:91: T& boost::scoped_ptr<T>::operator*() const [with T = Xapian::Database]: Assertion `px != 0' failed. apt-xapian-index is not installed on this machine. Below is bt full: Script started on Mon 09 Aug 2010 10:13:12 AM EDT GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 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/aptitude...Reading symbols from /usr/lib/debug/usr/bin/aptitude-curses...done. (no debugging symbols found)...done. Attaching to program: /usr/bin/aptitude, process 19474 Reading symbols from /usr/lib/libapt-pkg-libc6.9-6.so.4.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libapt-pkg-libc6.9-6.so.4.8 Reading symbols from /lib/libncursesw.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libncursesw.so.5 Reading symbols from /usr/lib/libsigc-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libsigc-2.0.so.0 Reading symbols from /usr/lib/libcwidget.so.3...Reading symbols from /usr/lib/debug/usr/lib/libcwidget.so.3.0.0...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/libcwidget.so.3 Reading symbols from /usr/lib/libept.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libept.so.1 Reading symbols from /usr/lib/libxapian.so.15...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libxapian.so.15 Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /usr/lib/libsqlite3.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libsqlite3.so.0 Reading symbols from /usr/lib/libboost_iostreams.so.1.42.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libboost_iostreams.so.1.42.0 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. [Thread debugging using libthread_db enabled] [New Thread 0x7f951daee710 (LWP 19478)] [New Thread 0x7f951fe7c710 (LWP 19477)] [New Thread 0x7f952067d710 (LWP 19476)] [New Thread 0x7f9520e7e710 (LWP 19475)] Loaded symbols for /lib/libpthread.so.0 Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/libutil.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libutil.so.1 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libbz2.so.1.0...(no debugging symbols found)...done. Loaded symbols for /lib/libbz2.so.1.0 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 0x00007f95221b616c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 (gdb) c Continuing. Program received signal SIGABRT, Aborted. 0x00007f95216d0175 in raise () from /lib/libc.so.6 (gdb) bt full #0 0x00007f95216d0175 in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00007f95216d2f80 in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00007f95216c92b1 in __assert_fail () from /lib/libc.so.6 No symbol table info available. #3 0x000000000067b469 in aptitude::matching::search_cache::implementation::term_matches(pkgCache::PkgIterator const&, std::string const&, bool) () No symbol table info available. #4 0x000000000066ea4c in evaluate_atomic (p=<value optimized out>, target=<value optimized out>, the_stack=<value optimized out>, search_info=<value optimized out>, cache=<value optimized out>, records=..., debug=255) at ../../../../../src/generic/apt/matching/match.cc:1500 pkg = {Pkg = 0x7f951e8ad590, Owner = 0x28a5eb0, HashIndex = 0} __PRETTY_FUNCTION__ = "cwidget::util::ref_ptr<aptitude::matching::match> aptitude::matching::<unnamed>::evaluate_atomic(const cwidget::util::ref_ptr<aptitude::matching::pattern>&, const aptitude::matching::matchable&, aptit"... #5 0x000000000067375e in evaluate_structural (mode=<value optimized out>, p=<value optimized out>, the_stack=<value optimized out>, search_info=<value optimized out>, pool=..., cache=..., records=..., debug=false) at ../../../../../src/generic/apt/matching/match.cc:1960 m = {ref = 0x7fff85ddbf20} ---Type <return> to continue, or q <return> to quit--- matches = {<std::_Vector_base<std::pair<aptitude::matching::matchable, cwidget::util::ref_ptr<aptitude::matching::match> >, std::allocator<std::pair<aptitude::matching::matchable, cwidget::util::ref_ptr<aptitude::matching::match> > > >> = { _M_impl = {<std::allocator<std::pair<aptitude::matching::matchable, cwidget::util::ref_ptr<aptitude::matching::match> > >> = {<__gnu_cxx::new_allocator<std::pair<aptitude::matching::matchable, cwidget::util::ref_ptr<aptitude::matching::match> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>} #6 0x00000000006733f0 in evaluate_structural (mode=<value optimized out>, p=<value optimized out>, the_stack=<value optimized out>, search_info=<value optimized out>, pool=..., cache=..., records=..., debug=false) at ../../../../../src/generic/apt/matching/match.cc:1655 m = {ref = 0x29e9a00} sub_patterns = @0x28a5e60 sub_matches = {<std::_Vector_base<cwidget::util::ref_ptr<aptitude::matching::structural_match>, std::allocator<cwidget::util::ref_ptr<aptitude::matching::structural_match> > >> = { _M_impl = {<std::allocator<cwidget::util::ref_ptr<aptitude::matching::structural_match> >> = {<__gnu_cxx::new_allocator<cwidget::util::ref_ptr<aptitude::matching::structural_match> >> = {<No data fields>}, <No data fields>}, _M_start = 0x2a1aa60, _M_finish = 0x2a1aa68, _M_end_of_storage = 0x2a1aa68}}, <No data fields>} ---Type <return> to continue, or q <return> to quit--- #7 0x0000000000674469 in aptitude::matching::get_match ( p=<value optimized out>, pkg=<value optimized out>, ver=<value optimized out>, search_info=..., cache=<value optimized out>, records=..., debug=<value optimized out>) at ../../../../../src/generic/apt/matching/match.cc:2790 __PRETTY_FUNCTION__ = "cwidget::util::ref_ptr<aptitude::matching::structural_match> aptitude::matching::get_match(const cwidget::util::ref_ptr<aptitude::matching::pattern>&, const pkgCache::PkgIterator&, const pkgCache::Ver"... initial_pool = {<std::_Vector_base<aptitude::matching::matchable, std::allocator<aptitude::matching::matchable> >> = { _M_impl = {<std::allocator<aptitude::matching::matchable>> = {<__gnu_cxx::new_allocator<aptitude::matching::matchable>> = {<No data fields>}, <No data fields>}, _M_start = 0x28a7950, _M_finish = 0x28a7960, _M_end_of_storage = 0x28a7960}}, <No data fields>} st = {<std::_Vector_base<std::vector<aptitude::matching::matchable, std::allocator<aptitude::matching::matchable> > const*, std::allocator<std::vector<aptitude::matching::matchable, std::allocator<aptitude::matching::matchable> > const*> >> = { _M_impl = {<std::allocator<std::vector<aptitude::matching::matchable, std::allocator<aptitude::matching::matchable> > const*>> = {<__gnu_cxx::new_allocator<std::vector<aptitude::matching::matchable, std::allocator<aptitude::matching::matchable> > const*>> = {<No data fields>}, <No data fields>}, _M_start = 0x35c8a30, _M_finish = 0x35c8a38, ---Type <return> to continue, or q <return> to quit--- _M_end_of_storage = 0x35c8a38}}, <No data fields>} search_info_imp = {ref = 0x28a5c90} #8 0x0000000000674b46 in aptitude::matching::get_match (p=..., pkg=..., search_info=..., cache=<value optimized out>, records=<value optimized out>, debug=<value optimized out>) at ../../../../../src/generic/apt/matching/match.cc:2803 No locals. #9 0x00000000004745e5 in pattern_search::operator()(cwidget::widgets::treeitem const&) () No symbol table info available. #10 0x00007f95230d407b in cwidget::widgets::tree::search_for (this=0x28a15c0, matches=...) at tree.cc:854 curr = {curr = 0x37109a0, ignore_collapsed = true} start = {curr = 0x2af1260, ignore_collapsed = true} #11 0x0000000000472feb in menu_tree::do_incsearch (this=0x28a15c0, s=<value optimized out>, backward=false) at ../../src/menu_tree.cc:392 searcher = {<cwidget::widgets::tree_search_func> = { _vptr.tree_search_func = 0x6a1b10}, pattern = {ref = 0x28a5e00}, cache = {ref = 0x28a5c90}} p = {ref = 0x28a5e00} #12 0x000000000047439a in sigc::internal::slot_call1<sigc::bind_functor<-1, sigc::bound_mem_functor2<void, menu_tree, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, bool>, bool, sigc::nil, sigc::nil, sigc::---Type <return> to continue, or q <return> to quit--- nil, sigc::nil, sigc::nil, sigc::nil>, void, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >::call_it(sigc::internal::slot_rep*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) () No symbol table info available. #13 0x00007f95230a0b4d in sigc::internal::signal_emit1<void, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, sigc::nil>::emit (this=<value optimized out>, _A_a1=...) at /usr/include/sigc++-2.0/sigc++/signal.h:1010 exec = {sig_ = 0x2a850a0} slots = {slots_ = @0x2a850a8, placeholder = {_M_node = 0x289f8a0}} #14 sigc::signal1<void, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, sigc::nil>::emit (this=<value optimized out>, _A_a1=...) at /usr/include/sigc++-2.0/sigc++/signal.h:2777 No locals. #15 sigc::signal1<void, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, sigc::nil>::operator() (this=<value optimized out>, _A_a1=...) at /usr/include/sigc++-2.0/sigc++/signal.h:2785 No locals. #16 0x00007f95230a065b in cwidget::widgets::editline::handle_key ( this=0x28a59f0, k=...) at editline.cc:423 tmpref = {ref = 0x28a59f0} clear_on_this_edit = false ---Type <return> to continue, or q <return> to quit--- #17 0x00007f95230d545a in cwidget::widgets::widget::dispatch_key ( this=0x28a59f0, k=...) at widget.cc:267 tmpref = {ref = 0x28a59f0} rval = false #18 0x00007f95230c92d2 in cwidget::widgets::table::handle_key (this=0x29e7970, k=...) at table.cc:576 w = {ref = 0x28a59f0} tmpref = {ref = 0x29e7970} #19 0x00007f95230d545a in cwidget::widgets::widget::dispatch_key ( this=0x29e7970, k=...) at widget.cc:267 tmpref = {ref = 0x29e7970} rval = false #20 0x00007f95230bb0de in cwidget::widgets::passthrough::handle_key ( this=0x3710e90, k=...) at passthrough.cc:98 tmpref = {ref = 0x3710e90} w = {ref = 0x29e7970} #21 0x00007f95230d545a in cwidget::widgets::widget::dispatch_key ( this=0x3710e90, k=...) at widget.cc:267 tmpref = {ref = 0x3710e90} rval = false #22 0x00007f95230bb0de in cwidget::widgets::passthrough::handle_key ( this=0x28a3f40, k=...) at passthrough.cc:98 tmpref = {ref = 0x28a3f40} ---Type <return> to continue, or q <return> to quit--- w = {ref = 0x3710e90} #23 0x00007f95230d545a in cwidget::widgets::widget::dispatch_key ( this=0x28a3f40, k=...) at widget.cc:267 tmpref = {ref = 0x28a3f40} rval = false #24 0x00007f95230bb0de in cwidget::widgets::passthrough::handle_key ( this=0x2893c20, k=...) at passthrough.cc:98 tmpref = {ref = 0x2893c20} w = {ref = 0x28a3f40} #25 0x00007f95230d545a in cwidget::widgets::widget::dispatch_key ( this=0x2893c20, k=...) at widget.cc:267 tmpref = {ref = 0x2893c20} rval = false #26 0x00007f95230aab6d in cwidget::widgets::menubar::handle_key ( this=0x2882890, k=...) at menubar.cc:641 tmpref = {ref = 0x2882890} #27 0x00007f95230d545a in cwidget::widgets::widget::dispatch_key ( this=0x2882890, k=...) at widget.cc:267 tmpref = {ref = 0x2882890} rval = false #28 0x00007f9523089787 in cwidget::toplevel::input_thread::get_input_event::dispatch() () from /usr/lib/libcwidget.so.3 No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #29 0x00007f952307b12a in cwidget::toplevel::mainloop ( synch=<value optimized out>) at toplevel.cc:1168 ev = 0x3176dd0 main_level = 1 l = {parent = @0x7f95232faa20, locked = true} #30 0x00000000004c9475 in ui_main () at ../../src/ui.cc:2852 clearer = {<No data fields>} #31 0x0000000000422cdd in main (argc=1, argv=<value optimized out>) at ../../src/main.cc:1257 p = {ref = 0x0} rootdir = <value optimized out> safe_resolver_show_resolver_actions = <value optimized out> showsize = <value optimized out> seen_quiet = false showvers = <value optimized out> why_display_mode = aptitude::why::no_summary status_fname = 0x0 download_only = false arch_only = <value optimized out> assume_yes = false log_file = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x971d98 ""}} ---Type <return> to continue, or q <return> to quit--- showdeps = <value optimized out> sort_policy = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x27f1038 "name,version"}} install_only = false clean_only = false safe_resolver_no_new_upgrades = <value optimized out> user_tags = {<std::_Vector_base<aptitude::cmdline::tag_application, std::allocator<aptitude::cmdline::tag_application> >> = { _M_impl = {<std::allocator<aptitude::cmdline::tag_application>> = {<__gnu_cxx::new_allocator<aptitude::cmdline::tag_application>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>} show_package_names_mode_string = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x27f1008 "auto"}} update_only = false autoclean_only = false visual_preview = <value optimized out> always_prompt = <value optimized out> verbose = 0 queue_only = <value optimized out> showwhy = <value optimized out> ---Type <return> to continue, or q <return> to quit--- show_why_summary_mode = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x27fcff8 "no-summary"}} group_by_mode = group_by_auto debug_search = false group_by_mode_string = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x27f8828 "auto"}} width = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x971d98 ""}} resolver_mode = resolver_mode_default curopt = <value optimized out> simulate = <value optimized out> show_package_names_mode = show_package_names_auto package_display_format = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x27f0fc8 "%c%a%M %p# - %d#"}} version_display_format = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x27f8898 "%c%a%M %p# %t %i"}} ---Type <return> to continue, or q <return> to quit--- fix_broken = <value optimized out> safe_resolver_no_new_installs = <value optimized out> disable_columns = false quiet = 0 (gdb) kill Kill the program being debugged? (y or n) yes (gdb) quit Script done on Mon 09 Aug 2010 10:13:36 AM EDT -- Package-specific info: aptitude 0.6.3 compiled at Jul 10 2010 21:00:20 Compiler: g++ 4.4.4 Compiled against: apt version 4.8.0 NCurses version 5.7 libsigc++ version: 2.2.4.2 Ept support enabled. Gtk+ support disabled. Current library versions: NCurses version: ncurses 5.7.20100313 cwidget version: 0.5.16 Apt version: 4.8.0 linux-vdso.so.1 => (0x00007fff431ac000) libapt-pkg-libc6.9-6.so.4.8 => /usr/lib/libapt-pkg-libc6.9-6.so.4.8 (0x00007f0a7b7e7000) libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f0a7b594000) libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f0a7b38e000) libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f0a7b0c2000) libept.so.1 => /usr/lib/libept.so.1 (0x00007f0a7ae70000) libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007f0a7ab1b000) libz.so.1 => /usr/lib/libz.so.1 (0x00007f0a7a904000) libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f0a7a674000) libboost_iostreams.so.1.42.0 => /usr/lib/libboost_iostreams.so.1.42.0 (0x00007f0a7a458000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f0a7a23c000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f0a79f28000) libm.so.6 => /lib/libm.so.6 (0x00007f0a79ca5000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f0a79a8f000) libc.so.6 => /lib/libc.so.6 (0x00007f0a7972e000) libutil.so.1 => /lib/libutil.so.1 (0x00007f0a7952a000) libdl.so.2 => /lib/libdl.so.2 (0x00007f0a79326000) libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007f0a79115000) librt.so.1 => /lib/librt.so.1 (0x00007f0a78f0d000) /lib64/ld-linux-x86-64.so.2 (0x00007f0a7baba000) Terminal: xterm $DISPLAY not set. `which aptitude`: /usr/bin/aptitude aptitude version information: aptitude linkage: -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (150, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages aptitude depends on: ii apt [libapt-pkg-libc6.9 0.7.25.3 Advanced front-end for dpkg ii libboost-iostreams1.42. 1.42.0-3 Boost.Iostreams Library ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii libcwidget3 0.5.16-3 high-level terminal interface libr ii libept1 1.0.3 High-level library for managing De ii libgcc1 1:4.4.4-8 GCC support library ii libncursesw5 5.7+20100313-2 shared libraries for terminal hand ii libsigc++-2.0-0c2a 2.2.4.2-1 type-safe Signal Framework for C++ ii libsqlite3-0 3.6.23.1-4 SQLite 3 shared library ii libstdc++6 4.4.4-8 The GNU Standard C++ Library v3 ii libxapian15 1.0.20-2 Search engine library ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages aptitude recommends: pn apt-xapian-index <none> (no description available) pn aptitude-doc-en | aptitude-do <none> (no description available) pn libparse-debianchangelog-perl <none> (no description available) ii sensible-utils 0.0.4 Utilities for sensible alternative Versions of packages aptitude suggests: pn debtags <none> (no description available) ii tasksel 2.81 Tool for selecting tasks for insta -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org