> It is not safe to call fork in PrintStackTrace. Sometimes it freezes the program. Is this in a signal handler? There are tight restrictions on what is allowed in a signal handler, not just no forking :) Ciao, Duncan.