Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug: ZSH crashes upon receiving SIGINT
On Wed, 11 Mar 2015 09:44:47 +0000
Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> On Tue, 10 Mar 2015 17:43:27 -0700
> Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> > So I *think* what's happening is:
> >
> > Bash starts "unshare" which becomes the TTY process group leader.
> >
> > Unshare starts zsh which does not make itself the process group leader
> > (see previous -workers list discussions of zsh executing inside PID
> > namespaces, of which "unshare" creates one).
> >
> > The ^C therefore is delivered to "unshare" which exits, ending the
> > bash script and executing the trap, which removes the tty device.
> >
> > This causes zsh to get I/O error and exit.
> >
> > It's *possible* that this is already "fixed" in development versions
> > of zsh, though most of the PID namespace changes had to do with avoiding
> > being process group leader rather than forcibily becoming so. It's also
> > not clear that this is actually zsh's problem; it seems to me that the
> > arch-chroot script and/or "unshare" are not doing things they should be.
>
> The PID namespace issue I remember is from the docker thread,
> zsh-workers/34503.
I'm wrong, it's the discussion around 33992:
http://www.zsh.org/mla/workers/2014/msg01779.html
This does sound much more similar.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author