bug-bash
[Top][All Lists]
Advanced

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

Re: 3-lines long segfault


From: Chet Ramey
Subject: Re: 3-lines long segfault
Date: Sun, 19 Jul 2009 20:37:04 -0400
User-agent: Thunderbird 2.0.0.22 (Macintosh/20090605)

Marc Herbert wrote:
> The following script crashes bash versions 2.05, 3.2.25, 4.0.16,...
> 
> 
> trap "echo USR1caught" USR1
> read -t 1
> foo=$( kill -USR1 $$ )
> echo 'Yeah! no Segmentation fault!'

Thanks for the report.  Fixed in the next version.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

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]