Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh hanging when exec'd from bash at login



It seems to be hanging in acquire_pgrp() (see annotated strace below). I guess
it's trying to make itself the process group leader and take over the TTY? But
i don't understand what it's getting stuck on

(Maybe should move this to workers)

dana


jobs.c@2929: getpgrp()                               = 6976
jobs.c@2935: rt_sigprocmask(SIG_BLOCK, [TSTP TTIN TTOU], [], 8) = 0

jobs.c@2936: ioctl(10, TIOCGPGRP, [7096])            = 0
jobs.c@2937: getpgrp()                               = 6976
jobs.c@2945: ioctl(10, TIOCGPGRP, [7096])            = 0
jobs.c@2947: rt_sigprocmask(SIG_SETMASK, [], [TSTP TTIN TTOU], 8) = 0
jobs.c@2948: read(0, NULL, 0)                        = -1 EIO (Input/output error)
jobs.c@2949: rt_sigprocmask(SIG_BLOCK, [TSTP TTIN TTOU], [], 8) = 0
jobs.c@2950: getpgrp()                               = 6976

jobs.c@2936: ioctl(10, TIOCGPGRP, [7096])            = 0
jobs.c@2937: getpgrp()                               = 6976
jobs.c@2945: ioctl(10, TIOCGPGRP, [7096])            = 0
jobs.c@2947: rt_sigprocmask(SIG_SETMASK, [], [TSTP TTIN TTOU], 8) = 0
jobs.c@2948: read(0, NULL, 0)                        = -1 EIO (Input/output error)
jobs.c@2949: rt_sigprocmask(SIG_BLOCK, [TSTP TTIN TTOU], [], 8) = 0
jobs.c@2950: getpgrp()                               = 6976

jobs.c@2936: ioctl(10, TIOCGPGRP, [7096])            = 0
jobs.c@2937: getpgrp()                               = 6976
jobs.c@2945: ioctl(10, TIOCGPGRP, [7096])            = 0
jobs.c@2947: rt_sigprocmask(SIG_SETMASK, [], [TSTP TTIN TTOU], 8) = 0
jobs.c@2948: read(0, NULL, 0)                        = -1 EIO (Input/output error)
...



Messages sorted by: Reverse Date, Date, Thread, Author