On Wed, Jan 16, 2002 at 07:34:47PM +1000, Alexandra Walford wrote:
>   On Wed, 16 Jan 2002 00:54:56 -0800 (PST), "Sean 'Shaleh' Perry"
>   <[EMAIL PROTECTED]> wrote:
> 
> > Well boys and girls, consider this your last chance.  0.62.0 final is
> > ready.  No serious bugs have been reported in the last week (other
> > than the fixed euro issue and the toolbar bug Scott reported).
> 
> Well, I just noticed that I can crash pre4 and pre5 (and probably
> earlier versions?) using gnapster 1.5.0; attached is a gdb backtrace.
> 
> Can be reproduced by opening gnapster, going to the Settings menu,
> selecting Preferences and going to the Sharing tab.  Then, select one of
> the paths in the list (I only have one configured), hit Build list, and
> boom.
> 
> Considering how buggy gnapster is in general I guess it could be a
> problem with that, not blackbox; but still, blackbox crashes, so I
> better report it.
> 
> Core was generated by `/usr/local/src/blackbox-0.62.0pre5/src/blackbox'.
> Program terminated with signal 6, Aborted.
> Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libSM.so.6
> Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libICE.so.6
> Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libX11.so.6
> Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libXext.so.6
> Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done.
> Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
> Reading symbols from /lib/libm.so.6...done.
> Loaded symbols for /lib/libm.so.6
> Reading symbols from /lib/libc.so.6...done.
> Loaded symbols for /lib/libc.so.6
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> #0  0x401bea41 in kill () from /lib/libc.so.6
> (gdb) bt
> #0  0x401bea41 in kill () from /lib/libc.so.6
> #1  0x401be724 in raise () from /lib/libc.so.6
> #2  0x401bfea1 in abort () from /lib/libc.so.6
> #3  0x804b2fd in signalhandler (sig=11) at BaseDisplay.cc:165
> #4  0x401be978 in sigaction () from /lib/libc.so.6
> #5  0x806dc9c in BlackboxWindow::~BlackboxWindow (this=0x80c8400, __in_chrg=3)
>     at Window.cc:317
> #6  0x806d07a in BlackboxWindow::BlackboxWindow (this=0x80c8400, b=0xbfffe940, 
>     w=8390097, s=0x0) at Window.cc:86
> #7  0x8079f3b in Blackbox::process_event (this=0xbfffe940, e=0xbfffe8b8)
>     at blackbox.cc:440
> #8  0x804bf6e in BaseDisplay::eventLoop (this=0xbfffe940) at BaseDisplay.cc:420
> #9  0x807f471 in main (argc=1, argv=0xbffff9b4) at main.cc:175
> #10 0x401af2eb in __libc_start_main () from /lib/libc.so.6

From Shaleh:
<paste>
The gnapster crash is caused by an optimization attempt at mine.  The
window    
was fully initialized only to then be destroyed so I moved the                  
initialization code to after the checks in the constructor.  gnapster
hits a    
case where the variables have no real values by the destructor tries to
use     
them.                                                                           
                                                                                
The solution is simple: remove the call to 'delete this' on lines 86 and        
104.                                                                            
                                                                                
Thanks Alexandra for catching this.                                             
                                                                                
Note to Wilbert: your patch applies fine and all seems to work well.            
However, now I need to fix the README again because we updated it to
reflect    
blackbox not installing a menu (-:
</paste>

xOr
-- 
I am damn unsatisfied to be killed in this way.

Attachment: msg04959/pgp00000.pgp
Description: PGP signature

Reply via email to