From: dana <dana@dana.is>
To: Aaron Hall <ahall@vitaphone.net>
Cc: zsh-users <zsh-users@zsh.org>
Subject: Re: zsh hanging when exec'd from bash at login
Date: Mon, 21 Oct 2019 21:33:26 -0500 [thread overview]
Message-ID: <08FEC4A0-3C40-4855-861A-49A4F055494B@dana.is> (raw)
In-Reply-To: <20191021204703.GA18764@freshley.cjoffline.com>
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)
...
prev parent reply other threads:[~2019-10-22 2:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-21 20:47 Aaron Hall
2019-10-22 2:33 ` dana [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=08FEC4A0-3C40-4855-861A-49A4F055494B@dana.is \
--to=dana@dana.is \
--cc=ahall@vitaphone.net \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).