bug-bash
[Top][All Lists]
Advanced

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

3-lines long segfault


From: Marc Herbert
Subject: 3-lines long segfault
Date: Wed, 15 Jul 2009 09:09:43 +0100 (IST)
User-agent: Alpine 2.00 (LFD 1167 2008-08-23)

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!'



Cheers,

Marc





reply via email to

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