
#10458: GHCi fails to load shared object (the 'impossible' happened) -------------------------------+----------------------------------------- Reporter: rleslie | Owner: trommler Type: bug | Status: new Priority: high | Milestone: 8.0.1 Component: GHCi | Version: 7.10.1 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: 9237, 9498, 11042 Related Tickets: | Differential Rev(s): Phab:D1631 Wiki Page: | -------------------------------+----------------------------------------- Comment (by simonmar):
Unload (dlclose) the dummy shared object. This will also unload shared objects that are to be unloaded (unless they are still referenced by other still loaded libraries).
Note that (as discussed in D1631) this is dangerous because there might still be references to the old code from the heap. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10458#comment:36 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler