logo       

Re: [GHC] #804: Signal handlers always installed, evem in a DLL: msg#00169

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #804: Signal handlers always installed, evem in a DLL

#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@xxxxxxxxxxxxxx

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_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise