[GHC] #13916: Optimizations create run time seg faults

GHC ghc-devs at haskell.org
Mon Jul 3 02:56:59 UTC 2017


#13916: Optimizations create run time seg faults
-------------------------------------+-------------------------------------
        Reporter:  newthin           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
  (CodeGen)                          |
      Resolution:                    |             Keywords:  optimization
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 One last observation: it looks like this `CATCH_RETRY_FRAME` was (perhaps
 as expected) constructed by `stg_catchRetryzh`,
 {{{
 (rr) bt
 #0  0x00000000006eb879 in stg_catchRetryzh () at rts/PrimOps.cmm:1245
 #1  0x00000000006eb408 in ?? () at rts/PrimOps.cmm:990
 #2  0x00000000004073a0 in s6zq_info () at ./Bracket.hs:105
 #3  0x0000000000613e58 in s3E1_info () at
 libraries/base/Control/Exception/Base.hs:222
 #4  0x00000000006e75f0 in ?? ()
 #5  0x000000000040a328 in sdbc_info () at main.hs:21
 #6  0x0000000000454680 in sbFu_info ()
 #7  0x0000000000000000 in ?? ()
 }}}

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


More information about the ghc-tickets mailing list