JDK-6795773 : C2 crash at DepGraph::make_edge
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 6u11,6u12
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2009-01-20
  • Updated: 2011-02-16
  • Resolved: 2009-02-10
Related Reports
Duplicate :  
Description
The is radiance case 66173847
core file: /net/cores.central/cores//66173847/core2
           /net/cores.central/cores//66173847/jan19

Java Version: JDK 6 Update 11
Application Server:SJSAS 9.1U2 Patch 03
OS: Solaris 10 / Sparc

Probelm: JVM Crashes at DepGraph::make_edge() in the C2 compiler with the follow
ing stack

(dbx) where
current thread: t@7
=>[1] __lwp_kill(0x0, 0x6, 0x0, 0x6, 0xfc00, 0x0), at 0xff2c155c
 [2] raise(0x6, 0x0, 0xff2a4ce8, 0xffffffff, 0xff2e8288, 0x6), at 0xff25fef8
 [3] abort(0x0, 0x1, 0xff2a4cd8, 0xa8274, 0xff2eb298, 0x0), at 0xff240118
 [4] os::abort(0x1, 0xff115574, 0x1, 0xff0fe000, 0x17574, 0x17400), at 0xfee7124
c
 [5] VMError::report_and_die(0xff1369c0, 0x0, 0x1, 0xff0c7f77, 0xfef85dd0, 0x174
00), at 0xfef7a244
 [6] JVM_handle_solaris_signal(0xb, 0xaf7fd7d0, 0xaf7fd518, 0x92800, 0xd7c00, 0x
fef04f68), at 0xfe9a5344
 [7] __sighndlr(0xb, 0xaf7fd7d0, 0xaf7fd518, 0xfe9a48a8, 0x0, 0x1), at 0xff2c049
4
 ---- called from signal handler with signal 11 (SIGSEGV) ------
 [8] DepGraph::make_edge(0x17de578, 0x17de4e8, 0x0, 0x28, 0x0, 0x17e6484), at 0x
fef04f68
 [9] SuperWord::dependence_graph(0xaf7fdaa4, 0x8, 0x8, 0x8, 0x8, 0x0), at 0xfeef
c49c
 [10] SuperWord::SLP_extract(0xaf7fdaa4, 0x1910050, 0x10fe25c, 0x2, 0x10fb438, 0
xfe931064), at 0xfeefaf1c
 [11] PhaseIdealLoop::PhaseIdealLoop(0xaf7fdc8c, 0x0, 0x1910050, 0x1904f88, 0xaf
7ff3c8, 0xaf7fdbe8), at 0xfee1798c
 [12] Compile::Optimize(0xaf7ff3c8, 0xd1820, 0xaf7fdc8c, 0xff137578, 0xaf7fdf60,
 0x24), at 0xfe9abd14
 [13] Compile::Compile(0xaf7ff3c8, 0x182b6d4, 0x317b8, 0x18236e0, 0xaf7ffa0c, 0x
18240e0), at 0xfebcaa68
 [14] C2Compiler::compile_method(0x317b8, 0xaf7ffa0c, 0x10e9538, 0xffffffff, 0xf
eff7ed0, 0xff0fe000), at 0xfe9a6738
 [15] CompileBroker::invoke_compiler_on_method(0x186ba20, 0xe8400, 0x466, 0x0, 0
xfe9a66bc, 0xd7c00), at 0xfe9a74cc
 [16] CompileBroker::compiler_thread_loop(0x0, 0xff135980, 0xd7c00, 0xd1760, 0x2
d000, 0x2d000), at 0xfea214c0
 [17] JavaThread::thread_main_inner(0xd7c00, 0xd8030, 0x7, 0xf, 0xff0fe000, 0x0)
, at 0xfef287d4
 [18] java_start(0xd7c00, 0x5, 0x18eb, 0xff0fe000, 0xff069631, 0xff1362c4), at 0
xfee705c8

Comments
EVALUATION I believe this is the same as 6646020. I was able to replay the compile from the core file and it failed in the same assert. The fix from the bug also caused the problem to disappear.
21-01-2009