|
[GHC] #747: Unloading a dll does not clean up properly: msg#00038lang.haskell.glasgow.bugs
#747: Unloading a dll does not clean up properly -------------------------------+-------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 6.4.2 Severity: major | Keywords: Os: Multiple | Difficulty: Unknown Architecture: Multiple | -------------------------------+-------------------------------------------- When a DLL is loaded it calls initUserSignals() and initDefaultHandlers(). This sets up some signal (event) handlers. When the DLL is unloaded it does not remove those handlers. This means that if the events happen after the DLL has been unloaded it will dispatch into non-loaded code. This is, obviously, bad. It's very dubious if a DLL should install these handlers at all. At least there should be a flag if they should be installed or not. And if installed they should be removed on exit. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/747> 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> |
|---|---|---|
| Previous by Date: | [GHC] #746: ghc panic! with foreign import wrapper involving Bool, GHC |
|---|---|
| Next by Date: | Re: [GHC] #747: Unloading a dll does not clean up properly, GHC |
| Previous by Thread: | [GHC] #746: ghc panic! with foreign import wrapper involving Bool, GHC |
| Next by Thread: | Re: [GHC] #747: Unloading a dll does not clean up properly, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |