[GHC] #11108: Weak references related crash

GHC ghc-devs at haskell.org
Wed Nov 18 11:07:51 UTC 2015


#11108: Weak references related crash
----------------------------------------+----------------------------------
           Reporter:  Saulzar           |             Owner:
               Type:  bug               |            Status:  new
           Priority:  normal            |         Milestone:
          Component:  Runtime System    |           Version:  7.10.2
           Keywords:                    |  Operating System:  Linux
       Architecture:  Unknown/Multiple  |   Type of failure:  Runtime crash
          Test Case:                    |        Blocked By:
           Blocking:                    |   Related Tickets:
Differential Rev(s):                    |         Wiki Page:
----------------------------------------+----------------------------------
 I've been getting a Segmentation fault relating to Weak reference use as
 part of a FRP library (reflex). Attached is a more minimal example which
 crashes. With debugging on the original problem gave me these problems (on
 different runs):

 Most frequently just Segmentation fault (with no stack trace)

 Occasionally this:
 {{{
 bench: internal error: ASSERTION FAILED: file rts/sm/GCAux.c, line 44

     (GHC version 7.10.2 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Aborted (core dumped)
 }}}

 and more rarely this:

 {{{
 bench: internal error: WEAK object entered!
     (GHC version 7.10.2 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Aborted (core dumped)
 }}}

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


More information about the ghc-tickets mailing list