Bug 11802 - segfault in ProcessInputEvents
Summary: segfault in ProcessInputEvents
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/Core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Blocks: xorg-7.3 xorg-7.4
  Show dependency treegraph
Reported: 2007-08-01 16:37 UTC by Julien Cristau
Modified: 2008-02-02 04:25 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:

xorg.conf (1.71 KB, text/plain)
2007-08-01 16:38 UTC, Julien Cristau
no flags Details
X log (29.44 KB, text/plain)
2007-08-01 16:40 UTC, Julien Cristau
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Cristau 2007-08-01 16:37:45 UTC
When trying xserver, 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]
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.