[GHC] #15372: GHCi leaks in DEBUG mode
GHC
ghc-devs at haskell.org
Fri Jul 13 03:02:53 UTC 2018
#15372: GHCi leaks in DEBUG mode
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.4.3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
The solution to ticket #15111 fixes some space leaks in GHCi. That ticket
also installs `-fghci-leak-check` to the testsuite, so that we'll know
when these leaks return. This is all good.
However, the `DEBUG` compile still leaks in GHCi. This means that many
ghci tests fail in the testsuite when using a `DEBUG` compiler.
I thus have two requests:
1. (hopefully quick) Teach the testsuite not to use `-fghci-leak-check` on
a `DEBUG` compiler. I tried to do this myself but got lost, never having
worked on the testsuite harness.
2. Fix the leaks.
If someone could post the fix to (1) in the short term (even if you don't
commit it), I'd be grateful. This is holding me up.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15372>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list