0

I am using Delphi 2009 on Vista Ultimate 64 bit.

I run my application from within the Delphi IDE, and after some time (a minute or 2) my application will hang.

Looking at the event log, the hang is associated with a thread exiting. It is not the main thread, but a thread that has been started just after the module RSAENH.DLL has been loaded.

The app runs normally outside the debugger.

Further info: the app makes extensive use of OpenGL, including shaders and some OpenGL 3 features.

Any suggestions?

1
  • I still have no idea what the problem was, but it appears to have gone away with Delphi XE Oct 5, 2010 at 5:14

1 Answer 1

0

When running the IDE in Vista, the threads view should indicate if a thread is deadlocked and which resources it it waiting for. Check out this blog post on the "Wait Chain Traversal" feature: Tiburon Preview: Vista Wait Chain Traversal

1
  • Hi, thanks for your suggestion. I have checked the Thread Status window, and when the app is hung, all the threads are state Stopped, status Unknown, and there is nothing in the Wait Chain. Aug 6, 2009 at 22:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.