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

GHC ghc-devs
Fri Oct 11 23:58:36 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 rwbarton):

 > Hey Reid, I wanted to use your test case, but its use of /dev/null makes
 it not portable.

 Does it really? I figured it would be okay since I noticed the testsuite
 driver redirected stdin from `/dev/null` anyways... does it do something
 different on Windows?

 > Can you fix that?

 Hmm, maybe. I guess since I set the max stack size so low, I can reduce
 `bignum` to something like 500, set `ignore_output`, and have the failure
 mode of the test be that the program completes successfully... I'll try
 it.

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



More information about the ghc-tickets mailing list