runtime: internal error: traverseWeakPtrList: not WEAK
I was compiling my program (attached) with jhc version 0.6.1. jhc was compiled with ghc 6.10.4 with -O, not -O2 option, as in jhc's Makefile. ghc 6.10.4 was taken from arch linux repository. warning: jhc compilation takes very long (I went home after 45 min) and very much (maybe 8G RAM?). i am not sure about total memory conditions, around 10G+7G swap was available for compile. error was:
jhc: internal error: traverseWeakPtrList: not WEAK
(GHC version 6.10.4 for x86_64_unknown_linux)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug