From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23777 invoked from network); 22 Aug 2008 15:49:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Aug 2008 15:49:16 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 30101 invoked from network); 22 Aug 2008 15:49:09 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Aug 2008 15:49:09 -0000 Received: (qmail 17337 invoked by alias); 22 Aug 2008 15:49:03 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25510 Received: (qmail 17319 invoked from network); 22 Aug 2008 15:49:00 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Aug 2008 15:49:00 -0000 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by bifrost.dotsrc.org (Postfix) with ESMTP id C5B86801E2B4 for ; Fri, 22 Aug 2008 17:48:57 +0200 (CEST) Received: by nf-out-0910.google.com with SMTP id g13so585193nfb.11 for ; Fri, 22 Aug 2008 08:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=OdrTsWDn1k2cwuzMGvQpzAJW+azkpqQfffq3u4+jfiM=; b=rtKYaHhoEzTHdQeM/1RXGBb1QFftmoJ1B0UTUKW6EPgf2apbeTRq7XGmfGpkNNbjHP HFbSmIfBqmw6dGyLoylI3UW0q7JjGaKxs5HupC/rLIplPzvtsVSQXRSmx3EKGwHD+Ght r+OteQyVN5lDr6wEcofKoy4L7Xa4caZhjhQEA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=AgLfUrazqCOs0uBPHwls20DsgNhEPgxs1x7xOAl3elFENcF3KLyque4odtNGJPfciS nkZghENL1X23hkqQyryZRZiZK6eXY8QWxTzK6iFKVpUPXSOqU4SWibqlWMlih70el1Lc bNYcpHN0e2FHgs3D2wEqIJMa9aDXtpxlapPtI= Received: by 10.210.50.5 with SMTP id x5mr1666914ebx.117.1219420137289; Fri, 22 Aug 2008 08:48:57 -0700 (PDT) Received: by 10.210.19.20 with HTTP; Fri, 22 Aug 2008 08:48:57 -0700 (PDT) Message-ID: <237967ef0808220848j7154f499pe16f446aefccb6c8@mail.gmail.com> Date: Fri, 22 Aug 2008 17:48:57 +0200 From: "Mikael Magnusson" To: "Zsh hackers list" Subject: Re: functrace and funcsourcetrace (was Re: PATCH: trace information for sourced files) In-Reply-To: <20080822163335.5153f1be@news01> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6cd6de210808121700kf500ea6p9b3eed0fefadfc8@mail.gmail.com> <20080813204212.4c72c96a@pws-pc> <20080813214318.09f570e7@pws-pc> <20080813220528.24263eb3@pws-pc> <237967ef0808180413q6a98d584k7cd0be52c07550ef@mail.gmail.com> <20080822163335.5153f1be@news01> X-Virus-Scanned: ClamAV 0.92.1/8073/Fri Aug 22 14:48:21 2008 on bifrost X-Virus-Status: Clean 2008/8/22 Peter Stephenson : > On Mon, 18 Aug 2008 13:13:39 +0200 > "Mikael Magnusson" wrote: >> The current cvs zsh crashes for me on any tabcompletion now iff i've >> done a zcompile on the functions dir in /usr/local/share/zsh/blabla. >> The first commit with the crash is "25247 with further modifications: >> add $funcsourcetrace": >> >> % cd >> Program received signal SIGSEGV, Segmentation fault. >> 0x41b6624b in strlen () from /lib/libc.so.6 >> (gdb) bt >> #0 0x41b6624b in strlen () from /lib/libc.so.6 >> #1 0x080bfb10 in dupstring (s=0x3cff9c3
> bounds>) at string.c:39 >> #2 0x08073673 in execautofn (state=0xaf92bf1c, do_exec=0) at exec.c:4075 > > Looking at this part of the trace, I wonder if this is the problem? I think that fixed it, but I'm a bit tired right now so I'm not 100% sure I recompiled everything correctly :). -- Mikael Magnusson