Changes between Initial Version and Version 6 of Ticket #3215


Ignore:
Timestamp:
May 24, 2009 6:44:23 PM (6 years ago)
Author:
igloo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3215

    • Property Status changed from new to reopened
    • Property Severity changed from normal to trivial
    • Property Summary changed from Calling freeHaskellFunPtr on the current function to Valgrind support
    • Property Test Case changed from to yes
    • Property Difficulty changed from to Unknown
    • Property Keywords valgrind added
    • Property Type changed from bug to feature request
  • Ticket #3215 – Description

    initial v6  
    11This is based on code in gtk2hs. 
    2  
     2{{{ 
    33$ valgrind -q ./finalizer_queue 
    44 
     
    77    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug 
    88Killed 
    9  
     9}}} 
    1010Unfortunately this test doesn't crash without Valgrind. 
    1111 
    1212My guess is that this bit is the problem: 
    13  
     13{{{ 
    1414    finalizer <- fixIO $ \dPtr -> mkThunk $ do 
    1515        freeHaskellFunPtr callback 
    1616        freeHaskellFunPtr dPtr 
    17  
     17}}} 
    1818Perhaps the documentation should say not to do this?