On 5/23/24 7:43 AM, Michael Maurer wrote:
Bash Version: 5.2
Patch Level: 15
Release Status: release
Description:
Calling a function that itself uses the keyword "time" to call another
function that performs a long task, and then interrupting with Ctrl+C before it is
complete, causes a segfault. Behavior varies depending on whether or not the output of
time is piped into another command, and whether the functions were sourced from a file or
typed in directly.
Seems similar to the bug previously reported here:
https://lists.gnu.org/archive/html/bug-bash/2019-07/msg00004.html
I can't reproduce this on macOS, RHEL 9, or Debian 12 with either the
latest devel branch or bash-5.2.26.