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

Re: [BUG] sigsegv



> On 28/04/2023 15:13 Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote:
> I'm searching for an empty word, i.e.: I'm just pressing alt-/ right
> after the shell has started.

The crash is when the shell is putting together what's already in your
history into a set of words, so it can use them from completing.  If
you look at the string that is being pared in "bufferwords" at the
point of the crash, which comes from the history entry "he", you should
see a line from your previous command line history.  That's probably
causing the shell some problems --- although there's always the
possibility it might be a previous history entry that's messed things
up, but this is the place to look first.

What you're searching for / completing probably isn't all that important.

Hmm, come to think of it a bit of safety combined with a DPUTS() might
help with both aspects --- I'll see if I've got time for that over
the weekend.

pws




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