Ticket #4145 (closed bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

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

Reported by: dariomx Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.10.4
Keywords: Cc:
Operating System: Linux Architecture: x86
Type of failure: GHCi crash Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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.

Attachments

A001913.hs.gz Download (78.1 KB) - added by dariomx 3 years ago.
Compressed module which causes runhaskell/ghci to crash

Change History

Changed 3 years ago by dariomx

Compressed module which causes runhaskell/ghci to crash

Changed 3 years ago by igloo

  • status changed from new to closed
  • resolution set to duplicate

Thanks for the report. Happily, this is already fixed in the 6.12 releases (#789).

Note: See TracTickets for help on using tickets.