When specifying an invalid arithmetic expression containing an array
reference, bash terminates with a segmentation fault. The same
expression, without array references does not crash.
Repeat-By:
# the following crashes
! vals=(-17.244008)
! echo $((vals[0]))
bash: -17.244008: syntax error in expression (error token is ".244008")
Segmentation fault
# the following does not crash
! val=-17.244008
! echo $((val))
bash: -17.244008: syntax error in expression (error token is ".244008")