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