bterm (utf-8 console on raw vga16fb framebuffer console) may block indefinitely<br />
leaving the child process as a zombie, when program invoked under bterm<br />
terminates too quickly.<br />
<br />
This seems to be caused by the SIGCHLD delivered too early, when<br />
child_pid = fork();<br />
causes the child to run, all the way to termination before parent gets a timeslice,<br />
and SIGCHLD sent to parent, which is SIG_IGN -ed, as signal handler is still not installed.<br />
Parent may even not have chance to pick up the child_pid value!
↧