I am all of the sudden getting a "Debugger Fault Notification, system exception..." error message when I close the application and returns to the IDE (Delphi 2010). The strange thing is that I have stepped through the code right to where the application actually exists without any errors, so this happens only once returning to the IDE. I also tried to checkout a couple of older versions but the same error occurs now even with those versions too.

I am all of the sudden getting a "Debugger Fault Notification, system exception..." error message when I close the application and returns to the IDE (Delphi 2010). The strange thing is that I have stepped through the code right to where the application actually exists without any errors, so this happens only once returning to the IDE. I also tried to checkout a couple of older versions but the same error occurs now even with those versions too.

The CPU window stops on:
ntdll.RtlEnterCriticalSection:
...
775BB2E3 F00FBA3000 lock btr dword ptr [eax],$00


Any ideas?

Comments

  1. It may be something bad that happens in an event handler, a message handler, or in a unit finalization - such as using a reference that has been destroyed elsewhere.
    Your full callstack should tell you more. If you are not already using Eurekalog or MadExcept - you should.

    ReplyDelete
  2. Lars Fosdal Thank you. I have eventually restarted Windows and the error just disappeared. No idea what the cause was though. BTW installed madExcept.

    ReplyDelete

Post a Comment