Error dialog displays then disappears

delphi package - automated exception handling

Error dialog displays then disappears

Postby martin.lawrence » Tue May 07, 2019 4:41 am

We are sometimes getting an error dialog displaying very briefly (about half a second a slow pc) then disappearing. Our dialog should display until there is user input. Any idea what could be causing the dialog fading? This is an intermittent problem - usually we do see the dialog and can manually respond to it.
martin.lawrence
 
Posts: 5
Joined: Tue Jul 31, 2018 11:13 pm

Re: Error dialog displays then disappears

Postby madshi » Tue May 07, 2019 7:42 am

Could this be during process shutdown?
madshi
Site Admin
 
Posts: 10098
Joined: Sun Mar 21, 2004 5:25 pm

Re: Error dialog displays then disappears

Postby martin.lawrence » Tue May 07, 2019 7:47 pm

The error is often during start up
martin.lawrence
 
Posts: 5
Joined: Tue Jul 31, 2018 11:13 pm

Re: Error dialog displays then disappears

Postby madshi » Tue May 07, 2019 10:15 pm

Hmmm... That sounds ugly. It could either be the process running out of memory very quickly and agressively (in which case madExcept might not be able to do its job properly, anymore, either). Or it could be some case of buffer overrun type access violation stuff. If someone overwrites random memory, all hell can break lose.

I'd suggest that you try the "instantly crash on buffer overrun" feature on your development PC. It does eat a lot of additional RAM, though, so in 32bit it may cause your process to fail with "out of memory" problems. But with a bit of luck, it might not. If it works properly, either nothing will happen at all. Or alternatively you might get new access violations at places where your code produces buffer overruns.
madshi
Site Admin
 
Posts: 10098
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 7 guests

cron