From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22267 invoked from network); 22 Aug 2007 16:02:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) 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.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Aug 2007 16:02:57 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 1944 invoked from network); 22 Aug 2007 16:02:50 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Aug 2007 16:02:50 -0000 Received: (qmail 11207 invoked by alias); 22 Aug 2007 16:02:47 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23793 Received: (qmail 11197 invoked from network); 22 Aug 2007 16:02:45 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 22 Aug 2007 16:02:45 -0000 Received: (qmail 1629 invoked from network); 22 Aug 2007 16:02:45 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 22 Aug 2007 16:02:41 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 0397E5CF30; Wed, 22 Aug 2007 12:02:37 -0400 (EDT) Date: Wed, 22 Aug 2007 12:02:37 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: segfault completing "foo$" Message-ID: <20070822160237.GA23377@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-11) Type "foo$" (1-3 tabs, depending on setup, I think) to segfault zsh. #0 0x00002b994d4b47d3 in memcpy () from /lib/libc.so.6 #1 0x000000000046c6ba in dupstrpfx (s=0x77fea1 "foo$\"_", len=) at ../../Src/string.c:146 #2 0x00002b994e210e37 in do_single (m=0x75f170) at ../../../Src/Zle/compresult.c:1154 #3 0x00002b994e211dda in do_ambig_menu () at ../../../Src/Zle/compresult.c:1403 #4 0x00002b994e211925 in do_ambiguous () at ../../../Src/Zle/compresult.c:767 #5 0x00002b994e2079ed in do_completion (dummy=, dat=) at ../../../Src/Zle/compcore.c:401 #6 0x00002b994dfddcf3 in docompletion (s=, lst=, incmd=-8) at ../../../Src/Zle/zle_tricky.c:2035 #7 0x00002b994dfe1022 in docomplete (lst=3) at ../../../Src/Zle/zle_tricky.c:842 #8 0x00002b994dfdbdb0 in completecall (args=) at ../../../Src/Zle/zle_tricky.c:208 #9 0x00002b994dfd08a6 in execzlefunc (func=0x2b994e1ee4f0, args=0x2b994e1f3440, set_bindk=0) at ../../../Src/Zle/zle_main.c:1254 #10 0x00002b994dfd0a9d in zlecore () at ../../../Src/Zle/zle_main.c:1019 #11 0x00002b994dfd10db in zleread (lp=, rp=, flags=, context=) at ../../../Src/Zle/zle_main.c:1174 #12 0x000000000043d080 in ingetc () at ../../Src/input.c:278 #13 0x0000000000437f1a in ihgetc () at ../../Src/hist.c:240 #14 0x0000000000445a5b in gettok () at ../../Src/lex.c:630 #15 0x0000000000446258 in yylex () at ../../Src/lex.c:345 #16 0x0000000000461867 in parse_event () at ../../Src/parse.c:451 #17 0x000000000043baa8 in loop (toplevel=1, justonce=0) at ../../Src/init.c:128 #18 0x000000000043c80c in zsh_main (argc=, argv=0x7fff5e183d58) at ../../Src/init.c:1347 #19 0x00002b994d457b44 in __libc_start_main () from /lib/libc.so.6 #20 0x000000000040f5b9 in _start ()