Bug 15633

Summary: Errant crashes in miPointerMoved
Product: xorg Reporter: Ben Gamari <bgamari>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
GDB log of crashed X server
none
A patch to work-around the crash none

Description Ben Gamari 2008-04-21 10:09:24 UTC
Created attachment 16081 [details]
GDB log of crashed X server

Somehow I have been recently getting crashes in miPointerMoved due to the miPointerScreen devPrivate being set to NULL. Attached is a GDB log.
Comment 1 Ben Gamari 2008-04-21 10:12:37 UTC
Created attachment 16082 [details] [review]
A patch to work-around the crash

This is a patch I've been using to work-around the bug although a more thorough solution is probably necessary. I can't imagine why the devPrivate would be set to null. Note that this occurred with a USB mouse plugged in to a port that is sometimes flaky. It is possible that the device was being "added" and "removed" fairly frequently.
Comment 2 Julien Cristau 2008-04-21 11:10:20 UTC
On Mon, Apr 21, 2008 at 10:09:24 -0700, bugzilla-daemon@freedesktop.org wrote:

> Somehow I have been recently getting crashes in miPointerMoved due to the
> miPointerScreen devPrivate being set to NULL. Attached is a GDB log.
> 
This should be fixed by 60ff56050b64183cb6e58f54223c8a3ddc2e704b.

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.