JDK-6994834 : assert(allocated_on_stack()) failed: copy only into local
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs19
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2010-10-26
  • Updated: 2011-01-19
  • Resolved: 2010-11-30
Related Reports
Duplicate :  
Description
Application crashes after 7 hours (HS 19 b09, fastdebug, -client -XX:+UseSerialGC -Xcomp -XX:CompileThreshold=1 -XX:+UseCodeCacheFlushing).

#  Internal Error (/export1/BUILD_AREA/jdk6_23/hotspot/src/share/vm/memory/allocation.cpp:99), pid=20310, tid=7
#  assert(allocated_on_stack()) failed: copy only into local
#

Current thread (0x08107c00):  JavaThread "CompilerThread0" daemon [_thread_in_native, id=7, stack(0xcccdd000,0xccd5d000)]

Stack: [0xcccdd000,0xccd5d000],  sp=0xccd5b730,  free space=505k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xd4d67e];;  void VMError::report(outputStream*)+0x712
V  [libjvm.so+0xd4e712];;  void VMError::report_and_die()+0x4c6
V  [libjvm.so+0x4d08da];;  void report_vm_error(const char*,int,const char*,const char*)+0x62
V  [libjvm.so+0x133285];;  ResourceObj&ResourceObj::operator=(const ResourceObj&)+0x5d
V  [libjvm.so+0x2e11de];;  Interval*Interval::new_split_child()+0x1f2
V  [libjvm.so+0x2e13d3];;  Interval*Interval::split(int)+0x2b
V  [libjvm.so+0x2e6c73];;  void LinearScanWalker::split_before_usage(Interval*,int,int)+0x4f7
V  [libjvm.so+0x2e8336];;  void LinearScanWalker::split_when_partial_register_available(Interval*,int)+0xd6
V  [libjvm.so+0x2e917f];;  bool LinearScanWalker::alloc_free_reg(Interval*)+0x72b
V  [libjvm.so+0x2eae14];;  bool LinearScanWalker::activate_current()+0x1ec
V  [libjvm.so+0x2e3502];;  void IntervalWalker::walk_to(int)+0x126
V  [libjvm.so+0x2c9da3];;  void LinearScan::allocate_registers()+0x1e7
V  [libjvm.so+0x2d5cc4];;  void LinearScan::do_linear_scan()+0x5c0
V  [libjvm.so+0x1f8ad8];;  void Compilation::emit_lir()+0x5cc
V  [libjvm.so+0x1f93e2];;  int Compilation::compile_java_method()+0x2e2
V  [libjvm.so+0x1f98b4];;  void Compilation::compile_method()+0x168
V  [libjvm.so+0x1fa6c6];;  Compilation::Compilation(AbstractCompiler*,ciEnv*,ciMethod*,int,BufferBlob*)+0x22a
V  [libjvm.so+0x1fc2ab];;  void Compiler::compile_method(ciEnv*,ciMethod*,int)+0x217
V  [libjvm.so+0x43ee09];;  void CompileBroker::invoke_compiler_on_method(CompileTask*)+0xf35
V  [libjvm.so+0x43d361];;  void CompileBroker::compiler_thread_loop()+0xc69
V  [libjvm.so+0xc8e252];;  void compiler_thread_entry(JavaThread*,Thread*)+0x2a
V  [libjvm.so+0xc85299];;  void JavaThread::thread_main_inner()+0x175
V  [libjvm.so+0xc84f36];;  void JavaThread::run()+0x422
V  [libjvm.so+0xad88a7];;  java_start+0x253
C  [libc.so.1+0xa7055];;  _thr_setup+0x4e
C  [libc.so.1+0xa7340];;  _lwp_start+0x0


Current CompileTask:
C1:255325   b  org.apache.xmlgraphics.fonts.Glyphs.<clinit>()V (5746 bytes)

Comments
EVALUATION I think this is related to the problems with 6993125 and the assert being unreliable.
30-11-2010