
Box : mips-sgi-irix65 Version : 4.08.2 Unregisterised ( using mini-interpreter) Source File : nfibI.hc ( compiled on a running box i386-unknown-linux ) -optc-DNO_REGS -optc-DUSE_MINIINTERPRETER -fno-asm-manling -funregistered -fvia-C -C Traced File : ghc/rts/GC.c ( Garbage collector ) References : ghc/includes/Closures.h,ClosureTypes.h,ClosureMacros.h "Implementing lazy functional Lan..." [Peyton Jones]
Session: ======== bash-2.04$ ghc -optc-DNO_REGS -optc-DUSE_MINIINTERPRETER -fno-asm-mangling -funregistered -fvia-C nfibI.hc -o nfibI
bash-2.04$ ./nfibI --run in irix nfibI: fatal error: evacuate: strange closure type 4137
bash-2.04$ ./nfibI --run in linux 2692537
Linux closure-type sequence: Irix closure-type sequence: ============================ ================================= 59 (TSO) 59 59 59 59 59 10 (CONST_NOCAF_STATIC) 10 10 10 33 (IND_STATIC) 4137 (zzz! Max number 64 !) 17 (FUN_STATIC) 33 17 33 29
Something is wrong with the heap layout perhaps, or maybe the info tables. I can't tell much more from the information above; you'll need to fire up gdb on the executable and dig into the contents of the heap and info tables at the point of the crash. Cheers, Simon