On 05/18/2011 05:25 AM, Christopher Thielen wrote:
It's crashed on me at start. Not sure if it's my usage of it or a bug in the software:
(epiar.exe was compiled with mingw32 on Fedora 15 beta - I should note "wine epiar.exe" runs the app well (save for a crash mid-game))
cthielen@chriss-dell-latitude Epiar $ wine gdbserver.exe localhost:60000 epiar.exe Process epiar.exe created; pid = 32 GetThreadContext failure 5
Exiting
Yeah, I get the same result with some apps. Interestingly, for me the 'GetThreadContext failure 5' error disappears when I run wine under strace; that makes it look a lot like a race condition.
Try if it makes any difference for you: strace -o /tmp/strace.log wine gdbserver.exe localhost:60000 epiar.exe
Also, http://bugs.winehq.org/show_bug.cgi?id=23246 mentions a GetThreadContext failure that was supposedly fixed in wine 1.3.20, but upgrading to wine 1.3.20 doesn't appear to make any difference here. No idea if these problems might be related or not.
(For what it's worth, the gdb.exe from the same mingw32-gdb package works fine under Windows here.)