[GHC] #7449: Segmentation fault in floor function
GHC
cvs-ghc at haskell.org
Sat Nov 24 18:26:57 CET 2012
#7449: Segmentation fault in floor function
-----------------------+----------------------------------------------------
Reporter: heatsink | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/base
Version: 7.4.1 | Keywords:
Os: MacOS X | Architecture: x86
Failure: GHCi crash | Blockedby:
Blocking: | Related:
-----------------------+----------------------------------------------------
The `floor` function crashes with a segmentation fault in GHCi with a
negative, non-integer-valued, Double argument. It does not crash for any
of the positive arguments or negative integer arguments I tried. It does
not crash with a `Float`. It does not crash in compiled code.
To reproduce, run `floor (-0.5)` in GHCi.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7449>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list