[GHC] #11978: running a profiled build of shake test suite with rts args +RTS -hb -N10 triggers SIGSEGV

GHC ghc-devs at haskell.org
Mon Apr 25 10:51:26 UTC 2016


#11978: running a profiled build of shake test suite with rts args  +RTS -hb -N10
triggers SIGSEGV
---------------------------------+----------------------------------------
        Reporter:  carter        |                Owner:
            Type:  bug           |               Status:  new
        Priority:  highest       |            Milestone:
       Component:  Compiler      |              Version:  8.0.1
      Resolution:                |             Keywords:
Operating System:  MacOS X       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:  #4820         |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by erikd):

 Running under `gdb` I actually get a sensible backtrace, so it seems this
 crashed was in C code:

 {{{
 Program received signal SIGSEGV, Segmentation fault.
 0x00000000004c8130 in LdvCensusForDead.part.0 ()
 (gdb) bt
 #0  0x00000000004c8130 in LdvCensusForDead.part.0 ()
 #1  0x00000000004d27ad in GarbageCollect ()
 #2  0x00000000004c9cc5 in scheduleDoGC ()
 #3  0x00000000004cba8b in exitScheduler ()
 #4  0x00000000004bc890 in hs_exit_ ()
 #5  0x00000000004bce1f in shutdownHaskellAndExit ()
 #6  0x00000000004ce13d in hs_main ()
 #7  0x000000000040a61d in main ()
 }}}

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


More information about the ghc-tickets mailing list