Bug 2800 - Xevie extension crash with signal 11 on keyboard
Summary: Xevie extension crash with signal 11 on keyboard
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xext (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: derek wang
QA Contact:
URL:
Whiteboard:
Keywords:
: 1205 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-24 15:52 UTC by Jean-Francois Thibert
Modified: 2005-05-21 01:14 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
This patch should fix the problem and some other bugs (29.75 KB, patch)
2005-03-28 09:45 UTC, derek wang
no flags Details | Splinter Review
This is a test program to check if Xevie works properly (2.51 KB, text/plain)
2005-03-28 09:50 UTC, derek wang
no flags Details

Description Jean-Francois Thibert 2005-03-24 15:52:16 UTC
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.
Comment 1 derek wang 2005-03-28 09:45:16 UTC
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.
Comment 2 derek wang 2005-03-28 09:50:54 UTC
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.
Comment 3 Alan Coopersmith 2005-05-21 12:23:33 UTC
*** Bug 1205 has been marked as a duplicate of this bug. ***
Comment 4 Alan Coopersmith 2005-05-21 18:14:44 UTC
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.