[Bug 12242] PhoenixRC: HID controller does not work

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 28 15:18:07 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=12242





--- Comment #3 from Christopher <raccoonone at procyongames.com>  2008-03-28 15:18:06 ---
Created an attachment (id=11715)
 --> (http://bugs.winehq.org/attachment.cgi?id=11715)
log of SetupDiDeleteDeviceInterfaceRegKey bad pointers

The page faults are caused by SetupDiDeleteDeviceInterfaceRegKey. For some
reason PhoenixRC is passing an invalid pointer. I disabled
SetupDiDeleteDeviceInterfaceRegKey by making it always return TRUE (without
actually doing anything), so that I could generate this log of all the setupapi
calls. As you can see the interface 0x13ef10 is never created, yet PhoenixRC
tries to delete it twice and passes 0x3a (also never created) as the HDEVINFO
handle.
I don't know if this is a bug (feature?) in PhoenixRC, but I'll patch
SetupDiDeleteDeviceInterfaceRegKey so that it won't page fault on a bad pointer
(Windows does not, it returns FALSE and an error code).


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list