JDK-7052197 : JSR 292: SIGSEGV in CompileTask::print_compilation_impl
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-06-07
  • Updated: 2011-06-08
  • Resolved: 2011-06-08
Related Reports
Duplicate :  
Description
JDK 7 b143 and b144 crash in compiler thread:

#  SIGSEGV (0xb) at pc=0x40302332, pid=17315, tid=1125669792
#
# JRE version: 7.0-b144
# Java VM: Java HotSpot(TM) Client VM (21.0-b14 compiled mode, sharing linux-x86 )
# Problematic frame:
# V  [libjvm.so+0x17a332]  CompileTask::print_compilation_impl(outputStream*, methodOopDesc*, int, int, bool, int, bool, char const*)+0x62

Stack: [0x43105000,0x43186000],  sp=0x43184ec0,  free space=511k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x17a332]  CompileTask::print_compilation_impl(outputStream*, methodOopDesc*, int, int, bool, int, bool, char const*)+0x62;;  CompileTask::print_compilation_impl(outputStream*, methodOopDesc*, int, int, bool, int, bool, char const*)+0x62
V  [libjvm.so+0x35c882]  nmethod::log_state_change() const+0x192;;  nmethod::log_state_change() const+0x192
V  [libjvm.so+0x35dc07]  nmethod::make_not_entrant_or_zombie(unsigned int)+0x117;;  nmethod::make_not_entrant_or_zombie(unsigned int)+0x117
V  [libjvm.so+0x3f4bea]  NMethodSweeper::process_nmethod(nmethod*)+0x18a;;  NMethodSweeper::process_nmethod(nmethod*)+0x18a
V  [libjvm.so+0x3f4d94]  NMethodSweeper::sweep_code_cache()+0xc4;;  NMethodSweeper::sweep_code_cache()+0xc4
V  [libjvm.so+0x3f4e50]  NMethodSweeper::possibly_sweep()+0x70;;  NMethodSweeper::possibly_sweep()+0x70
V  [libjvm.so+0x17a01d]  CompileQueue::get()+0x1d;;  CompileQueue::get()+0x1d
V  [libjvm.so+0x17cfa7]  CompileBroker::compiler_thread_loop()+0x117;;  CompileBroker::compiler_thread_loop()+0x117
V  [libjvm.so+0x4274c8]  compiler_thread_entry(JavaThread*, Thread*)+0x18;;  _ZL21compiler_thread_entryP10JavaThreadP6Thread+0x18
V  [libjvm.so+0x42ec08]  JavaThread::run()+0x178;;  JavaThread::run()+0x178
V  [libjvm.so+0x379341]  java_start(Thread*)+0x111;;  _ZL10java_startP6Thread+0x111
C  [libpthread.so.0+0x535b]  start_thread+0x8b

VM flags were: -XX:+AggressiveOpts -XX:+PrintCompilation

Comments
EVALUATION This was fixed as part of the changes for optimizing selectAlternative 7050554 http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/diff/f918d6096e23/src/share/vm/compiler/compileBroker.cpp which will appear in b146
08-06-2011