[GHC] #15595: Stack overflow in withArgs leads to infinite memory-consuming loop

GHC ghc-devs at haskell.org
Thu Sep 6 07:31:03 UTC 2018


#15595: Stack overflow in withArgs leads to infinite memory-consuming loop
----------------------------------+--------------------------------------
        Reporter:  NeilMitchell   |                Owner:  (none)
            Type:  bug            |               Status:  new
        Priority:  normal         |            Milestone:  8.6.1
       Component:  Compiler       |              Version:  8.5
      Resolution:                 |             Keywords:
Operating System:  Windows        |         Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |            Test Case:
      Blocked By:                 |             Blocking:
 Related Tickets:                 |  Differential Rev(s):
       Wiki Page:                 |
----------------------------------+--------------------------------------

Comment (by simonmar):

 Isn't this the correct behaviour? StackOverflow is an asynchronous
 exception, so we can't throw it inside `mask`. I don't understand why the
 program loops, though.

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


More information about the ghc-tickets mailing list