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

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jun 30 21:24:27 CDT 2017


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

--- Comment #38 from Alex Vallée <avallee at chromium.org> ---
(In reply to Ken Thomases from comment #33)
> I suspect the problem may be that two threads are calling into the Mac HID
> library at the same time.  It may be that we need to use a critical section
> to prevent that entirely.  Or maybe using IOHIDTransaction objects will be
> enough to fix it.  The latter would fix it if the problem is just that the
> element values are being released by one thread (because a new HID report
> has been received) while the other thread is still using them.

I went with the idea and added a mutex for each device id. Seems to work for
me.

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