bug-bash
[Top][All Lists]
Advanced

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

Re: errexit in a nested trap spins forever in parse_and_execute


From: Chet Ramey
Subject: Re: errexit in a nested trap spins forever in parse_and_execute
Date: Wed, 11 Nov 2026 09:55:29 -0500
User-agent: Mozilla Thunderbird

On 11/4/26 12:11 PM, Константин Адзер wrote:
Configuration Information:
Machine: x86_64
OS: linux-gnu
Bash Version: 5.3.9(1)-release, also devel a4a9dbc

Description:
With set -eE and an ERR trap, a second SIGTERM that arrives while the
TERM trap function is still running makes bash spin at 100% CPU, with
no system calls, after printing
"warning: unwind_frame_discard: pe_dispose: frame not found".

Thanks for the detailed report and fix.

Chet

--
``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/



reply via email to

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