[DUG] Hang during Sleep

Ross Levis ross at stationplaylist.com
Mon May 14 17:33:27 NZST 2012


Perhaps someone can offer some clues to the problem.  A user is experiencing
a hang during a Sleep(5) function!  It's Win7 64-bit Hyperthreaded Intel 4
core CPU.

 

With MadExcept, it is showing the following.

 

exception message : The application seems to be frozen.

main thread ($9f4):

771dfd6a ntdll.dll                            NtDelayExecution

75ce31b5 KERNELBASE.dll                       SleepEx

75ce3a86 KERNELBASE.dll                       Sleep

005dc66b SPLStudio.exe  StudioMain  6808   +9 LoopSleep

 

3 known threads are sitting at a Synchronize/NtWaitForSingleObject waiting
for the current procedure in the main form to finish, which is sitting at
Sleep(5).  I would expect that.

 

Another thread is also sitting at NtWaitForSingleObject but it doesn't say
what the thread class name is so not sure what it is.

 

Another unknown thread is at NtWaitForMultipleObjects.

 

And another unknown thread is at NtWaitForWorkViaWorkerFactory.

 

I know about the 3 threads waiting at Synchronize, but they shouldn't be a
problem. 

 

What can cause a Sleep(5) to hang for over 90 seconds?

 

I can send the full bugreport.txt file if useful.

 

Thanks,

Ross.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20120514/82becf41/attachment.html 


More information about the Delphi mailing list