[GHC] #8291: unloadObj doesn't work, unloaded_objects list keeps growing in size

GHC ghc-devs at haskell.org
Sun Sep 15 17:28:32 CEST 2013


#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 simonmar):

 Of course, it isn't triggering on my machine, because for some reason your
 fix for #5435 isn't working on my machine either.  The stable pointer
 isn't getting created because the constructor isn't being run.

 I'll try to look into this further.  FWIW this is 64-bit Ubuntu 12.04,
 with gcc 4.6.3 and binutils 2.22.

 I'll also need to figure out a way to unload objects that have stable
 pointers created by the constructor for the object itself.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8291#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list