Summary: | SIGSEGV in miPointerWarpCursor() when holding down key on non-primary screen (Xinerama) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Bryce Harrington <bryce> | ||||||||||
Component: | Server/General | Assignee: | Peter Hutterer <peter.hutterer> | ||||||||||
Status: | RESOLVED DUPLICATE | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||
Severity: | normal | ||||||||||||
Priority: | medium | CC: | jared.bunting, michael | ||||||||||
Version: | 7.4 (2008.09) | ||||||||||||
Hardware: | All | ||||||||||||
OS: | Linux (All) | ||||||||||||
Whiteboard: | |||||||||||||
i915 platform: | i915 features: | ||||||||||||
Attachments: |
|
Description
Bryce Harrington
2009-03-18 23:22:43 UTC
Created attachment 24030 [details]
XorgLog.txt
Created attachment 24031 [details]
XorgConf.txt
When adding a check for pPointer == NULL in miPointerWarpCursor, the behavior simply moves to somewhere else that MIPOINTER might return null. I was able to eliminate the behavior entirely by adding null checks everywhere in mipointer.c that pPointer is set from MIPOINTER. Once I learn how to create a proper patch for X, I'll attach it. On Mon, Mar 23, 2009 at 06:35:03AM -0700, bugzilla-daemon@freedesktop.org wrote: > http://bugs.freedesktop.org/show_bug.cgi?id=20744 > > > > > > --- Comment #3 from Jared Bunting <jared.bunting@peachjean.com> 2009-03-23 06:35:03 PST --- > When adding a check for pPointer == NULL in miPointerWarpCursor, the behavior > simply moves to somewhere else that MIPOINTER might return null. I was able to > eliminate the behavior entirely by adding null checks everywhere in mipointer.c > that pPointer is set from MIPOINTER. Once I learn how to create a proper patch > for X, I'll attach it. Feel free to forward the changed file(s) to me, and I'll be willing to generate the patch for you. Otherwise, see: http://wiki.x.org/wiki/Development/Documentation/SubmittingPatches Bryce Created attachment 24171 [details] [review] 0001-Check-null-pointers-to-not-crash-on-keyrepeat-with-X.patch Thanks Jared, this is what I'm putting into Ubuntu (for now). |
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.