[GHC] #7227: cannot build ghc-7.6.1 because haddock seg-faults

GHC cvs-ghc at haskell.org
Mon Sep 10 12:58:53 CEST 2012


#7227: cannot build ghc-7.6.1 because haddock seg-faults
-------------------------+--------------------------------------------------
    Reporter:  maeder    |       Owner:              
        Type:  bug       |      Status:  new         
    Priority:  normal    |   Milestone:              
   Component:  Compiler  |     Version:  7.6.1       
    Keywords:            |          Os:  Solaris     
Architecture:  x86       |     Failure:  None/Unknown
  Difficulty:  Unknown   |    Testcase:              
   Blockedby:            |    Blocking:              
     Related:            |  
-------------------------+--------------------------------------------------

Comment(by maeder):

 inplace/bin/haddock works if called without the remaining +RTS flags "+RTS
 -tlibraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-prim.haddock.t
 --machine-readable" (this was not there in ghc-7.6.0.20120810)

 In fact, all my programs seg-fault if called with "+RTS -t..."

 {{{
 -bash-3.00$ cat W.hs
 main = putStrLn "hello"
 -bash-3.00$ ghc W.hs -rtsopts
 [1 of 1] Compiling Main             ( W.hs, W.o )
 Linking W ...
 -bash-3.00$ gdb --args ./W +RTS -ttest
 GNU gdb (GDB) 7.2
 Copyright (C) 2010 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "i386-pc-solaris2.10".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from /local/home/maeder/haskell/W...done.
 (gdb) run
 Starting program: /local/home/maeder/haskell/W +RTS -ttest
 [Thread debugging using libthread_db enabled]
 [New Thread 1 (LWP 1)]

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 1 (LWP 1)]
 0xfecd63ec in strlen () from /lib/libc.so.1
 }}}

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



More information about the Glasgow-haskell-bugs mailing list