Error dialog displays then disappears
-
- Posts: 5
- Joined: Tue Jul 31, 2018 11:13 pm
Error dialog displays then disappears
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.
Re: Error dialog displays then disappears
Could this be during process shutdown?
-
- Posts: 5
- Joined: Tue Jul 31, 2018 11:13 pm
Re: Error dialog displays then disappears
The error is often during start up
Re: Error dialog displays then disappears
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.
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.