[GHC] #13970: Segmentation fault inside threadPaused

GHC ghc-devs at haskell.org
Thu Jul 13 20:31:32 UTC 2017


#13970: Segmentation fault inside threadPaused
-------------------------------------+-------------------------------------
        Reporter:  albertov          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.2.1-rc3
      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 albertov):

 Now that I have debugging symbols I can confirm that the segfault occurs
 in the {{{switch(info->i.type}}} line (224) reported in #9130

 {{{
 (gdb) bt
 #0  threadPaused (cap=0xc38ef0, tso=0x421dcc50f0) at
 rts/ThreadPaused.c:224
 #1  0x00007f9b3d2c8275 in stg_returnToSched ()
    from
 /nix/store/f46shfdh7qmagqw11w61g099jm544fd4-ghc-8.2.0.20170704/lib/ghc-8.2.0.20170704/rts
 /libHSrts_thr_debug-ghc8.2.0.20170704.so
 #2  0x0000000000000000 in ?? ()

 }}}

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


More information about the ghc-tickets mailing list