/Resending I forgot to cc bug bash

> Chet
> if a SIGINT has been received, cleanup code will be executed that leaves
> whatever readline was doing in a state that it cannot continue from.

I’m not familiar with C. So in essence, what bash was doing is like this:
1. Ctrl + R
2. readline() doing something
3. Ctrl + C + ESC
4. Bash: whoa I got a SIGINT, gotta cleanup and free everything!
5. readline(): oops everything’s gone I shit myself
6. Segfault

Is this a threading issue? Imho if there is a chance that resources used by
readline() will get freed. Then readline should check before accessing it?

Sorry this is too low level for me I have not sure how this works.

Reply via email to