Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Exception 204; too many consecutive exceptions; AV.

648 views
Skip to first unread message

Jeremy

unread,
Apr 14, 2003, 5:48:35 PM4/14/03
to
I am converting a D4 app with several dlls to D7.

When the program quits, it issues an error msg 204. I click ok, and I get a
Debugger Fault Notification:

"Project ... raised too many consecutive exceptions: 'access violation
at xxx .."

I stepped through the pgm with the debugger. It ran apparently normally,
right through Application.Run. After exiting this, the debugger took me to
the last line of the project file. When I pressed F8, I got the above msg.

Jeremy

Constantine Yannakopoulos

unread,
Apr 15, 2003, 6:12:16 AM4/15/03
to
Jeremy wrote:

> "Project ... raised too many consecutive exceptions: 'access
> violation at xxx .."

From my experience this sort of error occurs when an object is freed
and you try to call a method on it, usually from a dangling interface
pointer.

Advice: put a breakpoint in a finalization section that executes before
the exception and single-step all finalizations using F7 (step into) to
locate the offending line.

Jeremy

unread,
Apr 15, 2003, 5:43:57 PM4/15/03
to
Constantine,

I've traced this to _Halt0 in system.pas, very near the end. The error
happens on the line

ExitProcess(ExitCode);

Unfortunately, the debugger doesn't step into this, but throws the 204 error
msg.

Do you have any idea what goes on in this? The comments in the code seem to
say that not much happens here.

Jeremy

"Constantine Yannakopoulos" <ky...@deltasingular.remove.this.gr> wrote in
message news:3e9bdb00$1...@newsgroups.borland.com...

Jeremy

unread,
Apr 16, 2003, 2:32:03 AM4/16/03
to
Problem solved. I had 5 or 6 dlls, integrated the code into the main
program, and voila. No doubt there were calling issues -- parameters, etc.

Jeremy

"Jeremy" <jer...@ninprodata.com> wrote in message
news:3e9b0e07$4...@newsgroups.borland.com...

0 new messages