From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3259 invoked by alias); 25 Jan 2015 23:51:53 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34398 Received: (qmail 25315 invoked from network); 25 Jan 2015 23:51:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=LrklEcZZ c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=YNv0rlydsVwA:10 a=k7naz6hIkZ1WabS_FQYA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <150125155149.ZM18700@torch.brasslantern.com> Date: Sun, 25 Jan 2015 15:51:49 -0800 In-reply-to: Comments: In reply to Vin Shelton "A05 Test Hang" (Jan 25, 4:28pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "Zsh Hackers' List" Subject: Re: A05 Test Hang MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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.