Skip to content

GHCi crashes with SIGFPE when using double-conversion package

This is 100% reproducible. Install the double-conversion package:

cabal install double-conversion

And now kill GHCi:

Prelude> :m +Data.Double.Conversion.ByteString Data.ByteString
Prelude> toShortest 3
"Floating point exception (core dumped)
Trac metadata
Trac field Value
Version 7.0.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information