Crash on overrrun not enabling?

delphi package - automated exception handling

Crash on overrrun not enabling?

Postby zunzster » Mon Jun 01, 2020 4:36 am

Hi all

I've been trying to track down an intermittent heap corruption issue that occurs on our build machines when they run our full regressions suites.
I've built an executable with the madExcept 'crash on overrun' feature turned on and it happily runs in that mode on my laptop, and I can see the expected dramatic increase in memory use getting to the main menu. And I've since found some read overruns, but not writes overruns yet doing some simple tests on my laptop.

However, when I copy that same executable over to the regression machine where we run the full regressions in a RAM drive and launch it, it just shows the normal amount of memory use so I think the 'crash overrun' memory manager has not installed itself. Has anyone else ever seen that?

Any ideas how I might troubleshoot this or determine why the 'crash on overrun' checker isn't enabling?

Oh, just to offer some important context - this is using madExcept 5 with Delphi 10.1 Berlin in a 64-bit application since the intermittent AVs only happen in 64-bit builds of our application.
So I was very happy that madExcept 5 supports overrun checking in 64-bit applications now :-)

Cheers,
Paul.
zunzster
 
Posts: 58
Joined: Wed Oct 29, 2008 3:43 am

Re: Crash on overrrun not enabling?

Postby zunzster » Mon Jun 01, 2020 5:13 am

Doh - I looked at the madExcept source code and figured it out.
I needed to copy madExcept32.dll and madExcept64.dll onto the Regressions machine and ensure they were in the PATH.
That's probably documented somewhere but I'd never read it.
zunzster
 
Posts: 58
Joined: Wed Oct 29, 2008 3:43 am

Re: Crash on overrrun not enabling?

Postby madshi » Mon Jun 01, 2020 4:34 pm

You can also simply copy them to the same folder your exe file is stored in, instead of using PATH.
madshi
Site Admin
 
Posts: 10274
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: Google [Bot] and 24 guests

cron