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 9:53 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> With 51722, $#historywords is incorrect (returns "51" where it should
> be about 100,000) and I eventually get a segfault after scrolling back
> through the history past the event that was added with "print -S'.

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.




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