https://bugs.winehq.org/show_bug.cgi?id=39023
--- Comment #33 from Ken Thomases ken@codeweavers.com --- 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.