DragonFly bugs List (threaded) for 2005-12
Re: Hang on ctrl+Z after the MPSAFE tsleep/wakeup commit
:After the following commit, stopping a user process with SIGSTOP
:does not give control to the shell:
:It only happens with a program which does fork() inside it. Here's
:a simple program to demonstrate this.
:$ gcc -g -Wall a.c && ./a.out cat
:(press ctrl+Z here, and it accepts no other signals until you send
:SIGCONT to the child process from another screen)
:`ps' command shows that the stuck processes are marked as "TL+"
:(meaning that they didn't give up even after having been stopped?).
Ah ha! I have reproduced it. I was running './a.out cat' separately,
from csh, while you were running it from /bin/sh.
When I changed over to /bin/sh the problem reproduced.
I'll get it fixed today, hopefully soon.