Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: 5.34/00
-
Component/s: Core Libraries
-
Labels:None
-
Environment:
GNU/Linux
-
External issue ID:bugs97991
-
External issue URL:
Description
Run the attached file via
root -l -b test.C 2> >(grep 'foo')
which pipes stderr through grep, then kill the grep process.
root.exe will then call it's SIGPIPE signal handler, which in turn tries to write to stderr, resulting in an infinite loop. You'll have to kill the process.
Probably the best way to fix this – without changing anything about the existing functionality – would be to reset the handler to SIG_DFL before anything is printed.