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

Re: uhmm, another segmentation fault (not a real reply)

(Moved to zsh-workers.  The original had an executable attachment in it,
so our spam filter blocked it, so I'm having to compose a new message.
There's a faint chance an earlier version escaped from the web
interface, but I don't think so.)

> From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
>  lama:~>mutt ali<TAB>
>  interactive: ali[]
> Then I pressed "c" and whooooie:
>  lama:~>mutt ali[1]    30401 segmentation fault (core dumped)  zsh

Unfortunately, we are still well short of having enough information to
reproduce this:
1. it appears to have something to do with interactive completion (I'm not
an expert on this but you haven't in any case told us how you have
this set up as far as I can see)
2. it depends on your Mutt aliases file whose format, let alone contents, I
don't currently know.  (I don't have time to learn Mutt to fix zsh
bugs, unfortunately)
3. it depends on your completers, which appear to include some form
of approximation
4. it depends on the results of the smart email address matching which I
had to hack about to get only MUTT aliases, guessing what they were.
(There's nothing you can do about this last one, but it is an additional

After all that, even with extra information, it's so complicated I don't
have much hope of reproducing it, but please feel free to supply the
extra details.

It's possible the key features are interactive completion with approximation.
Can you find a simpler way of reproducing it?  E.g. a simple completion
producing the same results, such as

_testali() { compadd <mail aliases...> }
compdef _testali testali
testali ali<TAB>


(We could do with some form of automated bug report script for
completion, I suppose.)

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