[Openais] Discussion about segv handler

Hans Feldt (AS/EAB) hans.feldt at ericsson.com
Tue Nov 21 12:42:03 PST 2006


To start with, there is a bug in the segv handler that has bitten me
pretty bad. As far as I understand there should be a call to exit
instead of returning to the UNIX system. On my UML kernel the system
loops calling the segv handler.

I did not attach a patch since I wanted to discuss the segv handler. If
I get to choose, I prefer a core dump instead of a flushed log when a
segv occurs.

If we could get both the flushed log and core dump it would be nice.

An abort signal handler working the same way would also be useful.

At the moment I always run with a patched print.c since the buffered
logging is no good for AMF that normally exits on an abort (assert). We
need a better solution.

What do you think?

Hans




More information about the Openais mailing list