[GHC] #6006: hs_init(NULL, NULL) segfaults on latest snapshot

GHC cvs-ghc at haskell.org
Fri Apr 27 16:03:25 CEST 2012


#6006: hs_init(NULL, NULL) segfaults on latest snapshot
-------------------------------+--------------------------------------------
    Reporter:  ezyang          |       Owner:  simonmar     
        Type:  bug             |      Status:  new          
    Priority:  high            |   Milestone:  7.6.1        
   Component:  Runtime System  |     Version:  7.5          
    Keywords:                  |          Os:  Linux        
Architecture:  x86             |     Failure:  Runtime crash
  Difficulty:  Unknown         |    Testcase:               
   Blockedby:                  |    Blocking:               
     Related:                  |  
-------------------------------+--------------------------------------------

Comment(by marlowsd@…):

 commit 4ca281829c70331571291ed3dcf813a6028cc904
 {{{
 Author: Simon Marlow <marlowsd at gmail.com>
 Date:   Fri Apr 27 13:20:56 2012 +0100

     hs_init(): cope with argc and/or argv being NULL (#6006)

  rts/RtsStartup.c |    9 ++++++++-
  1 files changed, 8 insertions(+), 1 deletions(-)
 }}}

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



More information about the Glasgow-haskell-bugs mailing list