[GHC] #4145: Interpreter mode can not parse list with 30k entries
...
GHC
cvs-ghc at haskell.org
Mon Jun 21 01:08:31 EDT 2010
#4145: Interpreter mode can not parse list with 30k entries ...
------------------------+---------------------------------------------------
Reporter: dariomx | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.4 | Keywords:
Os: Linux | Testcase:
Architecture: x86 | Failure: GHCi crash
------------------------+---------------------------------------------------
Hello Haskellers,
I have something to report about the interpreter mode command
"runhaskell". When I try it on a file which contains a very large list (~
30k entries) it just crashes saying:
dariob at kurgan > runhaskell A001913.hs
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.4 for i386-unknown-linux):
linkBCO: >= 64k insns in BCO
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
I suspect is some hard coded limit in that program, cause when I compile
it, it goes well and I am able to use the compiled list in another modules
(takes a while to compile the module with the big list by the way).
I am attaching the file here, in order to let you reproduce the error. I
think the only thing special about it is the big size (is a list of
integers).
Kind regards,
Long life to Haskell.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4145>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list