How to Debug err:ntdll:RtlpWaitForCriticalSection section

Questions about Wine on Linux
Locked
User avatar
[email protected]
Level 1
Level 1
Posts: 7
Joined: Thu Oct 25, 2012 12:39 am

How to Debug err:ntdll:RtlpWaitForCriticalSection section

Post by [email protected] »

I have a Java process - started like this:

wine java -jar OESocketServer.jar -d 2 , This process calls a series dlls that eventually start an .exe

I have been testing the process quite successfully and can have it run of 12 - 14 hours with no issues. Quite randomly (it seems) the process will hang and displays this message:

err:ntdll:RtlpWaitForCriticalSection section 0x3735234 "?" wait timed out in thread 0035, blocked by 01c8, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x3735234 "?" wait timed out in thread 0035, blocked by 01c8, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x3735234 "?" wait timed out in thread 0035, blocked by 01c8, retrying (60 sec)
.
.
.
err:ntdll:RtlpWaitForCriticalSection section 0x3735234 "?" wait timed out in thread 0035, blocked by 01c8, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x3735234 "?" wait timed out in thread 0035, blocked by 01c8, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x3735234 "?" wait timed out in thread 0035, blocked by 01c8, retrying (60 sec)

the Java function seems to be still active - I believe the exe functions are hanging.

I have tried using winedbg to start the process, however I am no sure how to drive the debugger. I would appreciate some advice on how to go about debugging what may be going on.



Thanks
User avatar
[email protected]
Level 1
Level 1
Posts: 7
Joined: Thu Oct 25, 2012 12:39 am

Re: How to Debug err:ntdll:RtlpWaitForCriticalSection sectio

Post by [email protected] »

I assume I need to install the -dev and/or -dbg packages to get the "?" to turn into a program name ?
Locked