Sorry, I was talking about 9vx/main.c:^main of course. But forget it, it still crashes ... it just takes more time before crashing.I suspected the fork in main() because I do not have (for a very very long time) crash with '-F' flag (ie nofork).
Phil; Philippe Anel wrote:
I rewrote a simple version with fork(). And got a crash until I move :
#ifndef __APPLE__
if(!usetty && !nofork && fork() > 0)
_exit(0);
#endif
before mach0init();
Now it no longer crashes.
Phil;
