On Fri, Feb 01, 2008 at 01:02:05AM +0600, Roman Dubtsov wrote:
> I have intermittent FVWM crashes. They occur when I start either
> gnome-control-center, nvidia-settings, or wine (this one works almost
> always). I use FVWM from Debian.
> 
> [EMAIL PROTECTED] 00:51:32 fvwm-cvs]$ fvwm -V
> fvwm 2.5.23 compiled on Jan 31 2008 at 23:37:18
> with support for: ReadLine, RPlay, Stroke, XPM, PNG, SVG, Shape, XShm,
> SM, Bidi text,
> 
> Core is not always dumped, sometimes FVWM crashes with X11 error
> message similar to this:
> 
> [fvwm.0][FvwmErrorHandler]: <<ERROR>> *** internal error ***
> [fvwm.0][FvwmErrorHandler]: <<ERROR>> Request 73, Error 8, EventType: 28

Hm, fvwm really doesn't crash just because of an X error.  I've
heard about this "crash without core on X error" stuff several
times, but I don't know what's going on.  Maybe the X server
itself crashes.

> But today I was able to obtain a core dump and trace SEGFAULT to
> particular line of colorset.c:
> 
> (gdb) bt
> #0  0x080a723e in parse_colorset (n=11, line=0x80eba93
> "RootTransparent") at
> /home/busa/buildspace/x11/wm/fvwm/fvwm-2.5.23/fvwm/colorset.c:1170
> #1  0x080a826c in update_root_transparent_colorset (prop=287) at
> /home/busa/buildspace/x11/wm/fvwm/fvwm-2.5.23/fvwm/colorset.c:1776
> #2  0x0806d328 in HandlePropertyNotify (ea=0xbfd725f4) at
> /home/busa/buildspace/x11/wm/fvwm/fvwm-2.5.23/fvwm/events.c:3177
> #3  0x0806c001 in dispatch_event (e=0xbfd72624) at
> /home/busa/buildspace/x11/wm/fvwm/fvwm-2.5.23/fvwm/events.c:3926
> #4  0x0806c718 in HandleEvents () at
> /home/busa/buildspace/x11/wm/fvwm/fvwm-2.5.23/fvwm/events.c:3967
> #5  0x0808d955 in main (argc=2, argv=0xbfd730d4) at
> /home/busa/buildspace/x11/wm/fvwm/fvwm-2.5.23/fvwm/fvwm.c:2610
> 
> Apparently, it is the place where average color is calculated. The
> definition of 11 colorset is as follows:
> 
> Colorset 11 fg #D7D9DD, RootTransparent, Tint white 30, sh #404040, hi #404040
> 
> Is there anything else I can do to help to resolve the issue?

Yes, if you still have the core, run the following gdb commands:

  $ gdb fvwm core
  (gdb) bt
  (gdb) info locals
  (gdb) info args
  (gdb) p *cs
  (gdb) p k
  (gdb) p colors[k-1]
  (gdb) p colors[k]
  (gdb) up
  (gdb) info locals
  (gdb) info args
  (gdb) p *cs
  (gdb) up
  (gdb) info locals
  (gdb) info args
  (gdb) p *te

Then post all the output.  Also, I need *all* your colour set
definitions and all config lines that use them.  It's probably
best to post your whole config file.  I'll be away for a couple of
days, but I'll look into the problem next week.

> colorset.c in CVS head did not change since 2.5.23, so I did not build
> and test it, but will surely do if necessary.

Ciao

Dominik ^_^  ^_^

-- 
Dominik Vogt

Reply via email to