http://bugs.winehq.org/show_bug.cgi?id=28735
--- Comment #1 from Dan Kegel dank@kegel.com 2011-10-19 15:52:27 CDT --- Same cause as bug 20985, perhaps?
I'm seeing something similar in ddraw/tests/drawmodes.ok:
Unhandled exception: illegal instruction in 32-bit code (0x00000000). ... Backtrace: =>0 0x00000000 (0x7f23fc88) 1 0x049b77f5 test_DirectDrawEnumerateA+0x5b() [dlls/ddraw/tests/ddrawmodes.c:140] in ddraw_test (0x7f23fcb8) ... err:seh:segv_handler Got unexpected trap 0
The test and valgrind finish, but with exit status 29.