[haiku-bugs] Re: [Haiku] #3417: tcsetpgrp() causes the shell "bsh" to hang infinitely while trying to set tty process group

  • From: "simonsouth" <trac@xxxxxxxxxxxx>
  • Date: Wed, 07 Oct 2015 18:38:11 -0000

#3417: tcsetpgrp() causes the shell "bsh" to hang infinitely while trying to set
tty process group
-------------------------+---------------------------
Reporter: schily | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: - General | Version: R1/pre-alpha1
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
-------------------------+---------------------------

Comment (by simonsouth):

I've also added a program that demonstrates the problem. Without the patch
applied, the program will terminate normally when invoked directly but
loop forever when invoked using either `strace` or the debugger (as it
moves itself to a background process group). With the patch applied the
program will terminate normally in both cases.

--
Ticket URL: <https://dev.haiku-os.org/ticket/3417#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: