#3628: exceptions reported to stderr when they propagate past forkIO
-----------------------------+----------------------------------------------
Reporter: duncan | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.4 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
It's not entirely obvious what to do with exceptions that do not get
handled within a `forkIO` however reporting them on stderr (or on Windows
popping up a message dialog) does not seem right.
We do not have other cases where errors are logged to stderr. The only
such case is an exception terminating Main.main (and that's special
because it terminates the whole process). If it is vital that someone do
something with exceptions in forkIO threads then they should be propagated
to another thread, in the worst case the main thread.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3628>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs