zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "Zsh Hackers' List" <zsh-workers@zsh.org>
Subject: Re: A05 Test Hang
Date: Sun, 25 Jan 2015 15:51:49 -0800	[thread overview]
Message-ID: <150125155149.ZM18700@torch.brasslantern.com> (raw)
In-Reply-To: <CACeGjnUX0-_H868MCq5rudK=0GgYsoVLrFsmkhhO9+T=7q5grg@mail.gmail.com>

On Jan 25,  4:28pm, Vin Shelton wrote:
}
} With latest sources, I'm getting a hang up on A05:

Yes, this used to happen intermittently for me but with the latest
revision from git it now happens very consistently for me.

I have one shell stopped (job state "T", as if it got SIGTTOU or SIGTTIN)
here:

#1  0x00000000004a5225 in settyinfo (ti=0x7fff15c1ecc0) at utils.c:1626
#2  0x00000000004a654b in read_poll (fd=0, readchar=0x7fff15c1ef78, polltty=1, 
    microseconds=5000000) at utils.c:2332
#3  0x0000000000423efb in bin_read (name=0x2b528371bbb8 "read", 

And its child stopped here:

#0  0x00002b5282b0de70 in __close_nocancel ()
    at ../sysdeps/unix/syscall-template.S:82
#1  0x000000000042d92a in execpline2 (state=0x7fff15c1ff70, pcode=355, how=2, 
    input=0, output=0, last1=0) at exec.c:1748
#2  0x000000000042c87a in execpline (state=0x7fff15c1ff70, slcode=22530, 
    how=2, last1=0) at exec.c:1485
#3  0x000000000042bf38 in execlist (state=0x7fff15c1ff70, dont_change_job=1, 
    exiting=0) at exec.c:1268
#4  0x000000000042b95a in execode (p=0x2b528371b630, dont_change_job=1, 
    exiting=0, context=0x4b061f "eval") at exec.c:1074

If I back out the changes to polltty handling in read_poll() from 34365
(git commit 4688de16772beffc315bbf765475a2932cbd8628) it works again.


  reply	other threads:[~2015-01-25 23:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-25 21:28 Vin Shelton
2015-01-25 23:51 ` Bart Schaefer [this message]
2015-01-26  0:01   ` Bart Schaefer
2015-01-26 10:09     ` Peter Stephenson
2015-01-26 16:35       ` Bart Schaefer
2015-01-26 16:40         ` Peter Stephenson

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=150125155149.ZM18700@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@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).