[GHC] #11108: Weak references related crash
GHC
ghc-devs at haskell.org
Wed May 11 13:18:48 UTC 2016
#11108: Weak references related crash
-------------------------------------+-------------------------------------
Reporter: Saulzar | Owner: akio
Type: bug | Status: new
Priority: high | Milestone: 8.2.1
Component: Runtime System | Version: 7.10.2
Resolution: | Keywords:
Operating System: Linux | Architecture:
| Unknown/Multiple
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: #11746,#11972 | Differential Rev(s): Phab:D2189
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"9363f04d0ff22f3d898af35bb5432c4287e6dc9a/ghc" 9363f04/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="9363f04d0ff22f3d898af35bb5432c4287e6dc9a"
Handle promotion failures when scavenging a WEAK (#11108)
Previously, we ignored promotion failures when evacuating fields of
a WEAK object. When a failure happens, this resulted in an WEAK object
pointing to another object in a younger generation, causing crashes.
I used the test case from #11746 to check that the fix is working.
However I haven't managed to produce a test case that quickly reproduces
the issue.
Test Plan: ./validate
Reviewers: austin, bgamari, simonmar
Reviewed By: simonmar
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2189
GHC Trac Issues: #11108
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11108#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list