[Aptitude-devel] [aptitude-gtk] errors

Grammostola Rosea rosea.grammostola at gmail.com
Sat Jan 17 09:56:14 UTC 2009


Daniel Burrows wrote:
>   OK, it looks like the problem really is a version string that's bad.
> To debug this farther we'll need to know which package is generating
> that version string.  I've attached a patch that will make that
> information more accessible at debug time, as well as writing it to
> standard output.
>
>   Save the patch in the root of your aptitude tree, then run
>
> $ patch -p1 < aptitude-debug-patch.patch
>
>   to apply it.  Run
>
> $ make
>
>   to recompile, then run aptitude like you have been:
>
> $ gdb ./src/aptitude
> (gdb) run
> (gdb) backtrace
>
>   Hopefully we'll at least be able to find out which package is
> triggering the problem for you.
>   
This GDB was configured as 
"i486-linux-gnu"...                                                                                                 

(gdb) 
run                                                                                                                                      

Starting program: 
/home/d/2home/svn/aptitude/src/aptitude                                                                                      

[Thread debugging using libthread_db 
enabled]                                                                                                  

[New Thread 0xb687f6c0 (LWP 
3953)]                                                                                                             

[New Thread 0xb47bcb90 (LWP 
3962)]                                                                                                             

[New Thread 0xb3dbfb90 (LWP 
3963)]                                                                                                             

[Thread 0xb3dbfb90 (LWP 3963) 
exited]                                                                                                          

Package cdparanoia, version 
3.10.2+debian-5                                                                                                    

Package libjack0 has no candidate 
version.                                                                                                     

Package libjack0.100.0-0, version 
0.109.2-5                                                                                                    

Package xserver-xorg-video-vesa, version 
1:2.0.0-2                                                                                             

Package dvdauthorwizard, version 
1.4.6-0.7                                                                                                     

Package linux-libc-dev, version 
2.6.26-13                                                                                                      

Package apt-utils, version 
0.7.20                                                                                                              

Package linux-headers-2.6.26-1-686, version 
2.6.26-13                                                                                          

Package linux-image-2.6.26-1-686, version 
2.6.26-13                                                                                            

Package apt, version 
0.7.20                                                                                                                    

Package libjack0.100.0-dev, version 
0.109.2-5                                                                                                  

Package libapt-pkg-dev, version 
0.7.20                                                                                                         

Package libcdparanoia0, version 
3.10.2+debian-5                                                                                                

Package linux-headers-2.6.26-1-common, version 
2.6.26-13                                                                                       

Done listing candidate 
versions.                                                                                                               

Adding                                                                                                                                         


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb687f6c0 (LWP 3953)]        
0xb6ae13b3 in strlen () from /lib/i686/cmov/libc.so.6
(gdb) backtrace                                     
#0  0xb6ae13b3 in strlen () from /lib/i686/cmov/libc.so.6
#1  0xb6c689bb in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string () from /usr/lib/libstdc++.so.6
#2  0xb7b2fefb in Glib::ustring::ustring () from 
/usr/lib/libglibmm-2.4.so.1                                                          

#3  0x081e4ca1 in gui::DashboardTab::create_upgrade_summary 
(this=0xaf82220) at dashboardtab.cc:167                                  
#4  0x081e8875 in sigc::bound_mem_functor0<void, 
gui::DashboardTab>::operator() 
(this=0xafab28c)                                     
    at 
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787                                                                         

#5  0x081e888c in sigc::adaptor_functor<sigc::bound_mem_functor0<void, 
gui::DashboardTab> >::operator() (this=0xafab288)             
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x081e88e1 in 
sigc::internal::slot_call0<sigc::bound_mem_functor0<void, 
gui::DashboardTab>, void>::call_it (rep=0xafab270)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x0808a47f in sigc::internal::signal_emit0<void, sigc::nil>::emit 
(impl=0xae4e900) at /usr/include/sigc++-2.0/sigc++/signal.h:548
#8  0x0808a548 in sigc::signal0<void, sigc::nil>::emit (this=0x8423570) 
at /usr/include/sigc++-2.0/sigc++/signal.h:1706
#9  0x0808a55b in sigc::signal0<void, sigc::nil>::operator() 
(this=0x8423570) at /usr/include/sigc++-2.0/sigc++/signal.h:1710
#10 0x082a14d3 in apt_load_cache (progress_bar=0xafc56c0, 
do_initselections=true, status_fname=0x0) at apt.cc:423
#11 0x082a152f in apt_reload_cache (progress_bar=0xafc56c0, 
do_initselections=true, status_fname=0x0) at apt.cc:430
#12 0x082a1560 in apt_init (progress_bar=0xafc56c0, 
do_initselections=true, status_fname=0x0) at apt.cc:314
#13 0x0819f008 in do_apt_init () at gui.cc:1407
#14 0x0807bd57 in sigc::pointer_functor0<void>::operator() 
(this=0xae4dbc0) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#15 0x0807bd6e in sigc::adaptor_functor<sigc::pointer_functor0<void> 
 >::operator() (this=0xae4dbbc)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#16 0x081a0f88 in sigc::bind_return_functor<bool, 
sigc::pointer_functor0<void> >::operator() (this=0xae4dbb8)
    at /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h:173
---Type <return> to continue, or q <return> to quit---
#17 0x081a0fb5 in 
sigc::internal::slot_call0<sigc::bind_return_functor<bool, 
sigc::pointer_functor0<void> >, bool>::call_it (rep=0xae4dba0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#18 0xb7b2758a in ?? () from /usr/lib/libglibmm-2.4.so.1
#19 0xb7a39271 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x0ae4eb78 in ?? ()
#21 0x00000000 in ?? ()
(gdb)




More information about the Aptitude-devel mailing list