| RE: .1 No, it's not linked /NOTRACE.
The $CREPRC does specify a termination mailbox for the subprocess.
Currently this is the only data we get from the subprocess when
it unexpectedly dies. Unfortunately, you can get the final status
code of the subprocess but not the parameters that go with it.
Could the use of a termination mailbox block the process dump somehow?
Another note, and this is weird: it seems that the image continues
to run AST code after the accvio happens. When it gets to a certain
point when I know the accvio has already happened, the subprocess
is still doing stuff!! Then finally (I assume when something else
happens, sorta like a DBLE-ERR HLT on a 780) the subprocess finishes
dying and issues the message to the termination mailbox.
IS THIS POSSIBLE? for AST code to still execute after an exception
has occurred???
Rico
|
| Process dumps occur if an image terminates due to an unhandled exception; I'd
guess the last-chance condition handler causes the dump to take place, just
as it normally prints out the ACCVIO message and the register dump. Or maybe
this is handled by an exception handler in a frame pushed on the user stack
before you begin executing; same effect.
If for any reason the image terminates in some other way, you won't get a dump.
I suspect - I'm about to try find out, as I'm about to embark on debugging a
problem in a similar situation - that if a program is run with the debugger
it will never dump, because the debugger will always pick up the exception.
As to AST's running after the ACCVIO: An ACCVIO is just an exception. If it
occurs during non-AST execution, the search for a handler, and the execution
of any handlers found, should be interruptable by AST's. If you've got a
big stack, especially one where a lot of frames declare handlers, it could
take a long time to deal with the exception. AST's can begin during that
period. (In fact, if an AST during that period does a $EXIT, the program
would probably terminate without ever dealing with the ACCVIO - hence, no
dump.)
-- Jerry
|