internal error: weird activation record found on stack: 9

Peter Simons simons at cryp.to
Sat Dec 18 12:23:02 EST 2004


Simon Marlow writes:

 > Please compile the program with -debug, then open it with
 > gdb.

Unfortunately, -debug seems to conflict with -threaded:

  ghc --make -threaded -debug -O -Wall [...] -o postmaster tutorial.lhs [...]
  Chasing modules from: tutorial.lhs
  [...]
  Compiling Main             ( tutorial.lhs, .objs/Main.o )
  Linking ...
  /usr/lib/gcc-lib/i686-pc-linux-gnu/bin/ld: cannot find -lHSrts_thr_debug
  collect2: ld returned 1 exit status

Would compiling with -debug and without -threaded still
help?

Peter



More information about the Glasgow-haskell-users mailing list