Bug 15633 - Errant crashes in miPointerMoved
Summary: Errant crashes in miPointerMoved
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-21 10:09 UTC by Ben Gamari
Modified: 2008-04-21 11:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
GDB log of crashed X server (5.17 KB, text/plain)
2008-04-21 10:09 UTC, Ben Gamari
no flags Details
A patch to work-around the crash (540 bytes, patch)
2008-04-21 10:12 UTC, Ben Gamari
no flags Details | Splinter Review

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.