[Bug 39023] Final Fantasy XI Using a Bluetooth PS3 Controller crashes the game.

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 17 17:23:38 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=39023

--- Comment #23 from Ken Thomases <ken at codeweavers.com> ---
Created attachment 52364
  --> https://bugs.winehq.org/attachment.cgi?id=52364
Check IOHIDDeviceGetValue() result before using returned value object

Can you please build with this patch and see if it fixes the crash.  Also,
check whether the controller works properly.

Whether it does or doesn't, please collect a +tid,+seh,+dinput log.  I've added
some logging for the case where it had been crashing and I'm curious to know
what error IOKit is returning when it fails to return a value object.

Basically, the code calls IOHIDDeviceGetValue() for a particular element of the
device to get a value object.  It then calls IOHIDValueGetIntegerValue() to get
the numeric value from that object.  It seems the first call was failing and
the code didn't check for that.  So, when it did the next call, that blew up. 
But really, I don't know of a good reason why the first call would fail.

Thanks!

-- 
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