[GHC] #804: Signal handlers always installed, evem in a DLL
GHC
trac at galois.com
Thu Sep 28 08:18:26 EDT 2006
#804: Signal handlers always installed, evem in a DLL
-----------------------+----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.6
Component: Compiler | Version: 6.4.2
Severity: normal | Resolution:
Keywords: | Os: Unknown
Difficulty: Unknown | Architecture: Unknown
-----------------------+----------------------------------------------------
Changes (by simonpj):
* cc: => lennart at augustsson.net
Comment:
Reason that installing signal handlers is bad: if the events happen after
the DLL has been unloaded it will dispatch into non-loaded code. This is,
obviously, bad.
Another solution would be to uninstall them when the DLL is unloaded, but
not installing them in the first place is probably the right thing.
cf dup #747
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/804>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list