#8291: unloadObj doesn't work, unloaded_objects list keeps growing in size ------------------------------------------------+-------------------------- Reporter: ezyang | Owner: Type: bug | simonmar Priority: highest | Status: new Component: Runtime System | Milestone: 7.8.1 Resolution: | Version: 7.7 Operating System: Unknown/Multiple | Keywords: Type of failure: Incorrect result at runtime | Architecture: Test Case: linker_unload | Unknown/Multiple Blocking: | Difficulty: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Comment (by Simon Marlow <marlowsd@…>): In [changeset:1908195261ccf16b0f3d2e77ebd5cd40c9e29cbc/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="1908195261ccf16b0f3d2e77ebd5cd40c9e29cbc" Fix linker_unload now that we are running constructors in the linker (#8291) See also #5435. Now we have to remember the the StablePtrs that get created by the module initializer so that we can free them again in unloadObj(). }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8291#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler