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

Re: Bug: Searching through sufficiently large $historywords causes seg fault



On Tue, May 9, 2023 at 12:01 PM Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> On Tue, 2023-05-09 at 09:58 -0700, Bart Schaefer wrote:
> >
> > Scratch that ... I had not correctly recompiled.  After correctly
> > recompiling, I can't reproduce the segmentation fault at all with
> > 51722, but the event added with "print -S" is entirely missing from
> > $historywords even though it is found when scrolling the history.
>
> That sounds fine --- it's the division into words, not the line, that's
> causing the problems which this avoids.

It's fine that an event is missing from historywords?  Doesn't that
mean that we've just skipped over the problem code rather than figure
out why it's wrong?




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