[GHC] #13970: Segmentation fault inside threadPaused

GHC ghc-devs at haskell.org
Thu Jul 13 17:31:19 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 bgamari):

 If you aren't able to get debug symbols, I believe that the `StgTSO*`
 argument can be found at `*$rbp`. Consequently, `x/64a ((uint64_t*)
 $rbp)[0] + 0x10` will likely do the trick.

 For my future reference: `$rbx` contains `frame`, `$r13` contains
 `stack_end`

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


More information about the ghc-tickets mailing list