AV in MadExcept 2.7g
-
- Posts: 8
- Joined: Wed Feb 02, 2005 4:18 am
AV in MadExcept 2.7g
Hi,
When I get an exception in my Application, my application just disappears instead of the MadExcept box showing, when I run it through the Delphi 7 IDE, I get the exception (ie duplicate key) then immediately after I get an AV which if I do a stack trace on appears to be within Madexcept, I then OK to the AV and the application halts immediately.
I have reverted back to version 2.7b as this was the only other installation I could find on my PC. I think this error also occured on v2.7f but I cant be sure, but alls ok with 2.7b
Any ideas?.
Thanks
Clive.
When I get an exception in my Application, my application just disappears instead of the MadExcept box showing, when I run it through the Delphi 7 IDE, I get the exception (ie duplicate key) then immediately after I get an AV which if I do a stack trace on appears to be within Madexcept, I then OK to the AV and the application halts immediately.
I have reverted back to version 2.7b as this was the only other installation I could find on my PC. I think this error also occured on v2.7f but I cant be sure, but alls ok with 2.7b
Any ideas?.
Thanks
Clive.
-
- Posts: 8
- Joined: Wed Feb 02, 2005 4:18 am
Hi Clive,
thanks for the screenshot, it helped me locating the code which is responsible for the crash.
Which OS are you running on? The code location which crashed should only be executed in the win9x family. Are you running in win9x?
Please try this:
ShowMessage('os version: ' + IntToHex(GetVersion, 8));
ShowMessage('magic: ' + IntToHex(madDisAsm.Magic, 8));
thanks for the screenshot, it helped me locating the code which is responsible for the crash.
Which OS are you running on? The code location which crashed should only be executed in the win9x family. Are you running in win9x?
Please try this:
ShowMessage('os version: ' + IntToHex(GetVersion, 8));
ShowMessage('magic: ' + IntToHex(madDisAsm.Magic, 8));
-
- Posts: 8
- Joined: Wed Feb 02, 2005 4:18 am
Ok, that is fine. But look into madExcept.pas in the function "IsProcessBlocked". There is code like this:clivebennett wrote:Im running Windows XP Pro, using D7
os version : OA280105
Code: Select all
if GetVersion and $80000000 = 0 then
DoSomethingNtSpecific
else
DoSomething9xSpecific;
That's the reason for the problems. Do you have any idea why "GetVersion" in "madExcept.IsProcessBlocked" should return something different than it normally does?
Could you please copy "madExcept.pas" and "mad.inc" to your project folder and then change "{$D-}{$L-}" to "{$D+}{$L+}" in "mad.inc"? Afterwards you should be able to step through the "IsProcessBlocked" function. Maybe you can find out what's going on there?
-
- Posts: 8
- Joined: Wed Feb 02, 2005 4:18 am
-
- Posts: 8
- Joined: Wed Feb 02, 2005 4:18 am
-
- Posts: 8
- Joined: Wed Feb 02, 2005 4:18 am