[GHC] #6113: Profiling with -p not written if killed with SIGTERM

GHC cvs-ghc at haskell.org
Tue May 22 01:49:46 CEST 2012


#6113: Profiling with -p not written if killed with SIGTERM
---------------------------------+------------------------------------------
    Reporter:  Veinor            |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:  7.6.1           
   Component:  Profiling         |     Version:  7.4.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * difficulty:  => Unknown
  * milestone:  => 7.6.1


Comment:

 Right, well SIGINT results in an asynchronous exception being sent to the
 main thread, whereas the other two signals don't get any special
 treatment.  I suppose we should really catch all the signals that cause
 the program to terminate and turn them into exceptions, but that needs
 some thought about the API (what exceptions are generated?).

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



More information about the Glasgow-haskell-bugs mailing list