#1619: The RTS chokes on SIGPIPE (happens with runInteractiveCommand)
-------------------------------+--------------------------------------------
    Reporter:  int-e           |        Owner:         
        Type:  bug             |       Status:  new    
    Priority:  normal          |    Milestone:         
   Component:  Runtime System  |      Version:  6.7    
    Severity:  normal          |   Resolution:         
    Keywords:                  |   Difficulty:  Unknown
          Os:  Linux           |     Testcase:         
Architecture:  x86             |  
-------------------------------+--------------------------------------------
Comment (by int-e):

 Any big file will do. I just happened to have a nice large {{{core}}} file
 lying around.

 I assume that the {{{out}}} file handle gets closed as a result of garbage
 collection. That's a bit inconvenient, but not a bug, in my opionion. The
 bug is that the Haskell program doesn't survive the {{{SIGPIPE}}},
 preventing the {{{print "after"}}} from ever happening.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1619>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to