From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12253 invoked by alias); 11 Aug 2015 12:18:27 -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: 36097 Received: (qmail 13495 invoked from network); 11 Aug 2015 12:18:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=6Zpp5GqEuyLnQRdGjFX7nNfVU1EU19/Uug6RTB5bMs4=; b=GDcKXSqfo53Om3j3WGDkZB1kVBVb411FtjvwdDBf5jtSFmPGN7p0hr+kZZPbyH6bIe kS4ZPW2JviKZNKKMf/OmbRKhfHdHSH36G6OPda6aeztvmi6mpza5F92Muw6j7Sdm7I5L BWqsY0yGhemzkv7BqxGR+HykxdXEdM9aXkcxQNEg0JMpougfYuIOakCgAZRnMPpbjnN8 ybP81tY7/fa1+LSIc/hSlQAoDofCdEk28+almtJxgpYpOlQxnx3GP9unihZprMXORJdt o8u4bIPndpyT9Q5ThW7dAOw1mCH1Xrd9cXBW8wZV9XZMMgHd+yXMEaqy6UYf9b+8MEfh zlPA== X-Received: by 10.60.69.200 with SMTP id g8mr23954618oeu.40.1439295502576; Tue, 11 Aug 2015 05:18:22 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <150810175343.ZM24452@torch.brasslantern.com> References: <150803085228.ZM24837@torch.brasslantern.com> <150803135818.ZM24977@torch.brasslantern.com> <150804235400.ZM9958@torch.brasslantern.com> <150805085258.ZM17673@torch.brasslantern.com> <150805115249.ZM7158@torch.brasslantern.com> <150805132014.ZM7746@torch.brasslantern.com> <150805220656.ZM18545@torch.brasslantern.com> <150806085451.ZM402@torch.brasslantern.com> <150806223906.ZM17762@torch.brasslantern.com> <150810123445.ZM1612@torch.brasslantern.com> <150810175343.ZM24452@torch.brasslantern.com> From: Mathias Fredriksson Date: Tue, 11 Aug 2015 15:17:42 +0300 Message-ID: Subject: Re: Deadlock when receiving kill-signal from child process To: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 On Tue, Aug 11, 2015 at 3:53 AM, Bart Schaefer wrote: > On Aug 11, 1:53am, Mathias Fredriksson wrote: > > Interesting. I deliberately excluded preprompt() from the signal queue > in my init.c:loop() edit. Try this: Ah, that would explain why it happened again. Unfortunately, that patch seems insufficient: #0 0x00007fff8abfe72a in __sigsuspend () #1 0x00000001013bc3e9 in signal_suspend () #2 0x0000000101392fc1 in zwaitjob () #3 0x0000000101392e0c in waitjobs () #4 0x0000000101374314 in execpline () #5 0x0000000101373687 in execlist () #6 0x000000010139a988 in execif () #7 0x000000010137a45a in execcmd () #8 0x0000000101373f69 in execpline () #9 0x00000001013733cc in execlist () #10 0x000000010139a988 in execif () #11 0x000000010137a45a in execcmd () #12 0x0000000101373f69 in execpline () #13 0x00000001013733cc in execlist () #14 0x00000001013731f2 in execode () #15 0x000000010137701e in runshfunc () #16 0x0000000101376a4b in doshfunc () #17 0x000000010137cf4d in execshfunc () #18 0x000000010137abb7 in execcmd () #19 0x0000000101373f69 in execpline () #20 0x00000001013733cc in execlist () #21 0x00000001013731f2 in execode () #22 0x000000010137701e in runshfunc () #23 0x0000000101376a4b in doshfunc () #24 0x00000001013caf96 in callhookfunc () #25 0x00000001013cb20f in preprompt () #26 0x000000010138cfca in loop () #27 0x000000010138ffa7 in zsh_main () #28 0x00007fff8610c5c9 in start ()