Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#718 closed bug (fixed)

FinalizerEnvPtr and newForeignPtrEnv missing from Freign.ForeignPtr

Reported by: kahl@… Owned by:
Priority: normal Milestone: 6.6
Component: libraries/haskell98 Version: 6.4.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

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.)

Change History (4)

comment:1 Changed 9 years ago by simonmar

  • Milestone set to 6.6
  • Priority changed from high to normal

will fix in 6.6. Also, priority dropped to normal - please submit a separate bug report for the crashes you are encountering, and set its prio to high.

comment:2 Changed 9 years ago by simonmar

  • Resolution set to fixed
  • Status changed from new to closed

Done.

comment:3 Changed 6 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:4 Changed 6 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.