[PATCH] Xserver crash due to ScreenPriv->SavedCursor->bits == 0

Matthias Hopf mhopf at suse.de
Fri Sep 4 08:34:00 PDT 2009

Sometimes the current Xserver (with intel 2.8.1 with KMS) crashes after
resume from RAM (or disk, but that is broken anyway ATM). I managed to
get a core and analyze it (see attached gdb log).

Long story short, sometimes after resume ScreenPriv->SavedCursor->bits
is NULL, and the server crashes.

The attached patch works around this issue, but it doesn't solve the
mysterious initial issue (why bits is actually NULL). If anybody has a
good idea, or a better idea how to actually solve this...



Matthias Hopf <mhopf at suse.de>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          mat at mshopf.de
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.log
Type: text/x-log
Size: 3707 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20090904/35952a26/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Work-around-ScreenPriv-SavedCursor-bits-being-NULL.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20090904/35952a26/attachment-0001.bin 

More information about the xorg-devel mailing list