#10904: C finalizer may be called on re-used memory -------------------------------------+------------------------------------- Reporter: bherzog | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: Runtime System | Version: 7.4.1 Resolution: | Keywords: Operating System: Linux | Architecture: | Unknown/Multiple Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: Phab:D1275 -------------------------------------+------------------------------------- Comment (by Simon Marlow <marlowsd@…>): In [changeset:"2440e3c6b479ac532e2660374a78c8482e903bed/ghc" 2440e3c6/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="2440e3c6b479ac532e2660374a78c8482e903bed" Fix a bug with mallocForeignPtr and finalizers (#10904) Summary: See Note [MallocPtr finalizers] Test Plan: validate; new test T10904 Reviewers: ezyang, bgamari, austin, hvr, rwbarton Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1275 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10904#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler