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

Re: crash with tab completion for 'make'



On Sun, Dec 11, 2005 at 10:47:32PM +0200, Oded Shimon wrote:
> 22:45 ods15@crate15 ~ $ zsh --version
> zsh 4.2.6 (i686-pc-linux-gnu)
> 
> 22:43 ods15@crate15 ~ $ zsh -ic 'compinit; _make'
> zsh: 16202 segmentation fault  zsh -ic 'compinit; _make'

I narrowed down the crash to something more specific.

15:04 ods15@crate15 ~ $ zsh -c 'a(){zparseopts -D -A opts c: r:}; a -r bla'
zsh: 27128 segmentation fault  zsh

this change fixes it:

15:05 ods15@crate15 ~ $ zsh -c 'a(){zparseopts -D -A opts c: r: g:}; a -r bla'
15:05 ods15@crate15 ~ $

Basically, whatever is the last element in the 'zparseopts' call, causes a 
crash.

- ods15



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