
#11108: Weak references related crash -------------------------------------+------------------------------------- Reporter: Saulzar | Owner: jme 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 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by jme): * owner: => jme * related: => #11746 Comment: I'll give this one a shot. It looks like the weak pointer is ending up in an older generation than its key. The key gets GCed during a minor collection, but the weak pointer is not "tidied" until the next major collection. At that point, its pointer to the key is no longer valid. This appears to be the same issue as #11746. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11108#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler