Safe almost certainly uses signal handlers; and on the evidence of this code, it apparently doesn't restore any old ones.
The solution might be to wrap reval() with code that saves and restores any existing signal handlers either side of calling that method.
In reply to Re^2: trouble with custom signal handlers
by BrowserUk
in thread trouble with custom signal handlers
by casaschi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |