http://bugs.winehq.org/show_bug.cgi?id=28388
--- Comment #7 from Dan Kegel dank@kegel.com 2011-09-29 19:58:56 CDT --- Happened again on my e7300 (after 26000 tries!), and I happened to be there again. Log:
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0045, blocked by 0026, retrying (60 sec) wine: Critical section 00110060 wait failed at address 0x7bc34357 (thread 0045), starting debugger...
Here's what btall said; it's very similar to the last time one.
Backtracing for thread 0026 in process 0016 (Z:\home\dank\wine-git\dlls\winmm\tests\winmm_test.exe): Backtrace: =>0 notify_alloc+0x10(ptr=0x137b48, size=0x100, init=0) [dlls/ntdll/heap.c:254] 1 RtlAllocateHeap+0x32c(heap=0x110000, flags=0x2, size=0x100) [dlls/ntdll/heap.c:1702] 2 peek_message+0x84(msg=0x73e9d0, hwnd=(nil), first=0, last=0, flags=0x4ff0001, changed_mask=0x4ff) [dlls/user32/message.c:2612] 3 GetMessageW+0x151(msg=0x73e9d0, hwnd=(nil), first=0, last=0) [dlls/user32/message.c:3610] 4 GetMessageA+0x5f(msg=0x73e9d0, hwnd=(nil), first=0, last=0) [dlls/user32/message.c:3625] 5 MMSYSTEM_MidiStream_Player+0x132(pmt=0x129328) [dlls/winmm/winmm.c:1155] ...
Backtracing for thread 0045 in process 0016 (Z:\home\dank\wine-git\dlls\winmm\tests\winmm_test.exe): Backtrace: =>0 0x68000832 GLIBC_2+0x832() in ld-linux.so.2 (0x00000000) 0x68000830 GLIBC_2+0x830 in ld-linux.so.2: int $0x80
(I doubt this is the cause, but isn't that PeekMessage loop in MMSYSTEM_MidiStream_Player() kind of busy?)