When using the Xevie extension with keyboard events there is a segmentation fault. The variable xeviewin is not assigned anywhere in dix/events.c but is used to find a root window in the CoreProcessKeyboardEvent function.
Created attachment 2223 [details] [review] This patch should fix the problem and some other bugs This patch is against Xorg6.8.2 and has been tested on Sun Linux and Solaris.
Created attachment 2224 [details] This is a test program to check if Xevie works properly this test program can be used to verify if the bug is fixed.
*** Bug 1205 has been marked as a duplicate of this bug. ***
Patch committed to CVS HEAD: Log message: 2005-05-21 Alan Coopersmith <alan.coopersmith@sun.com> * programs/Xserver/dix/devices.c: * programs/Xserver/hw/xfree86/loader/dixsym.c: * programs/Xserver/dix/privates.c: * programs/Xserver/dix/main.c: * programs/Xserver/dix/events.c: * programs/Xserver/Xext/xevie.c: * include/extensions/XKBsrv.h: * programs/Xserver/xkb/xkbActions.c: Bugzilla #2800 <https://bugs.freedesktop.org/show_bug.cgi?id=2800> Xevie extension crash with signal 11 on keyboard Bugzilla #1205 <https://bugs.freedesktop.org/show_bug.cgi?id=1205> Xevie client receives two KeyPress events on consumed keys when XKB is enabled Patch #2223 <https://bugs.freedesktop.org/attachment.cgi?id=2223> Fixes for both of these and some other Xevie bugs (Derek Wang - Sun Microsystems) Modified files: ./: ChangeLog xc/programs/Xserver/dix/: devices.c privates.c main.c events.c xc/programs/Xserver/hw/xfree86/loader/: dixsym.c xc/programs/Xserver/Xext/: xevie.c xc/include/extensions/: XKBsrv.h xc/programs/Xserver/xkb/: xkbActions.c Revision Changes Path 1.952 +21 -0 xc/ChangeLog 1.5 +11 -14 xc/programs/Xserver/dix/devices.c 1.6 +38 -0 xc/programs/Xserver/dix/privates.c 1.11 +1 -0 xc/programs/Xserver/dix/main.c 1.9 +143 -13 xc/programs/Xserver/dix/events.c 1.11 +8 -0 xc/programs/Xserver/hw/xfree86/loader/dixsym.c 1.6 +348 -8 xc/programs/Xserver/Xext/xevie.c 1.3 +38 -3 xc/include/extensions/XKBsrv.h 1.4 +58 -3 xc/programs/Xserver/xkb/xkbActions.c
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.