[GHC] #8303: defer StackOverflow exceptions (rather than dropping them) when exceptions are masked

GHC ghc-devs
Fri Oct 11 08:46:47 UTC 2013


#8303: defer StackOverflow exceptions (rather than dropping them) when exceptions
are masked
-------------------------------+-------------------------------------------
        Reporter:  rwbarton    |            Owner:  ezyang
            Type:  bug         |           Status:  patch
        Priority:  normal      |        Milestone:
       Component:  Runtime     |          Version:  7.7
  System                       |         Keywords:
      Resolution:              |     Architecture:  Unknown/Multiple
Operating System:              |       Difficulty:  Easy (less than 1 hour)
  Unknown/Multiple             |       Blocked By:
 Type of failure:              |  Related Tickets:
  None/Unknown                 |
       Test Case:              |
        Blocking:              |
-------------------------------+-------------------------------------------

Comment (by simonmar):

 This is a very clever trick, and it has a certain devious beauty.  I have
 no idea if we're going to trip up an assumption somewhere by having a
 throwTo message where the source and the destination are the same thread,
 but I'm happy to take the risk (and I'm sure we can fix up any breakage
 that results).

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



More information about the ghc-tickets mailing list