#2502: segfault with GHC.Handle.fdToHandle'
------------------------+---------------------------------------------------
    Reporter:  EricKow  |       Owner:         
        Type:  bug      |      Status:  new    
    Priority:  normal   |   Component:  None   
     Version:  6.8.3    |    Severity:  normal 
    Keywords:           |    Testcase:         
Architecture:  x86      |          Os:  FreeBSD
------------------------+---------------------------------------------------
 While trying to configure darcs, a FreeBSD user discovered that the
 following program segfaults if you compile it with "ghc  -threaded
 -optl-L/usr/local/lib -optl-L/usr/local/lib/ -optl-pthread"

 {{{
 import GHC.Handle ( fdToHandle' )
 import IO ( IOMode(..) )

 main = fdToHandle' 1 Nothing False "stdout" WriteMode True
 }}}

 For more details, please see http://bugs.darcs.net/issue979

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2502>
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