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

Re: Bug#459896: Segfaults in "apt-c(" completion



Clint Adams wrote:
> On Wed, Jan 09, 2008 at 01:20:04PM +0100, Loïc Minier wrote:
> >  while typo-ing I crashed zsh as follows, reproduced with a new user,
> >  withing gdb, with zsh-dbg installed:
> >  bee% autoload -U compinit
> >  bee% compinit
> >  bee% apt-c(^I
> >     (that's "apt-c" + "(" + tab)

Doesn't happen here, but in any case I suspect this is some quite basic
problem since the "(" forces the shell to complete all possible commands
after it.  So it's simply searching the entire set of tables for things
that can occur in command position.  It's probably some memory
allocation thing.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



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