[GHC] #6146: Segmentation fault with eager blackholing
GHC
cvs-ghc at haskell.org
Wed Jun 6 00:47:52 CEST 2012
#6146: Segmentation fault with eager blackholing
---------------------------+------------------------------------------------
Reporter: emcdowell | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.4.1 | Keywords: eager blackholing
Os: Windows | Architecture: x86
Failure: Runtime crash | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------+------------------------------------------------
Comment(by emcdowell):
I have attached the original program where I encountered the problem. You
should be able to reproduce this.
H:\user\haskell\Pi>ghc -threaded -feager-blackholing --make Pi.hs
[1 of 1] Compiling Main ( Pi.hs, Pi.o )
Linking Pi.exe ...
H:\user\haskell\Pi>Pi.exe +RTS -N
Terms? 1000
Tasks? 2
3.141603544913
H:\user\haskell\Pi>Pi.exe +RTS -N
Terms? 10000000
Segmentation fault/access violation in generated code
H:\user\haskell\Pi>ghc -threaded --make Pi.hs
H:\user\haskell\Pi>erase Pi.o
H:\user\haskell\Pi>erase Pi.hi
H:\user\haskell\Pi>erase Pi.exe
H:\user\haskell\Pi>ghc -threaded --make Pi.hs
[1 of 1] Compiling Main ( Pi.hs, Pi.o )
Linking Pi.exe ...
H:\user\haskell\Pi>Pi.exe +RTS -N
Terms? 10000000
Tasks? 2
3.141592653601
H:\user\haskell\Pi>
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6146#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list