#8284: freeHaskellFunPtr crashes on iOS
-------------------------------------+-------------------------------------
        Reporter:                    |            Owner:
  StephenBlackheath                  |           Status:  patch
            Type:  bug               |        Milestone:
        Priority:  high              |          Version:  7.7
       Component:  Runtime System    |         Keywords:
      Resolution:                    |     Architecture:  arm
Operating System:  Other             |       Difficulty:  Easy (less than 1
 Type of failure:  Runtime crash     |  hour)
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 I was curious what was going on here and it took me a while to figure it
 out, maybe a comment or two would be welcome?  At the top of the function
 something like "ptr is an AdjustorExecutable allocated by allocateExec",
 and in the non-iOS case some comment about how the AdjustorWritable and
 AdjustorExecutable refer to the same physical memory so that we can just
 grab the closure data from ptr.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8284#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets

Reply via email to