#3812: segfault in maybePerformBlockedException
-------------------------------+--------------------------------------------
    Reporter:  duncan          |        Owner:                     
        Type:  bug             |       Status:  new                
    Priority:  normal          |    Milestone:                     
   Component:  Runtime System  |      Version:  6.12.1             
    Keywords:                  |   Difficulty:                     
          Os:  Solaris         |     Testcase:                     
Architecture:  sparc           |      Failure:  Building GHC failed
-------------------------------+--------------------------------------------
 On the 6.12 stable branch on Sparc Solaris, the buildbot reports that
 stage2 segfaults.

 Using GDB on the core file gives us this backtrace
 {{{
 #0  0x02421dfc in maybePerformBlockedException ()
 #1  0x023fba60 in threadPaused ()
 #2  0x02412a50 in stg_returnToSched ()
 #3  0x02412a50 in stg_returnToSched ()
 }}}

 The same is not happening on the 6.13 head branch. There stage2 works ok.
 In addition the 6.12.1 release works ok.

 The `rts/RaiseAsync.c` file containing `maybePerformBlockedException` is
 currently identical between the stable and head branches.

 Sadly, relinking stage2 with -debug does not shed any light on things. We
 get a segfault with a different backtrace
 {{{
 #0  0x02399580 in integer_cmm_int2Integerzh ()
 #1  0x02397984 in sJ9_info ()
 #2  0x02397984 in sJ9_info ()
 }}}
 Of course since this is a cmm function there is no symbolic debug info.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3812>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to