[GHC] #9078: Segfault with makeStableName
GHC
ghc-devs at haskell.org
Tue May 6 08:40:14 UTC 2014
#9078: Segfault with makeStableName
-------------------------------------+------------------------------------
Reporter: robertce | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by ezyang):
I believe the bug is when we free stable-name entries (in gcStableTables),
we also need to remove the stable name from the hash table.
updateStableTables will not catch this because it only iterates over live
stable names. The bug is masked because if we immediately make another
stable pointer, it will probably be put in the right slot, but the ASSERT
catches the problem immediately.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9078#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list