[GHC] #8189: Default to infinite stack size?

GHC ghc-devs at haskell.org
Sat Sep 7 05:25:58 CEST 2013


#8189: Default to infinite stack size?
-------------------------------+-------------------------------------------
        Reporter:  nh2         |            Owner:
            Type:  bug         |           Status:  new
        Priority:  normal      |        Milestone:
       Component:  Runtime     |          Version:  7.6.3
  System                       |         Keywords:
      Resolution:              |     Architecture:  Unknown/Multiple
Operating System:              |       Difficulty:  Easy (less than 1 hour)
  Unknown/Multiple             |       Blocked By:
 Type of failure:  Runtime     |  Related Tickets:
  crash                        |
       Test Case:              |
        Blocking:              |
-------------------------------+-------------------------------------------

Comment (by bgamari):

 I believe I'm pretty much done. The only thing I lack is the ability to
 report the correct stack size after allocation has failed. I believe the
 stack overflow message is produced by a hook in
 [[GhcFile(rts/hooks/StackOverflow.c)]] which is called by `stackOverflow`
 in [[GhcFile(rts/RtsUtils.c)]]. I'm having great difficulty tracing flow
 of control back further than this however. How does execution get from the
 `stackOverflow_closure` being thrown to `stackOverflow`?

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




More information about the ghc-tickets mailing list