Dear Daniel, I can reproduce this since the latest testing migration (0.6.3-3). I've attached a backtrace and a register dump of what happens, when you enter a ~ into the search box (as a side note: calling `aptitude search ~i' on the shell doesn't cause the SIGABRT, only if you're in the NCurses interface, aptitude dies).
If you should need more information, please let me know. Kind regards, Kai Wasserbäch -- Package-specific info: aptitude 0.6.3 compiled at Jul 10 2010 21:52:22 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-gate.so.1 => (0xb786e000) libapt-pkg-libc6.9-6.so.4.8 => /usr/lib/libapt-pkg-libc6.9-6.so.4.8 (0xb7792000) libncursesw.so.5 => /lib/libncursesw.so.5 (0xb774c000) libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb7746000) libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xb7686000) libept.so.1 => /usr/lib/libept.so.1 (0xb7636000) libxapian.so.15 => /usr/lib/libxapian.so.15 (0xb74e5000) libz.so.1 => /usr/lib/libz.so.1 (0xb74d1000) libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb744d000) libboost_iostreams.so.1.42.0 => /usr/lib/libboost_iostreams.so.1.42.0 (0xb7434000) libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb741b000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7325000) libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb72ff000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb72e1000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb719a000) libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb7196000) libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7191000) libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7180000) librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb7177000) /lib/ld-linux.so.2 (0xb786f000) Terminal: xterm $DISPLAY is set. `which aptitude`: /usr/bin/aptitude aptitude version information: aptitude linkage: -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (900, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.34.1-cabal Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash 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-7 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-7 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) ii libparse-debianchangelog-perl 1.1.1-2 parse Debian changelogs and output ii sensible-utils 0.0.4 Utilities for sensible alternative Versions of packages aptitude suggests: ii debtags 1.7.10 Enables support for package tags pn tasksel <none> (no description available) -- no debconf information -- Kai Wasserbäch (Kai Wasserbaech) E-Mail: deb...@carbon-project.org Jabber (debianforum.de): Drizzt URL: http://wiki.debian.org/C%C3%B9ran GnuPG: 0xE1DE59D2 0600 96CE F3C8 E733 E5B6 1587 A309 D76C E1DE 59D2 (http://pgpkeys.pca.dfn.de/pks/lookup?search=0xE1DE59D2&fingerprint=on&hash=on&op=vindex)
Program received signal SIGABRT, Aborted. 0xb77d3424 in __kernel_vsyscall () (gdb) bt #0 0xb77d3424 in __kernel_vsyscall () #1 0xb7129751 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0xb712cb82 in *__GI_abort () at abort.c:92 #3 0xb71228b8 in *__GI___assert_fail (assertion=0x82c1ca0 "px != 0", file=0x82e397c "/usr/include/boost/smart_ptr/scoped_ptr.hpp", line=91, function=0x8311280 "T& boost::scoped_ptr<T>::operator*() const [with T = Xapian::Database]") at assert.c:81 #4 0x082acd68 in aptitude::matching::search_cache::implementation::term_matches(pkgCache::PkgIterator const&, std::string const&, bool) () #5 0x082a11a5 in evaluate_atomic (p=<value optimized out>, target=..., the_stack=..., search_info=..., cache=..., records=..., debug=false) at ../../../../../src/generic/apt/matching/match.cc:1500 #6 0x082a5de1 in evaluate_structural (mode=<value optimized out>, p=<value optimized out>, the_stack=..., search_info=..., pool=..., cache=..., records=..., debug=false) at ../../../../../src/generic/apt/matching/match.cc:1960 #7 0x082a6bfe in aptitude::matching::get_match (p=..., pkg=..., ver=..., search_info=..., cache=..., records=..., debug=<value optimized out>) at ../../../../../src/generic/apt/matching/match.cc:2790 #8 0x082a8847 in aptitude::matching::get_match (p=..., pkg=..., search_info=..., cache=..., records=..., debug=<value optimized out>) at ../../../../../src/generic/apt/matching/match.cc:2803 #9 0x080b53d3 in pattern_search::operator()(cwidget::widgets::treeitem const&) () #10 0xb768673a in cwidget::widgets::tree::search_for (this=0x8c416b8, matches=...) at tree.cc:854 #11 0x080b3ef4 in menu_tree::do_incsearch (this=0x8c416b8, s=..., backward=false) at ../../src/menu_tree.cc:392 #12 0x080b51cc 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::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&) () #13 0xb7650eb5 in sigc::internal::signal_emit1<void, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, sigc::nil>::emit (this=0xa6b5b68, _A_a1=...) at /usr/include/sigc++-2.0/sigc++/signal.h:1010 #14 sigc::signal1<void, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, sigc::nil>::emit (this=0xa6b5b68, _A_a1=...) at /usr/include/sigc++-2.0/sigc++/signal.h:2777 #15 sigc::signal1<void, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, sigc::nil>::operator() (this=0xa6b5b68, _A_a1=...) at /usr/include/sigc++-2.0/sigc++/signal.h:2785 #16 0xb76509c4 in cwidget::widgets::editline::handle_key (this=0xa6b5ac0, k=...) at editline.cc:423 #17 0xb7687c7f in cwidget::widgets::widget::dispatch_key (this=0xa6b5ac0, k=...) at widget.cc:267 #18 0xb767b25d in cwidget::widgets::table::handle_key (this=0x9408b58, k=...) at table.cc:576 #19 0xb7687c7f in cwidget::widgets::widget::dispatch_key (this=0x9408b58, k=...) at widget.cc:267 #20 0xb766ca16 in cwidget::widgets::passthrough::handle_key (this=0xa1baf20, k=...) at passthrough.cc:98 #21 0xb7687c7f in cwidget::widgets::widget::dispatch_key (this=0xa1baf20, k=...) at widget.cc:267 #22 0xb766ca16 in cwidget::widgets::passthrough::handle_key (this=0xa2a21e0, k=...) at passthrough.cc:98 #23 0xb7687c7f in cwidget::widgets::widget::dispatch_key (this=0xa2a21e0, k=...) at widget.cc:267 #24 0xb766ca16 in cwidget::widgets::passthrough::handle_key (this=0x8c39130, k=...) at passthrough.cc:98 #25 0xb7687c7f in cwidget::widgets::widget::dispatch_key (this=0x8c39130, k=...) at widget.cc:267 #26 0xb765b73a in cwidget::widgets::menubar::handle_key (this=0x8c2a528, k=...) at menubar.cc:641 #27 0xb7687c7f in cwidget::widgets::widget::dispatch_key (this=0x8c2a528, k=...) at widget.cc:267 #28 0xb76388c2 in cwidget::toplevel::input_thread::get_input_event::dispatch() () from /usr/lib/libcwidget.so.3 #29 0xb7629eb1 in cwidget::toplevel::mainloop (synch=0) at toplevel.cc:1168 #30 0x08109805 in ui_main () at ../../src/ui.cc:2852 #31 0x08064a10 in main (argc=5, argv=0xbfbdbc04) at ../../src/main.cc:1257 (gdb) info registers eax 0x0 0 ecx 0xa8a 2698 edx 0x6 6 ebx 0xa8a 2698 esp 0xbfbda7c0 0xbfbda7c0 ebp 0xbfbda7d8 0xbfbda7d8 esi 0xb7220503 -1222507261 edi 0xb7241ff4 -1222369292 eip 0xb77d3424 0xb77d3424 <__kernel_vsyscall+16> eflags 0x202 [ IF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51
signature.asc
Description: OpenPGP digital signature