Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Segfault upon interrupt of completion - opinions?
- X-seq: zsh-workers 53361
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Segfault upon interrupt of completion - opinions?
- Date: Wed, 12 Feb 2025 09:36:14 +0000 (GMT)
- Archived-at: <https://zsh.org/workers/53361>
- Importance: Normal
- In-reply-to: <CAH+w=7YV0ghPwSPpiG=W4NSQ9amCF3BKPZiZpuTXA_iTS33R=w@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7ZKqb-iy6AAeiU4viaX-5ho=zRTZ7Zfu+KOrRW_zKOUfw@mail.gmail.com> <CAH+w=7Y3HU12kKJC=9=cUUbeUCRpjT6zdvoAgDUcHfL0LKf1KA@mail.gmail.com> <CAH+w=7Zu1hKLycc3wdCRvR=SsHKFMvP5r7R24t3SJV3spqsJJw@mail.gmail.com> <CAH+w=7YV0ghPwSPpiG=W4NSQ9amCF3BKPZiZpuTXA_iTS33R=w@mail.gmail.com>
> On 11/02/2025 23:01 GMT Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Tue, Feb 11, 2025 at 10:02 AM Bart Schaefer
> <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > > Option 4: domenuselect() can be a no-op following interrupt.
> >
> > As long as I'm soliciting advice -- what other ZLE state could/should
> > be checked here? Possibly "resetneeded"? Anything else?
>
> Having dug a bit further, I think the below will probably solve the
> crash -- domenuselect() needs an existing completion list from which
> to build the display.
Something short and local seems good to me --- any attempt to do something
wider in this area is probably going to result in a large can of worms
(but we'd probably only find that out gradually).
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author