[GHC] #8242: Infinite loop with addCFinalizerToWeak

GHC ghc-devs at haskell.org
Wed Sep 18 15:22:54 CEST 2013


#8242: Infinite loop with addCFinalizerToWeak
------------------------------------------------+--------------------------
        Reporter:  akio                         |            Owner:
            Type:  bug                          |           Status:  new
        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:  T8242                        |       Difficulty:
        Blocking:                               |  Unknown
                                                |       Blocked By:
                                                |  Related Tickets:
------------------------------------------------+--------------------------

Comment (by akio):

 It seems that the crash on Windows has nothing to do with weak pointers. I
 attached a test case that does not use weak pointers. It looks like GHCi
 doesn't correctly handle primops that return {{{(# State# RealWorld, Int#
 #)}}}.

 Should there be a separate ticket for this?

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



More information about the ghc-tickets mailing list