[Aptitude-devel] [aptitude-gtk] errors

Grammostola Rosea rosea.grammostola at gmail.com
Sat Jan 17 23:50:31 UTC 2009


Daniel Burrows wrote:
> On Sat, Jan 17, 2009 at 11:04:04AM +0100, Grammostola Rosea <rosea.grammostola at gmail.com> was heard to say:
>   
>> And after command line 'aptitude safe-upgrade'
>>
>> (gdb) 
>> run                                                                   
>> Starting program: 
>> /home/d/2home/svn/aptitude/src/aptitude                   
>> [Thread debugging using libthread_db 
>> enabled]                               
>> [New Thread 0xb68f06c0 (LWP 
>> 10055)]                                         
>> [New Thread 0xb5291b90 (LWP 
>> 10064)]                                         
>> [New Thread 0xb4850b90 (LWP 
>> 10065)]                                         
>> [Thread 0xb4850b90 (LWP 10065) 
>> exited]                                      
>> Package libjack0 has no candidate 
>> version.                                  
>> Package xserver-xorg-video-vesa, version 
>> 1:2.0.0-2                          
>> Done listing candidate 
>> versions.                                            
>> Adding                                                                       
>>     
>
>   Thanks -- I bet it's the version with no candidate.  I don't know why
> a version with no candidate is getting past ?upgradable, but it's easy
> to code around this.  It would be interesting to see what the command
> "apt-cache policy libjack0" shows.
>
>   I've committed a change that guards against packages without a
> candidate version.  Run "hg revert --all" to undo the patch you
> applied, then run "hg pull" and "hg update" to fetch the latest code.
> Run "make" to recompile, and hopefully the bug will be gone.
>
>   

When I click on that libjack0 version I get another segfault:
Starting program: 
/home/d/2home/svn/aptitude/src/aptitude                           
[Thread debugging using libthread_db 
enabled]                                       
[New Thread 0xb689c6c0 (LWP 
4912)]                                                  
[New Thread 0xb523db90 (LWP 
4915)]                                                  
[New Thread 0xb47fcb90 (LWP 
4919)]                                                  
[Thread 0xb47fcb90 (LWP 4919) 
exited]                                               
[New Thread 0xb47fcb90 (LWP 
4921)]                                                  
[Thread 0xb47fcb90 (LWP 4921) 
exited]                                               

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb689c6c0 (LWP 4912)]        
0xb7ee4869 in pkgRecords::Lookup () from 
/usr/lib/libapt-pkg-libc6.7-6.so.4.6
(gdb) backtrace
#0  0xb7ee4869 in pkgRecords::Lookup () from 
/usr/lib/libapt-pkg-libc6.7-6.so.4.6
#1  0x0821a283 in process_changelog_job (entry=@0xae47b40, 
output_jobs=@0xbff980e8) at changelog.cc:383
#2  0x0821b920 in gui::fetch_and_show_changelogs 
(changelogs=@0xbff9814c) at changelog.cc:499
#3  0x0821bba4 in gui::fetch_and_show_changelog (ver=@0xbff981c0, 
text_buffer=@0xbff981bc, where=@0xbff98214) at changelog.cc:521
#4  0x081e3742 in gui::DashboardTab::activated_upgrade_package_handler 
(this=0xae425f0) at dashboardtab.cc:301
#5  0x081e84d5 in sigc::bound_mem_functor0<void, 
gui::DashboardTab>::operator() (this=0xae6efc4)
    at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#6  0x081e84ec in sigc::adaptor_functor<sigc::bound_mem_functor0<void, 
gui::DashboardTab> >::operator() (this=0xae6efc0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x081e8541 in 
sigc::internal::slot_call0<sigc::bound_mem_functor0<void, 
gui::DashboardTab>, void>::call_it (rep=0xae6efa8)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0xb7b49fb2 in Glib::SignalProxyNormal::slot0_void_callback () from 
/usr/lib/libglibmm-2.4.so.1
#9  0xb7aec054 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#10 0xb7ade90b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0xb7af23a0 in ?? () from /usr/lib/libgobject-2.0.so.0
#12 0x0ae6eff0 in ?? ()
#13 0x00000000 in ?? ()






More information about the Aptitude-devel mailing list