Re: [GHC] #3215: Valgrind support
#3215: Valgrind support --+- Reporter: cmcq | Owner: Type: feature request | Status: new Priority: normal | Milestone: _|_ Component: Runtime System |Version: 6.10.3 Resolution: | Keywords: valgrind Os: Linux| Architecture: x86 Failure: None/Unknown | Difficulty: Unknown Testcase: yes | Blockedby: Blocking: |Related: --+- Changes (by rrnewton): * cc: rrnewton@… (added) -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3215#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #3215: Valgrind support
#3215: Valgrind support --+- Reporter: cmcq | Owner: Type: feature request | Status: reopened Priority: normal | Milestone: _|_ Component: Runtime System |Version: 6.10.3 Resolution: | Keywords: valgrind Difficulty: Unknown | Os: Linux Testcase: yes | Architecture: x86 Failure: None/Unknown | --+- Changes (by igloo): * failure: = None/Unknown * milestone: 6.12.1 = _|_ -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3215#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #3215: Valgrind support
#3215: Valgrind support +--- Reporter: cmcq |Owner: Type: feature request | Status: reopened Priority: normal |Milestone: Component: Runtime System | Version: 6.10.3 Severity: trivial | Resolution: Keywords: valgrind | Difficulty: Unknown Testcase: yes | Os: Linux Architecture: x86 | +--- Changes (by igloo): * difficulty: = Unknown Old description: This is based on code in gtk2hs. $ valgrind -q ./finalizer_queue finalizer_queue: internal error: stg_ap_v_ret (GHC version 6.10.3 for i386_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Killed Unfortunately this test doesn't crash without Valgrind. My guess is that this bit is the problem: finalizer - fixIO $ \dPtr - mkThunk $ do freeHaskellFunPtr callback freeHaskellFunPtr dPtr Perhaps the documentation should say not to do this? New description: This is based on code in gtk2hs. {{{ $ valgrind -q ./finalizer_queue finalizer_queue: internal error: stg_ap_v_ret (GHC version 6.10.3 for i386_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Killed }}} Unfortunately this test doesn't crash without Valgrind. My guess is that this bit is the problem: {{{ finalizer - fixIO $ \dPtr - mkThunk $ do freeHaskellFunPtr callback freeHaskellFunPtr dPtr }}} Perhaps the documentation should say not to do this? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3215#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #3215: Valgrind support
#3215: Valgrind support +--- Reporter: cmcq |Owner: Type: feature request | Status: reopened Priority: normal |Milestone: 6.12.1 Component: Runtime System | Version: 6.10.3 Severity: trivial | Resolution: Keywords: valgrind | Difficulty: Unknown Testcase: yes | Os: Linux Architecture: x86 | +--- Changes (by igloo): * milestone: = 6.12.1 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3215#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #3215: Valgrind support
#3215: Valgrind support -+-- Reporter: cmcq | Owner: Type: feature request | Status: reopened Priority: normal | Milestone: Component: Runtime System |Version: 6.10.3 Severity: trivial | Resolution: Keywords: valgrind | Testcase: yes Os: Linux| Architecture: x86 -+-- Comment (by duncan): Is rts/Adjustor.c still used? I thought it was all libffi now. Does libffi have valgrind support? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3215#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs