tcsetpgrp() causes the shell "bsh" to hang infinitely while trying to set tty process group
|Reported by:||schily||Owned by:||axeld|
bsh forks and the child process calls tcsetpgrp() in order to set the TTY process group of the child to the child process. This is needed in order to redirect signals only to the child.
after bsh calls tcsetpgrp(), tcsetpgrp() calls ioctl() and hangs inside the ioctl.
Workaround: edit the Makefile for bsh and comment out the line with -DJOBCONTROL
Note that bsh worked without problems on Zeta.
bsh is inside the schily source consolidation at:
The named file is the first version that was ported to Haiku
Change History (8)
by , 5 years ago
comment:4 by , 5 years ago
|Component:||- General → System/Kernel|
|Version:||R1/pre-alpha1 → R1/Development|