Bug 11802

Summary: segfault in ProcessInputEvents
Product: xorg Reporter: Julien Cristau <jcristau>
Component: Server/Input/CoreAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: aplattner, peter.hutterer
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 8888, 10101    
Attachments:
Description Flags
xorg.conf
none
X log none

Description Julien Cristau 2007-08-01 16:37:45 UTC
When trying xserver 1.3.99.0, i didn't rebuild the synaptics driver, so X failed to load the driver for the relevant InputDevice section in xorg.conf. So far so good. The problem then is that X crashes when switching back to the VT where it is running.
If I remove that spurious InputDevice it's fine.
Comment 1 Julien Cristau 2007-08-01 16:38:52 UTC
Created attachment 10948 [details]
xorg.conf
Comment 2 Julien Cristau 2007-08-01 16:40:27 UTC
Created attachment 10949 [details]
X log
Comment 3 Aaron Plattner 2007-08-16 15:43:57 UTC
I get this too with a freshly installed pair of xf86-input-keyboard and xf86-input-mouse.  Here's the debug backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47879791403504 (LWP 16001)]
0x000000000059d54d in ProcessOtherEvent (xE=0x78af40, other=0x9586a0, count=1)
    at /home/aaron/X/modular/xserver/Xi/exevents.c:274
274             other->valuator->mode &= ~OutOfProximity;
(gdb) bt
#0  0x000000000059d54d in ProcessOtherEvent (xE=0x78af40, other=0x9586a0, 
    count=1) at /home/aaron/X/modular/xserver/Xi/exevents.c:274
#1  0x0000000000521dff in mieqProcessInputEvents ()
    at /home/aaron/X/modular/xserver/mi/mieq.c:249
#2  0x00000000004a66a8 in ProcessInputEvents ()
    at /home/aaron/X/modular/xserver/hw/xfree86/common/xf86Events.c:241
#3  0x00000000004496c4 in Dispatch ()
    at /home/aaron/X/modular/xserver/dix/dispatch.c:421
#4  0x000000000043040e in main (argc=3, argv=0x7fffc9ddbd78, 
    envp=0x7fffc9ddbd98) at /home/aaron/X/modular/xserver/dix/main.c:452
(gdb) p other->valuator
$1 = (ValuatorClassPtr) 0x0
Comment 4 Daniel Stone 2007-08-16 21:41:22 UTC
Either the event type is not actually ProximityIn, or something is really, seriously broken.
Comment 5 Peter Hutterer 2008-01-28 14:34:00 UTC
aaron, julien: is this still an issue?
Comment 6 Aaron Plattner 2008-01-31 10:28:17 UTC
No, this seems to be okay with a server built from commit a125ce.
Comment 7 Peter Hutterer 2008-02-02 04:25:54 UTC
closing the bug, pls reopen if problem occurs again.

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.