The system(3) C library function is seriously broken on MacOS X. It may return with an Interrupted System Call error before the child process has finished its execution, leaving a zombie process. The Ocaml function Sys.command uses the system(3) function, and thus is broken too. Active DVI is one of the applications greatly impacted by this bug, but there may be others. The attached patch, to be applied to the Ocaml compiler, provides a working implementation of the system(3) function. If an Ocaml application uses Sys.command, and unexpectedly fails on MacOS X with "Interrupted System Call" errors, you should apply this patch. -- Sébastien Carlier