zsh-workers
 help / color / mirror / code / Atom feed
* Re: uhmm, another segmentation fault (not a real reply)
@ 2007-11-29 14:47 Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2007-11-29 14:47 UTC (permalink / raw)
  To: Zsh hackers list, Andy Spiegl

(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@spiegl.de>
>  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
hindrance.)

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@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-29 14:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-29 14:47 uhmm, another segmentation fault (not a real reply) Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).