[MacPorts] #25265: ghc 6.10.4 seg fault in ghci when showing negative float
#25265: ghc 6.10.4 seg fault in ghci when showing negative float ----------------------------+----------------------------------------------- Reporter: ben@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: | Port: ghc ----------------------------+----------------------------------------------- On Snow Leopard, 64-bit, ghci will seg fault when attempting to show a negative float. Example: $ 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. Possibly related to tickets #24670, #24571. -- Ticket URL: <http://trac.macports.org/ticket/25265> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25265: ghc 6.10.4 seg fault in ghci when showing negative float ----------------------------+----------------------------------------------- Reporter: ben@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: | Port: ghc ----------------------------+----------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => gwright@… Old description:
On Snow Leopard, 64-bit, ghci will seg fault when attempting to show a negative float.
Example:
$ 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.
Possibly related to tickets #24670, #24571.
New description: On Snow Leopard, 64-bit, ghci will seg fault when attempting to show a negative float. Example: {{{ $ 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. Possibly related to tickets #24670, #24571. -- -- Ticket URL: <http://trac.macports.org/ticket/25265#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25265: ghc 6.10.4 seg fault in ghci when showing negative float ----------------------------+----------------------------------------------- Reporter: ben@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: | Port: ghc ----------------------------+----------------------------------------------- Comment(by jmr@…): Could you attach the crash report? That's always helpful when reporting a segfault-causing bug. -- Ticket URL: <http://trac.macports.org/ticket/25265#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25265: ghc 6.10.4 seg fault in ghci when showing negative float ----------------------------+----------------------------------------------- Reporter: ben@… | Owner: gwright@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: | Port: ghc ----------------------------+----------------------------------------------- Changes (by gwright@…): * status: new => assigned Comment: I'll see if this still happens with the upcoming 6.12.3 and 7.0.1. -- Ticket URL: <https://trac.macports.org/ticket/25265#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25265: ghc 6.10.4 seg fault in ghci when showing negative float ----------------------------+----------------------------------------------- Reporter: ben@… | Owner: macports-tickets@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: | Port: ghc ----------------------------+----------------------------------------------- Changes (by raimue@…): * owner: gwright@… => macports-tickets@… Comment: Port abandoned, #35561. -- Ticket URL: <https://trac.macports.org/ticket/25265#comment:> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25265: ghc 6.10.4 seg fault in ghci when showing negative float ----------------------+-------------------------------- Reporter: ben@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Resolution: wontfix | Keywords: Port: ghc | ----------------------+-------------------------------- Changes (by cal@…): * status: assigned => closed * resolution: => wontfix Comment: This ticket is obsolete, since GHC has been updated since. -- Ticket URL: <https://trac.macports.org/ticket/25265#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts