From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128 invoked from network); 30 Oct 2008 15:50:44 -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.5 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; 30 Oct 2008 15:50:44 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 29134 invoked from network); 30 Oct 2008 15:50:37 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Oct 2008 15:50:37 -0000 Received: (qmail 12054 invoked by alias); 30 Oct 2008 15:50:29 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25970 Received: (qmail 12039 invoked from network); 30 Oct 2008 15:50:28 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 30 Oct 2008 15:50:28 -0000 Received: from n32.bullet.mail.ukl.yahoo.com (n32.bullet.mail.ukl.yahoo.com [87.248.110.149]) by bifrost.dotsrc.org (Postfix) with SMTP id B20DF80524C0 for ; Thu, 30 Oct 2008 16:50:24 +0100 (CET) Received: from [217.146.182.178] by n32.bullet.mail.ukl.yahoo.com with NNFMP; 30 Oct 2008 15:50:23 -0000 Received: from [87.248.111.149] by t4.bullet.ukl.yahoo.com with NNFMP; 30 Oct 2008 15:50:23 -0000 Received: from [127.0.0.1] by omp206.mail.ukl.yahoo.com with NNFMP; 30 Oct 2008 15:50:23 -0000 X-Yahoo-Newman-Id: 903722.82819.bm@omp206.mail.ukl.yahoo.com Received: (qmail 65449 invoked from network); 30 Oct 2008 15:43:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Received:In-reply-to:To:From:References:Subject:Date:Message-ID; b=Q/DedjyG8tuP74kyoP8Ovhg4aAZAB2ZoPHYw8NvAIQ/CrYUAAK/FTVNna2hheta5KJvDZVrWZ3BQeDbXZn0FHgJ+WGKe7p4jYTpMEMXYqdZ2pdHaZ5Hy2GpwDNUQ+J6+RXqkk8f2EYQKbUs/f5V9eZGwenUezHp4IcsNiFbg+rI= ; Received: from unknown (HELO thecus) (okiddle@89.60.226.101 with plain) by smtp120.mail.ukl.yahoo.com with SMTP; 30 Oct 2008 15:43:41 -0000 X-YMail-OSG: 4_fdarUVM1kuS05ZPWkd4LpSVpxHTjzuQknrrJbUfy0UvsqPxrAYD_YhzqvcdcYU7JQhZEDQx.EBrZb27Z7M70LQ1Zo.9CPwAmf77m9z7KyTXjXQ.Tq5W638_VT2aBKSxccJcLLyHakiHMzZz61laETAj7ODb6.eu4Y02_k- X-Yahoo-Newman-Property: ymail-3 Received: from localhost ([127.0.0.1] helo=thecus) by thecus with esmtp (Exim 4.63) (envelope-from ) id 1KvZgS-0004zU-Mm for zsh-workers@sunsite.dk; Thu, 30 Oct 2008 16:43:40 +0100 In-reply-to: <18981.1225379134@thecus> To: Zsh workers From: Oliver Kiddle References: <24068.1225366130@thecus> <20081030121715.0f3959b5@news01> <1607.1225372412@thecus> <20081030141153.5c53405f@news01> <18981.1225379134@thecus> Subject: Re: completion matching problem with 4.3.8 Date: Thu, 30 Oct 2008 16:43:40 +0100 Message-ID: <19187.1225381420@thecus> X-Virus-Scanned: ClamAV 0.92.1/8542/Thu Oct 30 15:23:43 2008 on bifrost X-Virus-Status: Clean I wrote: > My gcc build is failing on configure but I'll let you know. Turns out it was finding libgdbm in /opt/csw but needed the rpath setting up. Anyway, the gcc built zsh also has the problem so it isn't compiler related. I tried running the minimal zsh -f, compctl test on Linux through valgrind and I get the following message. Maybe valgrind has found the source of the problem: ==647== Conditional jump or move depends on uninitialised value(s) ==647== at 0x66E0ADD: pattern_match_restrict (compmatch.c:1276) ==647== by 0x66E1781: bld_line (compmatch.c:1811) ==647== by 0x66E26D4: join_sub (compmatch.c:2123) ==647== by 0x66E2E96: join_psfx (compmatch.c:2362) ==647== by 0x66E42C4: join_clines (compmatch.c:2805) ==647== by 0x66DAF04: add_match_data (compcore.c:2879) ==647== by 0x68FA4BE: addmatch (compctl.c:2020) ==647== by 0x6900018: makecomplistflags (compctl.c:3629) ==647== by 0x68FBBCF: makecomplistlist (compctl.c:2595) ==647== by 0x68FBAA6: makecomplistor (compctl.c:2559) ==647== by 0x68FBA30: makecomplistcc (compctl.c:2536) ==647== by 0x68FB864: makecomplistcmd (compctl.c:2492) Valgrind also finds some leaked memory from parse_class (complete.c:467) with the same test. Oliver