'interrupted' when exiting
tkn.akio at gmail.com
Mon Mar 4 07:02:57 CET 2013
If I compile and run the attached program in the following way, it
crashes on exit:
$ ghc -threaded thr_interrupted.hs
thr_interrupted: Main_dtl: interrupted
This is particularly bad when profiling, because the program
terminates before writing to the .prof file.
Is this a bug in GHC, or am I supposed to terminate the thread before
exiting? If it's a GHC issue, how should it be fixed? It seems that
the error was raised in the C stub code GHC generated for the foreign
import "wrapper" function.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 381 bytes
Desc: not available
More information about the Glasgow-haskell-users