Favorite bug: deadlock preventing backtraces?

Dan Kegel dank at kegel.com
Wed Sep 28 23:00:03 CDT 2011


On one of my boxes, if I run winmm/midi.ok in a loop, it will
eventually deadlock/crash
( http://bugs.winehq.org/show_bug.cgi?id=28388 ):
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main
process heap section" wait timed out in thread 0022, blocked by 001f,
retrying (60 sec)
wine: Critical section 00110060 wait failed at address 0x7bc3484a
(thread 0022), starting debugger...
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main
process heap section" wait timed out in thread 0022, blocked by 001f,
retrying (60 sec)

Sadly, no backtrace follows ( http://bugs.winehq.org/show_bug.cgi?id=28265 ).
Since I'm not around when it finally happens, I haven't tried btall yet.

I suppose I should write a shell script to watch for that error
message in the log,
and run btall then... any better ideas?

(I did try giving winedbg a private heap, didn't seem to prevent the deadlock.)



More information about the wine-devel mailing list