JDK-6534336 : C2 crash in CallGenerator*Compile::call_generator
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.4.2_07
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2007-03-14
  • Updated: 2010-08-05
  • Resolved: 2007-03-20
Related Reports
Duplicate :  
Relates :  
Description
Crash in C2 compiler on Solaris 8 with 1.4.2_07 
(reproduced also with 1.4.2_11 and 1.4.2_13)

--- called from signal handler with signal 11 (SIGSEGV) ---
fe153920 CallGenerator*Compile::call_generator(ciMethod*,int,JVMState*,int,float) (fe586000, 8a4a, 1, 919010, 1, 3f800000) + 484
fe155ab4 void Parse::do_call() (919010, f4ae614, aa680e30, 1, 4, f4ae8ed) + 2a0fe1001e0 void Parse::do_one_bytecode() (aa680e30, f4aec44, 0, 34b9ec, fe118a24, f4ae3c0) + 6908
fe13e524 void Parse::do_one_block() (aa680e30, f4ae444, 2c, 918fe8, 34b3c0, eae9b9e0) + 1f8
fe4a9a20 void Parse::visit_blocks() (aa680e30, 8b1a2b4, 1, 447030, fe16fedc, f4ae3c0) + 9c
fe1702a4 Parse::Parse #Nvariant 1(JVMState*,ciMethod*,float) (aa680e30, 0, f4ae894, 47378f00, 0, 918f81) + 918
fe1725e0 JVMState*ParseGenerator::generate(JVMState*) (8b1a2a4, 918f38, aa6811ac, fe586000, 0, 0) + 8c
fe1ff788 Compile::Compile(ciEnv*,ciScope*,ciMethod*,int,int,int) (fe538ee1, 1456e2c, 8b1a2a4, 100c128, ffffffff, 1) + 930
fe1fc1cc void C2Compiler::compile_method(ciEnv*,ciScope*,ciMethod*,int,int) (35988, aa681ab4, 0, 34b3c0, ffffffff, 0) + 64
fe1fb990 void CompileBroker::invoke_compiler_on_method(CompileTask*) (fc7, 0, ffffffff, fe5c51b8, fe5d1fdc, f5fb8) + 61c
fe2ab188 void CompileBroker::compiler_thread_loop() (fe5396e9, fe5c5584, f5fb8, f6568, 31db2c, fe268438) + 428
fe268460 void JavaThread::run() (f5fb8, c, 40, 0, b, ff37c000) + 284
fe264940 _start (f5fb8, ff37d658, 1, 1, ff37c000, 0) + 134
ff36b01c _thread_start (f5fb8, 0, 0, 0, 0, 0) + 40

Comments
EVALUATION This is dup of 6258466. closed as dup.
20-03-2007

SUGGESTED FIX Two locations that could be fixed: ------- doCall.cpp ------- 151c151 < if (receiver_method->holder() != ik) { --- > if (receiver_method != NULL && receiver_method->holder() != ik) { 758,761c758 < if (exact_method->holder() != actual_receiver) { < exact_method = NULL; < } < if (exact_method != NULL) { ---
15-03-2007

WORK AROUND Add an .hotspotrc with exclude of the method it is compiling: exclude org/apache/axis/message/MessageElement addTextNode
14-03-2007