bug-bash
[Top][All Lists]
Advanced

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

Re: Segmentation fault bash 4.3.022


From: Chet Ramey
Subject: Re: Segmentation fault bash 4.3.022
Date: Tue, 12 Aug 2014 15:15:15 -0400

> $ bash-4.3.22 -c 'shopt -s lastpipe; trap -- "printf x" ERR; true | { true | 
> false; }'
> xxSegmentation fault
> 
> $ ./bash -c 'shopt -s lastpipe; trap -- "printf x" ERR; true | { true | 
> false; }'
> xx./bash: wait_for: No record of process 7954
> x

Yeah, it will take a little longer to suppress the error message in the
cases where it needs to be suppressed.  The important part of the fix is
stopping the core dump.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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