[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash - reproducible SEGFAULT on rapid SIGINTs
From: |
Chet Ramey |
Subject: |
Re: bash - reproducible SEGFAULT on rapid SIGINTs |
Date: |
Fri, 30 Aug 2024 10:58:53 -0400 |
User-agent: |
Mozilla Thunderbird |
On 8/28/24 7:16 AM, Tycho Kirchner wrote:
Hi,
Sending rapid SIGINTs from another shell quickly results in a SEGFAULT of
the bash instance receiving them. Steps to reproduce:
* Open up a shell SHELL_1 and record its pid, e.g. "echo $$"
* Launch another shell and send rapid SIGINTs: while true ; do kill -INT
OTHER_PID; done
SHELL_1 quickly dies with a SEGAULT
Tested on GNU bash, version 5.2.32(1)-release (x86_64-pc-linux-gnu),
compiled via plain ./configure && make
I can't reproduce this with the current devel branch on RHEL 9. I let it
go for a few minutes without any crash.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature