id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
3867,ghc: panic! (linkBCO: >= 64k ptrs),archgrove,,"dict is a [String] with around 100,000 entries (around 1.4MB of data), exported from a module Dict. ghci will happily import this module, but any operations on this list (e.g. take 1 dict) fail with a ghc panic. I admit it's perhaps not the best idea to work with a list of this magnitude, but in this case a better error message would be useful.


{{{
GHCi, version 6.12.1: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
Prelude> :load Dict
[1 of 1] Compiling Dict             ( Dict.hs, interpreted )
Ok, modules loaded: Dict.
*Dict> take 1 dict
ghc: panic! (the 'impossible' happened)
  (GHC version 6.12.1 for i386-apple-darwin):
	linkBCO: >= 64k ptrs

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

}}}
",bug,closed,high,7.6.1,Compiler,6.12.1,fixed,,gypsywasherwoman@…,Unknown/Multiple,Unknown/Multiple,GHC rejects valid program,Unknown,,,,
