https://bugs.winehq.org/show_bug.cgi?id=39065
--- Comment #4 from philippe.groarke@gmail.com --- Plain wine. No hacks (I have 1 modification in wined3d and some more stubs, but this happens on plain wine).
OS X Yosemite 10.10.4, Xcode 6.4, lldb-330.0.48, though this also happens with WineDbg so it doesn't seem to be debugger dependant.
I am debugging Skyforge.
Repro: Launch Skyforge (using the MyComGames.exe launcher). Wait on the skyforge loading screen (don't press spacebar yet).
Attach lldb or winedbg: lldb wine process attach --pid yourpid
(or) Attach through Xcode: Setup a project with external build system, Debug->Attach to process.
In Skyforge press spacebar, crash.
If you attach while it is running, you will also get an instant EXC_BAD_ACCESS, EXC_i386_GPFLT. I've seen the same in glBindFrameBuffer().