[GHC] #718: FinalizerEnvPtr and newForeignPtrEnv missing from
Freign.ForeignPtr
GHC
trac at galois.com
Wed Mar 8 16:57:36 EST 2006
#718: FinalizerEnvPtr and newForeignPtrEnv missing from Freign.ForeignPtr
-------------------------------------+--------------------------------------
Reporter: kahl at cas.mcmaster.ca | Owner:
Type: bug | Status: new
Priority: high | Milestone:
Component: libraries/haskell98 | Version: 6.4.1
Severity: normal | Keywords:
Os: Unknown | Difficulty: Unknown
Architecture: Unknown |
-------------------------------------+--------------------------------------
The type `FinalizerEnvPtr` and, more importantly,
the function `newForeignPtrEnv` specified in Section 5.5 of the FFI
addendum
are missing from the GHC version of the `Foreign` libraries.
There is not even a comment about this in `base/GHC/ForeignPtr.hs`.
(I checked the source of the last nightly snapshot --- not there either.)
I have reason to believe that my current attempts to use a `"wrapper"`
foreign import
to achieve the effect of `newForeignPtrEnv` are the reason behind
segmentation faults
I haven't (yet) been able to track down to anything else.
Since these segfaults are a blocker for me, and since this is a point of
non-conformance
to a 'Standard', I proposed priority 'high'.
(This is obviously operating system and architecture independent,
but neither 'Unknown' nor 'multiple' in the menus below seem appropriate.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/718>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list