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


Groups > gnu.bash.bug > #11341 > unrolled thread

Re: problems with traps

Started byChet Ramey <chet.ramey@case.edu>
First post2015-08-13 10:27 -0400
Last post2015-08-13 10:27 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#11341 — Re: problems with traps

FromChet Ramey <chet.ramey@case.edu>
Date2015-08-13 10:27 -0400
SubjectRe: problems with traps
Message-ID<mailman.8252.1439476090.904.bug-bash@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web