[Aptitude-devel] [aptitude-gtk] errors

Grammostola Rosea rosea.grammostola at gmail.com
Mon Dec 22 10:36:28 UTC 2008


Daniel Burrows wrote:
> On Sat, Dec 20, 2008 at 10:53:44PM +0100, Grammostola Rosea <rosea.grammostola at gmail.com> was heard to say:
>   
>> Daniel Burrows wrote:
>>     
>>>   Go to http://packages.debian.org/aptitude and click on the
>>> "experimental" link.  The package page should link to pages for its
>>> dependencies (such as libept).  Good luck!
>>>
>>>   Daniel
>>>
>>>   
>>>       
>> Ok, I installed it, but it crashes:
>>
>> $ sudo aptitude
>> Segmentation fault
>>     
>
>   Hm, I don't know what would be causing that.  If you install the
> matching aptitude-dbg package (the one from experimental), you could
> run "gdb aptitude", then type "run" and, when it crashes, "where" to
> get a backtrace.
>
>   
ok, thanks:


gdb aptitude
GNU gdb 6.8-debian             
Copyright (C) 2008 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 
"i486-linux-gnu"...                              
(gdb) 
run                                                                   
Starting program: 
/usr/bin/aptitude                                         
[Thread debugging using libthread_db 
enabled]                               
[New Thread 0xb68406c0 (LWP 
3357)]                                          
[New Thread 0xb515eb90 (LWP 
3360)]                                          
[New Thread 0xb495db90 (LWP 
3361)]                                          
[Thread 0xb495db90 (LWP 3361) 
exited]                                       

(aptitude:3357): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion 
`g_utf8_validate (text, len, NULL)' 
failed                                                            

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb68406c0 (LWP 3357)]        
0xb6aa2443 in strlen () from /lib/i686/cmov/libc.so.6
(gdb) where
#0  0xb6aa2443 in strlen () from /lib/i686/cmov/libc.so.6
#1  0xb6c2996b in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string () from /usr/lib/libstdc++.so.6
#2  0xb7d1defb in Glib::ustring::ustring () from /usr/lib/libglibmm-2.4.so.1
#3  0x08150c7e in gui::DashboardTab::create_upgrade_summary (this=0x9339060)
    at dashboardtab.cc:141
#4  0x081d83aa in sigc::signal0<void, sigc::nil>::operator() 
(this=0x82e8ae0)
    at /usr/include/sigc++-2.0/sigc++/signal.h:548
#5  0x0812a6ca in do_apt_init () at gui.cc:885
#6  0x0812fadd in 
sigc::internal::slot_call0<sigc::bind_return_functor<bool, 
sigc::pointer_functor0<void> >, bool>::call_it (rep=0x9217600)
    at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#7  0xb7d1558a in ?? () from /usr/lib/libglibmm-2.4.so.1
#8  0xb7c28271 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x091dea50 in ?? ()
#10 0x00000000 in ?? ()
(gdb)






More information about the Aptitude-devel mailing list