Skip to content

Interpreter mode can not parse list with 30k entries ...

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@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.

Trac metadata
Trac field Value
Version 6.10.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information