panic when running program from GHCi
See the reply from Simon which gives a simple stand-alone repro case for this bug. Also fix #1754 (closed) first; may be the same thing.
Original report: To reproduce this bug please install GHC 6.8.20070916 and Gtk2Hs 0.9.12 as currently described on http://haskell.org/haskellwiki/Grapefruit#Building. There is a modified version of the development version of Grapefruit attached. Sorry for this large code example but currently I really don’t have the time to reduce this any further.
Please unpack the attached file bug.tar.bz2
, enter the directory bug/Haskell
and run ghci -cpp -farrows -fth -fglasgow-exts Examples/Simple.hs
. Compilation to bytecode should be successful. Then enter main
on the GHCi command line. You should get the following messages:
ghc-6.8.0.20070916: panic! (the 'impossible' happened)
(GHC version 6.8.0.20070916 for i386-unknown-linux):
nameModule arr{v a85X}
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug