[GHC] #13167: GC and weak reference finalizers and exceptions

GHC ghc-devs at haskell.org
Mon May 14 08:10:00 UTC 2018


#13167: GC and weak reference finalizers and exceptions
-------------------------------------+-------------------------------------
        Reporter:  Yuras             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 ah indeed, `threadDelay` worked!

 Ok I'll whip up a testcase and patch.

 I'll see if I can't add some debug code to figure out which finalizer is
 deadlocking.

 Thanks!

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13167#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list