
To add a little bit of detail (thanks to dons for the tips), the signal is being caught in one of the threads launched by the main thread. Simply calling exitWith (ExitFailure 1) from this thread causes the error below. I changed my code to send messages to running threads asking them to quit and this made the error go away. On Dec 4, 2005, at 12:27 PM, Joel Reymont wrote:
randomplay: internal error: scavenge_stack: weird activation record found on stack: 0 Please report this as a bug to glasgow-haskell-bugs@haskell.org, or http://www.sourceforge.net/projects/ghc/
I installed my own signal handlers with the intent of having my profile reports written out. The program runs forever and otherwise generates no profile reports when I interrupt it.