bug-bash
[Top][All Lists]
Advanced

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

Re: problems with traps


From: Chet Ramey
Subject: Re: problems with traps
Date: Thu, 13 Aug 2015 10:27:55 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.0.1

On 8/12/15 9:55 PM, isabella parakiss wrote:
> This segfaults when it receives a SIGUSR1:
> 
> #!/bin/bash
> trap ': $(:) < <(:)' USR1
> while :; do sleep 1; done

Thanks for the report.  The problem is the process substitution in the
trap.  I will fix it for the next version of bash.

Chet

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



reply via email to

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