Tue Jul 29 08:05:18 PDT 2008 Simon Marlow <[EMAIL PROTECTED]>
* FIX #2327: a fault in the thunk-selector machinery (again)
This program contains an expression of the form
let x = snd (_, snd (_, snd (_, x)))
(probably not explicitly, but that's what appears in the heap at
runtime). Obviously the program should deadlock if it ever enters
this thing, but apparently the test program in #2327 never does.
The GC tries to evaluate the snd closures, and gets confused due to
the loop. In particular the earlier fix for #1038 was to blame.
M ./rts/sm/Evac.c -11 +28
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080729150518-12142-18ad862f4469ad7485af599d3b9c1bb93da978a3.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc