[GHC] #8284: freeHaskellFunPtr crashes on iOS
GHC
ghc-devs at haskell.org
Sat Sep 14 03:49:13 CEST 2013
#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
More information about the ghc-tickets
mailing list