Ant wrote:
> Hello,
>
> I would like to know if I am the only one with this issue or not. I
> recently discover how to reproduce my X session crash because of
> gkrellm-hdplop plugin in GKrellM v2.3.1.
>
> I basically loaded up GKrellM2 (doesn't matter if it uses defaults or
> customized) with gkrellm-hdplop plugin running only on ONE virtual
> desktop in KDE v3.5.8 or Gnome v2.14.3. Then, I switched to another
> virtual desktop that didn't have GKrellM on screen. Finally, I pressed
> ctrl-alt-F# (# is a number like 1) to go back to console/text mode.
>
> It resulted a X crash like:
> Backtrace:
> 0: /usr/bin/X11/X(xf86SigHandler+0x81) [0x80c89c1]
> 1: [0xffffe420]
> 2: /usr/bin/X11/X [0x81771e0]
> 3: /usr/bin/X11/X [0x814a8ba]
> 4: /usr/bin/X11/X [0x814b504]
> 5: /usr/bin/X11/X [0x8154c1e]
> 6: /usr/bin/X11/X(Dispatch+0x1a1) [0x808eff1]
> 7: /usr/bin/X11/X(main+0x47e) [0x8076e2e]
> 8: /lib/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7dc5450]
> 9: /usr/bin/X11/X(FontFileCompleteXLFD+0x1e9) [0x80761b1]
>
> Fatal server error:
> Caught signal 11. Server aborting
>
>
> If I disable this neat colorful plugin, then I won't get the crash. I am
> just wondering if I am the only one with this problem. I am using Debian
> (Kernel 2.6.22-K7) and keep it updated daily.
>
> Thanks in advance.
I wonder if this problem still occurs with: startx -- -dumbSched
By default XFree86/X.org use a "smart scheduler" that uses SIGALRM
periodically. You might try without that, even though you're
experiencing a signal 11 which is a SIGSEGV.
By the way, do any X developers know why dispatch.c doesn't use
sig_atomic_t instead of the volatile char code? IMO sig_atomic_t is
better for variables used in signal handlers.
Try to get a debug build of the X.org X server. I think then you will
be able to see symbol names for the addresses likes 0x81771e0 when
xorg_backtrace() dumps the backtrace.
From what I've read of configure.ac for xorg-server, it seems that you
want ./configure --enable-debug
The default is --prefix=/usr/local so you may want to backup your X11
install, and then try ./configure --enable-debug --prefix=/usr
George