Ticket #4145 (closed bug: duplicate)
Interpreter mode can not parse list with 30k entries ...
|Reported by:||dariomx||Owned by:|
|Type of failure:||GHCi crash||Difficulty:|
|Test Case:||Blocked By:|
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@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.