Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug: Searching through sufficiently large $historywords causes seg fault
- X-seq: zsh-workers 51733
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Marlon Richert <marlon.richert@xxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Bug: Searching through sufficiently large $historywords causes seg fault
- Date: Tue, 9 May 2023 09:58:53 -0700
- Archived-at: <https://zsh.org/workers/51733>
- In-reply-to: <CAH+w=7anXXUsEJmNkUP=hSSU=MKGKuv+F7m2XA1qUYhqWsxc_g@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAHLkEDuXELQ66nEW+D74q3GiMcoOvNYfBZSSxFKfvZOZopQLkw@mail.gmail.com> <CAH+w=7bp9hix9trxDq1PsHfRuq=nM9LQarrmzkg4j4uDwq+UDA@mail.gmail.com> <CAH+w=7anXXUsEJmNkUP=hSSU=MKGKuv+F7m2XA1qUYhqWsxc_g@mail.gmail.com>
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