Bug 27930 - Segfault in DGAProcessPointerEvent using DOSBox
Summary: Segfault in DGAProcessPointerEvent using DOSBox
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/Core (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-01 18:08 UTC by putte_xvi
Modified: 2018-06-12 18:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
X server log (24.58 KB, text/plain)
2010-05-01 18:08 UTC, putte_xvi
no flags Details

Description putte_xvi 2010-05-01 18:08:32 UTC
Created attachment 35368 [details]
X server log

X crashes when I click in DOSBox. Backtrace from attached debugger follows:

Program received signal SIGSEGV, Segmentation fault.
DGAProcessPointerEvent (pScreen=0x8c4f4d0, event=0xbfa1b4c0, mouse=0x8d793a8)
    at xf86DGA.c:1097
1097	    ev.corestate  = butc->state;
(gdb) bt
#0  DGAProcessPointerEvent (pScreen=0x8c4f4d0, event=0xbfa1b4c0, 
    mouse=0x8d793a8) at xf86DGA.c:1097
#1  0x0809d54a in mieqProcessDeviceEvent ()
#2  0x0809d719 in mieqProcessInputEvents ()
#3  0x080b0cb7 in ProcessInputEvents ()
#4  0x08072660 in Dispatch ()
#5  0x08062755 in main ()
(gdb) print butc
$1 = <value optimized out>

It could perhaps be related to this bug: https://bugs.freedesktop.org/show_bug.cgi?id=27573
Comment 1 Julien Cristau 2010-05-02 02:41:32 UTC
(In reply to comment #0)
> It could perhaps be related to this bug:
> https://bugs.freedesktop.org/show_bug.cgi?id=27573

did you try the patch on that bug?
Comment 2 putte_xvi 2010-05-02 05:24:47 UTC
(In reply to comment #1)
> did you try the patch on that bug?

Yes, but it didn't help.

It looked like the same bug at first (before I recompiled the server with debugging symbols) but as you can see from the backtrace, the crash is on a different line. The line right before those changed by that patch, in fact.
Comment 3 Julien Cristau 2010-05-02 05:52:38 UTC
Adding Peter to cc.
Comment 4 Adam Jackson 2018-06-12 18:43:33 UTC
Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please file a new report if you continue to experience issues with a current server.


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.