From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26304 invoked from network); 16 Jun 2006 11:04:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 16 Jun 2006 11:04:17 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 29191 invoked from network); 16 Jun 2006 11:04:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Jun 2006 11:04:11 -0000 Received: (qmail 29885 invoked by alias); 16 Jun 2006 11:04:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22493 Received: (qmail 29874 invoked from network); 16 Jun 2006 11:04:07 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 16 Jun 2006 11:04:07 -0000 Received: (qmail 28982 invoked from network); 16 Jun 2006 11:04:07 -0000 Received: from ms-1.rz.rwth-aachen.de (HELO ms-dienst.rz.rwth-aachen.de) (134.130.3.130) by a.mx.sunsite.dk with SMTP; 16 Jun 2006 11:04:06 -0000 Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0J0Y00DN19ETH4@ms-dienst.rz.rwth-aachen.de> for zsh-workers@sunsite.dk; Fri, 16 Jun 2006 13:04:06 +0200 (MEST) Received: from relay.rwth-aachen.de ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Fri, 16 Jun 2006 13:04:05 +0200 (MEST) Received: from fsst.voodoo.lan (u-6-099.vpn.RWTH-Aachen.DE [137.226.102.99]) by relay.rwth-aachen.de (8.13.6/8.13.3/1) with ESMTP id k5GB4583011997 for ; Fri, 16 Jun 2006 13:04:05 +0200 (MEST) Received: from hawk by fsst.voodoo.lan with local (Exim 4.62) (envelope-from ) id 1FrC6h-0003KL-EH for zsh-workers@sunsite.dk; Fri, 16 Jun 2006 13:03:19 +0200 Date: Fri, 16 Jun 2006 13:03:19 +0200 From: Frank Terbeck Subject: Re: Segfaulting script In-reply-to: <20060613231505.GA23239@goomba.ruder> To: zsh-workers@sunsite.dk Mail-followup-to: zsh-workers@sunsite.dk Message-id: <20060616110319.GB2780@fsst.voodoo.lan> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline Operating-System: Linux 2.6.16.16 i686 User-Agent: Mutt/1.5.11+cvs20060403 References: <20060613231505.GA23239@goomba.ruder> Andrew Ruder : > I was writing a script today and was getting a segfault (on what turned > out to be a very incorrect line), but nonetheless... The attached script > when sourced into a running shell causes future tab completion to die. I > have verified this against 4.2.6 and 4.3.2. Looking at a backtrace > seems to show that it is hitting infinite recursion. I think, that's the segfault you talked about on IRC. I don't know if this is the same bug, but it might be closely related: [snip] % zsh -f % testfunc() { local foo=() ; local bar } % testfunc % autoload compinit % compinit [1] 12388 segmentation fault (core dumped) zsh -f [snap] Regards, Frank