[GHC] #4445: Sometimes exit() is called instead of stg_exit()

GHC cvs-ghc at haskell.org
Tue Oct 26 21:07:45 EDT 2010


#4445: Sometimes exit() is called instead of stg_exit()
---------------------------------+------------------------------------------
    Reporter:  augustss          |       Owner:                
        Type:  bug               |      Status:  new           
    Priority:  normal            |   Component:  Runtime System
     Version:  6.12.3            |    Keywords:                
    Testcase:                    |   Blockedby:                
          Os:  Unknown/Multiple  |    Blocking:                
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown  
---------------------------------+------------------------------------------
 In rts/win32/seh_excn.h the exit() function is used instead of stg_exit().
 That means that DLLs can't override exit mechanism and the whole
 application dies instead of just the DLL.

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


More information about the Glasgow-haskell-bugs mailing list