bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more readline signal issue examples


From: Grisha Levit
Subject: Re: more readline signal issue examples
Date: Tue, 9 Sep 2025 22:22:19 -0400

On Fri, Sep 5, 2025 at 8:21 PM Grisha Levit <grishalevit@gmail.com> wrote:
>
> On Thu, Sep 4, 2025 at 12:05 PM Chet Ramey <chet.ramey@case.edu> wrote:
> >
> > Well, definitely a few. Thanks for the report. If you find other places
> > where signals cause data to be freed, please report them as well.
>

Also, SIGINT received around the following points. To reproduce you'd need
a `kill(getpid(), SIGINT)' or equivalent at the start of a line indicated
below.

- Right before RL_CHECK_SIGNALS() in _rl_readstr_getchar (text.c:2092)
- Right before RL_CHECK_SIGNALS() in _rl_search_getchar (isearch.c:340)

- Right before rl_completion_matches in _rl_readcmd_complete (text.c:2280)
- During rl_completion_matches in _rl_readcmd_complete (complete.c:2329)
- Right after rl_completion_matches in _rl_readcmd_complete (text.c:2282)

- During search/isearch/readstr, before the first RL_CHECK_SIGNALS() call
in rl_getc (input.c:857)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]