Gr�goire Colbert <[EMAIL PROTECTED]> writes:


[...]

> previous message, you wrote that the signal was SIGSEGV, and here, the
> main process quits gracefully (exit(0)). That's odd.

process starts

it forks

one is the monitoring process

the other one is the "real" one

when the real one terminates, the monitoring process examines the signal
or error code. if there is something interesting, it prints it (prints
"received signal 11")

then the monitoring process exits gracefully with error code 0



this may be a bit more complex than that, but this is the relevant part.



-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/

Reply via email to