Com Server

delphi package - automated exception handling
Post Reply
etwoss
Posts: 23
Joined: Thu Aug 04, 2016 11:45 am

Com Server

Post by etwoss »

Hi

I also have a Com Server (DLL) which i'm testing now with madExcept.
I have added a simple Stringlist.Add('') without creating the stringlist

De Debugger fault application shows "Project C:\Windows\System32\ddlhost.exe defaulted with message '.... ACCESS_VIOLATION',. processed Stopped.

It now keeps looping this error

I have

Code: Select all

  MESettings.AutoContinue      := True;     // automatically continue application
  MESettings.AutoRestart       := 0;        // automatically restart application
  MESettings.AutoClose         := 0;        // automatically close application
Any assistance is appreciated

Eric
etwoss
Posts: 23
Joined: Thu Aug 04, 2016 11:45 am

Re: Com Server

Post by etwoss »

Hi

What i would like is that the BugReport is made and the Com Server continues

Eric
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Com Server

Post by madshi »

It's hard to comment on this without seeing your source code.

Does it make sense to you that the crash keeps looping? Is the COM method that raises the crash called repeatedly? E.g. by timer or something?

Generally structured exception handling works like this: When a crash occurs, the nearest try..except block gets activated. If the try..except block resolves the exception, the thread continue execution directly after the try..except block. Otherwise, the next nearest try..except block gets activated etc. madExcept just reports the crashes, madExcept does not really has much influence on where the thread continues execution. It's more your code that is reponsible for that.
etwoss
Posts: 23
Joined: Thu Aug 04, 2016 11:45 am

Re: Com Server

Post by etwoss »

Hi

The Com Server gets an Access violation.
Without MadExcept the Com Client gets an "External Exception" once.
So i would expect MadExcept to send a bug report for the Access Violation.

Eric
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Com Server

Post by madshi »

Can't really say much more right now about this, with the limited information I have.
Post Reply