[GHC] #8189: Default to infinite stack size?
GHC
ghc-devs at haskell.org
Sun Sep 8 11:00:33 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 thoughtpolice):
Merged in `d85044f6b201eae0a9e453b89c0433608e0778f0` with some minor
tweaks. Notably, when `allocateFail(...) == NULL` when allocating
`new_stack`, we call `stackOverflow(tso)` and then `stg_exit`, instead of
`throwToSingleThreaded`. This is more in line with what `allocate` will
now do.
Thanks to Ben and Reid Barton for helping with this and spotting that
error!
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8189#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list