http://bugs.winehq.org/show_bug.cgi?id=30557
Maarten Lankhorst m.b.lankhorst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |m.b.lankhorst@gmail.com
--- Comment #50 from Maarten Lankhorst m.b.lankhorst@gmail.com 2013-07-04 12:55:10 CDT --- Sorry, after some more testing it looks like the patch is incomplete. The crash is a direct result from wine running pthread_join on a thread it doesn't own, causing any calls to pthread_*join* or pthread_detach to run into freed memory and crashing the application.
I don't have a fix yet, it will probably involve hooking both functions, keeping a list of threads and their id's, without introducing a race condition.