From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3029 invoked from network); 23 Apr 2007 14:23:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.8 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Apr 2007 14:23:00 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 59053 invoked from network); 23 Apr 2007 14:22:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Apr 2007 14:22:55 -0000 Received: (qmail 17796 invoked by alias); 23 Apr 2007 14:22:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23307 Received: (qmail 17786 invoked from network); 23 Apr 2007 14:22:52 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Apr 2007 14:22:52 -0000 Received: (qmail 58890 invoked from network); 23 Apr 2007 14:22:52 -0000 Received: from ug-out-1314.google.com (66.249.92.171) by a.mx.sunsite.dk with SMTP; 23 Apr 2007 14:22:48 -0000 Received: by ug-out-1314.google.com with SMTP id k3so1241835ugf for ; Mon, 23 Apr 2007 07:22:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OD+UVsMfIh7gpwh9i1+ngFPvn4sB3Vq76QsM92xeLx6LlcIv6YJZ+f8EYCGTiVHJ2tzHeKawgBu0N9oqtJjX5I+Hi8uBsu3L1CmpY+y/unQp863drTZxhD/WWtCVSGwh3+6PuBDnEugFNNUdYxfLM8LJ105Tr3B4wNXb0fRpcnc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tkrfy6WPWHVIS24AMfsbLk9xLTrZermfUxx1FyAa/0+SA7mE++MclqvdblvXbPlw+0jv7p/jfl9j/GkgN1MwOKdAF4EVmD62GTHmMnGtNhxoW9e/IeiSGH8K1KyNBAQxP+XjhIppNzrnIrvQ8e+V8bnPH02henYBuGFGwKdOEks= Received: by 10.78.140.17 with SMTP id n17mr1071958hud.1177338166491; Mon, 23 Apr 2007 07:22:46 -0700 (PDT) Received: by 10.78.45.10 with HTTP; Mon, 23 Apr 2007 07:22:46 -0700 (PDT) Message-ID: <237967ef0704230722u7546461ehd6b3280df79352a0@mail.gmail.com> Date: Mon, 23 Apr 2007 16:22:46 +0200 From: "Mikael Magnusson" To: "Peter Stephenson" Subject: Re: zsh 4.3.4 released Cc: "Zsh hackers list" In-Reply-To: <200704231318.l3NDIONr006499@news01.csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200704161647.l3GGl2FE027950@news01.csr.com> <20070419120758.e9774528.pws@csr.com> <237967ef0704201440g1c072ca8l451439d2ec8578bf@mail.gmail.com> <20070423104151.1f5f368e.pws@csr.com> <237967ef0704230550k41ddb13fy60deebd526ecc5ec@mail.gmail.com> <200704231318.l3NDIONr006499@news01.csr.com> On 23/04/07, Peter Stephenson wrote: > (I've moved this to zsh-workers.) > > "Mikael Magnusson" wrote: > > Here it is with debug symbols, > > Thanks. The crash is when outputting whitespace just before the "esac" > of a case statement. I stepped through it and I couldn't see an obvious > problem. > > It might be locale dependent; what are your settings? Does exporting > a different value for LC_ALL make a difference? > > Could you have a look at the values of the variables > tptr, tbuf, tlim, tsiz, tindent, tnewlins at the point of the crash? > (They're all file static in text.c, where it crashed.) Got the same result with LC_ALL=C and LC_ALL=en_US. 0x080d0ce4 in taddchr (c=9) at text.c:42 42 *tptr++ = c; (gdb) print tptr $8 = 0x2000000
(gdb) print tbuf $9 = 0x0 (gdb) print tlim $10 = 0x4000000
(gdb) print tsiz $11 = 67108864 (gdb) print tindent $12 = -2 (gdb) print tnewlins $13 = 1 -- Mikael Magnusson