Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: core dump with completion.



Tanaka Akira wrote:
> zsh dumps core with completion with following operation.
> $ bin/zsh -f
> is27e1u11% bindkey -e; autoload -U compinit; compinit
> is27e1u11% cvs add <TAB><C-c>
> is27e1u11% A=sh<TAB>zsh: segmentation fault (core dumped)  bin/zsh -f
> 
> The backtrace is follows.
> #0  0xff136bf8 in strlen ()
> #1  0x699a4 in dupstring (s=0x1 <Address 0x1 out of bounds>) at mem.c:494
> #2  0x97c04 in arrdup (s=0x14b094) at utils.c:2234
> #3  0xff1dbb78 in comp_wrapper (list=0x0, w=0x0, name=0x1204d0 "_first")
>     at compctl.c:2412

Something's happening in _first.  This is a no-op by default, so if you have
something different it might help to see it.  If not then... er.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



Messages sorted by: Reverse Date, Date, Thread, Author