Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11341

Re: problems with traps

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: problems with traps
Date 2015-08-13 10:27 -0400
Message-ID <mailman.8252.1439476090.904.bug-bash@gnu.org> (permalink)
References <CAAZkfo+3Jtr61q6ssrmqf_jzcCFkG+eCyGx2UNYPt7d2WzRp+A@mail.gmail.com>

Show all headers | View raw


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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: problems with traps Chet Ramey <chet.ramey@case.edu> - 2015-08-13 10:27 -0400

csiph-web