From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28066 invoked from network); 11 Jun 2000 07:42:38 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 11 Jun 2000 07:42:38 -0000 Received: (qmail 22785 invoked by alias); 11 Jun 2000 07:42:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11862 Received: (qmail 22773 invoked from network); 11 Jun 2000 07:42:28 -0000 From: "Bart Schaefer" Message-Id: <1000611074223.ZM32326@candle.brasslantern.com> Date: Sun, 11 Jun 2000 07:42:23 +0000 In-Reply-To: <1000611064807.ZM32187@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Bug in colored listings with backreference patterns?" (Jun 11, 6:48am) References: <1000611064807.ZM32187@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: Bug in colored listings with backreference patterns? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Possibly related is a repeatable core dump I'm getting. ------------------------------------------------------------------------ setopt extendedglob # Doc for ZLS_COLORS should mention this zstyle ':completion:*:zsh-options' list-colors \ 'no=22:=(#b)(sh|csh|ksh)#(*glob*)#*=39=04;32=31' # The above crashes the shell, but if this 04; ^^^ is removed, it works. ------------------------------------------------------------------------ I have zsh-mem-debug enabled, and it appears to be dereferencing through what used to be a pointer inside a struct that has since been freed (it's dereferncing 0xffffffff), possibly in getcoldef() -- the stack is mostly garbage, even running inside GDB. What you should see if the pattern above works, is that all options that start with sh|csh|ksh are underlined and have the shell name in green; if the substring "glob" appears, then the rest is in red (still underlined); and all other options that contain "glob" are in red (but not underlined). -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net