delphi package - automated exception handling
- Posts: 7
- Joined: Thu Dec 17, 2020 9:24 am
When I close the app, an error occurs:
Problem Event Name: APPCRASH
Fault Module Name: madExcept_.bpl_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 5c00272f
How to understand why?
- Site Admin
- Posts: 10341
- Joined: Sun Mar 21, 2004 5:25 pm
It's hard to say without having a lot more information.
Is it possible that your application has secondary threads running which aren't fully closed yet when your application closes? That might produce an error like this. Please make sure that all your secondary threads have either run through or are "paused". For example, imagine a secondary thread tries to allocate some memory while the main thread has already finalizes the memory manager! Of course that would result in a crash.