Problem in mutex?

Mike Hearn m.hearn at signal.QinetiQ.com
Fri Aug 27 08:55:49 CDT 2004


> However, the program doesn't run properly. When running it, I get 
> deadlocked.
> 
> Does anyone have any explanation? Is it a bug in my Win32 code?

Doubt it, it *looks* OK. But the acid test is to run it on Windows.

I've not used the mutex APIs much though, so could well be wrong.

>> err:ntdll:RtlpWaitForCriticalSection section 0x4017fec0 "?" wait timed 
>> out in thread 0009, blocked by 0000, retrying (60 sec)

Well, this must be a Wine internal critical section and 0 is an invalid 
thread ID. So it looks like something is going badly wrong inside Wine.

What does the backtrace of thread 9 look like?

thanks -mike



More information about the wine-devel mailing list