#8242: Infinite loop with addCFinalizerToWeak
------------------------------------------------+--------------------------
Reporter: akio | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Runtime System | Version: 7.6.3
Resolution: | Keywords:
Operating System: Linux | Architecture: x86_64
Type of failure: Incorrect result at runtime | (amd64)
Test Case: | Difficulty:
Blocking: | Unknown
| Blocked By:
| Related Tickets:
------------------------------------------------+--------------------------
Comment (by Austin Seipp <aseipp@…>):
In [changeset:41296315f7b1e0eccfa6c94c49f1cdd977f741fb/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="41296315f7b1e0eccfa6c94c49f1cdd977f741fb"
Avoid allocating while holding a lock (#8242)
This reverts commit 6770663f764db76dbb7138ccb3aea0527d194151.
If the program enters the garbage collector with the closure
lock held, it will confuse the garbage collector and will
result in an infinite loop in evacuate().
Signed-off-by: Austin Seipp <[email protected]>
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8242#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets