-fghci-leak-cheak causes many testsuite failures with the quick build flavour
As originally reported on the ghc-devs mailing list, the -fghci-leak-check
flag is causing several tests to fail when GHC is built with the quick build flavour. On my machine, here are all the tests that fail:
Unexpected failures:
ghci/prog001/prog001.run prog001 [bad stdout] (ghci)
ghci/prog002/prog002.run prog002 [bad stdout] (ghci)
ghci/prog003/prog003.run prog003 [bad stdout] (ghci)
ghci/prog010/ghci.prog010.run ghci.prog010 [bad stdout] (ghci)
ghci/prog013/prog013.run prog013 [bad stdout] (ghci)
ghci/prog012/prog012.run prog012 [bad stdout] (ghci)
ghci/prog009/ghci.prog009.run ghci.prog009 [bad stdout] (ghci)
ghci/scripts/ghci025.run ghci025 [bad stdout] (ghci)
ghci/scripts/ghci038.run ghci038 [bad stdout] (ghci)
ghci/scripts/ghci057.run ghci057 [bad stdout] (ghci)
ghci/scripts/T2182ghci.run T2182ghci [bad stdout] (ghci)
ghci/scripts/ghci058.run ghci058 [bad stdout] (ghci)
ghci/scripts/T6106.run T6106 [bad stdout] (ghci)
ghci/scripts/T8353.run T8353 [bad stdout] (ghci)
ghci/scripts/T9293.run T9293 [bad stdout] (ghci)
ghci/scripts/T10989.run T10989 [bad stdout] (ghci)
ghci/should_run/T13825-ghci.run T13825-ghci [bad stdout] (ghci)
ghci.debugger/scripts/print007.run print007 [bad stdout] (ghci)
ghci.debugger/scripts/break009.run break009 [bad stdout] (ghci)
ghci.debugger/scripts/break008.run break008 [bad stdout] (ghci)
ghci.debugger/scripts/break026.run break026 [bad stdout] (ghci)
perf/space_leaks/T4029.run T4029 [bad stdout] (ghci)
Here is the full test output. Generally, the test output discrepancies are all of the form of extra lines of:
+-fghci-leak-check: HomeModInfo for D is still alive!
+-fghci-leak-check: ModIface is still alive!
+-fghci-leak-check: ModDetails is still alive!
+-fghci-leak-check: Linkable is still alive!
Trac metadata
Trac field | Value |
---|---|
Version | 8.5 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | simonmar |
Operating system | |
Architecture |