On Sun, Mar 09, 2003 at 08:19:35AM -0500, Dan Espen wrote:
> Gert Brinkmann <[EMAIL PROTECTED]> writes:
> > This is a multi-part message in MIME format.
> > --------------000201060408080800020102
> > Content-Type: text/plain; charset=us-ascii; format=flowed
> > Content-Transfer-Encoding: 7bit
> > 
> > [EMAIL PROTECTED] wrote:
> > 
> > > Doesn't crash here.  Can you post a minimal config file and a
> > 
> > I could do that but it would make no sense, because the minimal config 
> > file is an empty config file (so only the fvwm default config is used) 
> > Do you still want me to post it? :)
> > 
> > > stack trace, please?
> > > 
> > >   $ gdb FvwmTaskBar core
> > >   (gdb) where
> > 
> > I am not sure how to use the gdb.
> 
> I'll explain how to use gdb, but first, here is the stack trace.
> (Not very useful.)

FYI:  When an X error causes a core dump, add

  XSynchronize(dpy, 1);

right after the initial XOpenDisplay() call.  The dump then occurs
right at the call that is responsible for the X error.

> (gdb) where
> #0  0x40242971 in kill () from /lib/libc.so.6
> #1  0x40242775 in raise () from /lib/libc.so.6
> #2  0x40243da3 in abort () from /lib/libc.so.6
> #3  0x08064827 in PrintXErrorAndCoredump () at ../../fvwm2_5_6/libs/XError.c:81
> #4  0x080506b3 in ErrorHandler (d=0x8080208, event=0xbffff550)
>     at ../../../fvwm2_5_6/modules/FvwmTaskBar/FvwmTaskBar.c:2500
> #5  0x4015d663 in _XError () from /usr/X11R6/lib/libX11.so.6
> #6  0x4015c29d in _XReply () from /usr/X11R6/lib/libX11.so.6
> #7  0x401579e8 in XSync () from /usr/X11R6/lib/libX11.so.6
> #8  0x0804ef7e in LoopOnEvents () at 
> ../../../fvwm2_5_6/modules/FvwmTaskBar/FvwmTaskBar.c:1764
> #9  0x0804cb03 in EndLessLoop () at 
> ../../../fvwm2_5_6/modules/FvwmTaskBar/FvwmTaskBar.c:427
> #10 0x0804ca0e in main (argc=6, argv=0xbffff8b4)
>     at ../../../fvwm2_5_6/modules/FvwmTaskBar/FvwmTaskBar.c:388
> #11 0x402305b0 in __libc_start_main () from /lib/libc.so.6

Fixed.  Code referenced "colorset" without checking for a valid
value --> &Colorset[-1] --> boom.

Bye

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to