#1791: -M option does not work
----------------------------+-----------------------------------------------
 Reporter:  guest           |          Owner:  igloo     
     Type:  bug             |         Status:  reopened  
 Priority:  normal          |      Milestone:  6.8 branch
Component:  Runtime System  |        Version:  6.8       
 Severity:  blocker         |     Resolution:            
 Keywords:                  |     Difficulty:  Unknown   
 Testcase:  outofmem2       |   Architecture:  Unknown   
       Os:  Unknown         |  
----------------------------+-----------------------------------------------
Changes (by guest):

  * status:  closed => reopened
  * type:  merge => bug
  * resolution:  fixed =>

Comment:

 I actually expected to get an exception stating "out of heap", like it
 also works for stack overflows. I have a catch all exception catcher, but
 this one isn't triggered. Also the actual output doesn't state it's an
 exception, so I guess it really is not. So, I am reopening it again.
 Again, to be clear: I want that

 {{{
 Control.Exception.catch
          action
          (\exception -> do
            appendFile "/home/me/exception" (show exception)
            return Nothing)
 }}}
 where action contains the code that overflows the heap does not result in
 a complete program failure, it should just be a _local_ problem (i.e. an
 exception). This also means that the test case is likely to be wrong.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1791#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to