> Is this in a signal handler?
Yes.
> There are tight restrictions on what is allowed
> in a signal handler, not just no forking :)
>
Lauro
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 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.
___
llvm-commits mailing list
Author: laurov
Date: Fri Feb 15 12:05:54 2008
New Revision: 47161
URL: http://llvm.org/viewvc/llvm-project?rev=47161&view=rev
Log:
It is not safe to call fork in PrintStackTrace. Sometimes it freezes the
program.
Modified:
llvm/trunk/lib/System/Unix/Signals.inc
Modified: llvm/trunk/lib/Sys