id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
3812,segfault in maybePerformBlockedException,duncan,,"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.",bug,closed,normal,7.0.1,Runtime System,6.12.1,invalid,,,Solaris,sparc,Building GHC failed,,,,,
