From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19547 invoked by alias); 10 Aug 2015 02:02:20 -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: 36036 Received: (qmail 1682 invoked from network); 10 Aug 2015 02:02:18 -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:date:message-id:subject:from:to :cc:content-type; bh=F7E1aIm3ZJgQzTktQYE+usQHGI9HJYIZeGF0HJpMbiQ=; b=EtTqsyJ6L+hvs18QOerdy1pIJjFUeo1eqtInOSePuw3tUHOwj7cA8S6cVv2JgRf3N7 lQYPvP6NT0WX0SxyzRfw8IcbYDiDdSe9CLBsZlFH/Tc2r52nIvktQMWiaSxc6D42uNKI sn90u/pDuLRBsKTGnCL5A7UWLTdWYoIjg1gmqqerFdwGM38dVPuCYelREWc4exbVg9sv Z2/d9ZI9vsMo4XX3p1CC+fFH9MINUQYNKq+gYjUd5kZ4F5VnMoGM2i+9XNDL+36GAkzy mE0vzMlNRtirKXyw6LPxEraAAUjtNm+hu+JGmAwrU2RdvesCdOFuMtEtnqqs2rHNTaY2 LV0Q== MIME-Version: 1.0 X-Received: by 10.107.169.138 with SMTP id f10mr17877931ioj.75.1439172135764; Sun, 09 Aug 2015 19:02:15 -0700 (PDT) In-Reply-To: <150809184740.ZM17656@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> <150809164225.ZM10049@torch.brasslantern.com> <150809184740.ZM17656@torch.brasslantern.com> Date: Mon, 10 Aug 2015 04:02:15 +0200 Message-ID: Subject: Re: Deadlock when receiving kill-signal from child process From: Mikael Magnusson To: Bart Schaefer Cc: zsh workers Content-Type: text/plain; charset=UTF-8 On Mon, Aug 10, 2015 at 3:47 AM, Bart Schaefer wrote: > On Aug 10, 3:16am, Mathias Fredriksson wrote: > } > } I'm thinking this might be correct, at least doing a "make clean && > } make" and running from Src/zsh did not give any more meaningful > } output: > > On what platform are you building this, and is there anything in your > environment that might be causing optimization flags to be passed to > your C compiler? > > Because this looks like optimized stack traces, and configuring with > --enable-zsh-debug is supposed to disable optimization, so if that's > not working we may need to update config.ac. I think --enable-zsh-debug only sets the DEBUG define, and nothing more. If you want to debug you should put appropriate things in CFLAGS before running configure depending on your compiler. I use -march=native -pipe -gdwarf-4 -fvar-tracking-assignments -g3 -Og -Og needs relatively recent gcc, if you don't have it, use -O0 or -O1 instead. -- Mikael Magnusson