On Mon, 30 Jan 2012 09:20:32 +0100, Karel Gardas <[email protected]> wrote: > > Hello Simon, > > up to 7.4.1 RC2 this was solely HEAD issue, now with 7.4.1 RC2 it shows > also on 7.4. The bug shows as: > > internal error: ASSERTION FAILED: file rts/Schedule.c, line 506 > > (GHC version 7.4.0.20120126 for arm_unknown_linux) > Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug > > The test which shows this fails always, so this is probably no race > condition. I've been able to get this for you: > Sorry for the latency but somehow this thread eluded my eye. Yes, this is almost certainly the bug that I tracked down on Saturday. It seems like this has already been discussed but to rehash,
It seems that the regtable being returned was being placed into one of the registers restored by ldmfd. I'm unsure of why this only started happening recently, but quite frankly I didn't look too far; I was just happy to have found the problem. Given the nature of the code, it seems that these registers really need to be clobbered for the reasons outlined by others. It seems likely that it was mere luck that the worked at all without this patch. Cheers, - Ben _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
