ghc 6.10.4 seg fault in ghci when showing negative float
|Reported by:||ben@…||Owned by:||macports-tickets@…|
Description (last modified by macsforever2000@…)
On Snow Leopard, 64-bit, ghci will seg fault when attempting to show a negative float.
$ ghci GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done. Loading package base ... linking ... done. Prelude> 0.5 0.5 Prelude> -0.5 -Segmentation fault
The seg fault does happen after the sign is displayed.
A file compiled by ghc does not display the same behavior. Given a file test.hs:
main = putStr $ show (-0.5)
And compiling with ghc --make test, the result will run normally.
Change History (6)
comment:1 Changed 6 years ago by macsforever2000@…
- Description modified (diff)
- Owner changed from macports-tickets@… to gwright@…
Changed 6 years ago by ben@…
comment:4 Changed 4 years ago by raimue (Rainer Müller)
- Owner changed from gwright@… to macports-tickets@…