From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19046 invoked from network); 13 Dec 2006 10:45:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Dec 2006 10:45:54 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 98139 invoked from network); 13 Dec 2006 10:45:43 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Dec 2006 10:45:43 -0000 Received: (qmail 23209 invoked by alias); 13 Dec 2006 10:45:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23047 Received: (qmail 23200 invoked from network); 13 Dec 2006 10:45:35 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 13 Dec 2006 10:45:35 -0000 Received: (qmail 97514 invoked from network); 13 Dec 2006 10:45:35 -0000 Received: from cluster-c.mailcontrol.com (168.143.177.190) by a.mx.sunsite.dk with SMTP; 13 Dec 2006 10:45:31 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly20c.srv.mailcontrol.com (MailControl) with ESMTP id kBDAb1Hl030756 for ; Wed, 13 Dec 2006 10:45:25 GMT Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Wed, 13 Dec 2006 10:44:49 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.8/8.13.4) with ESMTP id kBDAilrJ003544 for ; Wed, 13 Dec 2006 10:44:47 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.13.8/8.13.8/Submit) with ESMTP id kBDAik2a003541 for ; Wed, 13 Dec 2006 10:44:47 GMT Message-Id: <200612131044.kBDAik2a003541@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk Subject: Re: garbage input crashes zsh In-reply-to: <20061212203204.GF22194@lorien.comfychair.org> References: <20061212203204.GF22194@lorien.comfychair.org> Comments: In-reply-to Danek Duvall message dated "Tue, 12 Dec 2006 12:32:04 -0800." Date: Wed, 13 Dec 2006 10:44:46 +0000 From: Peter Stephenson X-OriginalArrivalTime: 13 Dec 2006 10:44:49.0092 (UTC) FILETIME=[B655B040:01C71EA3] Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MailControl A-07-06-80 (www.mailcontrol.com) on 10.67.0.130 Danek Duvall wrote: > This is with 4.2.5 on both Solaris and Linux (and I've reproduced with > 4.3.2 on Linux). Someone at Sun filed this bug; I don't know how much > y'all care. Thanks, this is always useful to know. > zsh -f < test_8 > > where test_8 is the attached file. I've got a couple more such files, all > of which leave a core file with the same stack trace, FWIW. It seems to be OK with the latest version (lots of errors, of course, but no damage), but I can get the crash with the tip of the 4.2 branch. It seems to be doing something wayward in (what looks to it like) a complicated pattern match. If I get a chance I'll try to work out what fixed it, but it could be complicated since the pattern code has changed quite a lot owing to adding multibyte support. It's quite possibly a simple error to do with metafication; a number of those turned up along the way. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php