JDK-8246731 : SEGV in AccessInternal::PostRuntimeDispatch
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 15
  • Priority: P2
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • Submitted: 2020-06-08
  • Updated: 2020-06-15
  • Resolved: 2020-06-15
Related Reports
Relates :  
Description
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff5827102b0, pid=20734, tid=20770
#
# JRE version: Java(TM) SE Runtime Environment (15.0+27) (build 15-ea+27-1318)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (15-ea+27-1318, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x4a42b0]  AccessInternal::PostRuntimeDispatch<G1BarrierSet::AccessBarrier<286838ul, G1BarrierSet>, (AccessInternal::BarrierType)3, 286838ul>::oop_access_barrier(oopDesc*, long)+0x0
#

---------------  T H R E A D  ---------------

Current thread (0x00007ff57c1c35a0):  JavaThread "pool-1-thread-18" [_thread_in_vm, id=20770, stack(0x00007ff53a260000,0x00007ff53a361000)]

Stack: [0x00007ff53a260000,0x00007ff53a361000],  sp=0x00007ff53a35ee58,  free space=1019k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x4a42b0]  AccessInternal::PostRuntimeDispatch<G1BarrierSet::AccessBarrier<286838ul, G1BarrierSet>, (AccessInternal::BarrierType)3, 286838ul>::oop_access_barrier(oopDesc*, long)+0x0
V  [libjvm.so+0x74c6f9]  InstanceKlass::link_class_impl(Thread*)+0x59
V  [libjvm.so+0x74e153]  InstanceKlass::initialize_impl(Thread*)+0x143
V  [libjvm.so+0x7690a1]  InterpreterRuntime::_new(JavaThread*, ConstantPool*, int)+0x191
j  java.util.stream.ReduceOps$3.makeSink()Ljava/util/stream/ReduceOps$3ReducingSink;+0 java.base@15-ea
j  java.util.stream.ReduceOps$3.makeSink()Ljava/util/stream/ReduceOps$AccumulatingSink;+1 java.base@15-ea
j  java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Ljava/util/stream/PipelineHelper;Ljava/util/Spliterator;)Ljava/lang/Object;+2 java.base@15-ea
j  java.util.stream.AbstractPipeline.evaluate(Ljava/util/stream/TerminalOp;)Ljava/lang/Object;+88 java.base@15-ea
j  java.util.stream.ReferencePipeline.collect(Ljava/util/stream/Collector;)Ljava/lang/Object;+86 java.base@15-ea
j  java.lang.Class.methodToString(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/String;+63 java.base@15-ea
j  java.lang.Class.getConstructor0([Ljava/lang/Class;I)Ljava/lang/reflect/Constructor;+76 java.base@15-ea
j  java.lang.Class.getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;+24 java.base@15-ea
j  java.security.Provider.newInstanceUtil(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;+31 java.base@15-ea
j  java.security.Provider$Service.newInstance(Ljava/lang/Object;)Ljava/lang/Object;+241 java.base@15-ea
j  sun.security.jca.GetInstance.getInstance(Ljava/security/Provider$Service;Ljava/lang/Class;)Lsun/security/jca/GetInstance$Instance;+2 java.base@15-ea
j  sun.security.jca.GetInstance.getInstance(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lsun/security/jca/GetInstance$Instance;+7 java.base@15-ea
j  java.security.SecureRandom.getInstance(Ljava/lang/String;Ljava/lang/String;)Ljava/security/SecureRandom;+13 java.base@15-ea
j  SeederRace$1.run()V+9
j  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+92 java.base@15-ea
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@15-ea
j  java.lang.Thread.run()V+11 java.base@15-ea
v  ~StubRoutines::call_stub
V  [libjvm.so+0x76fc3c]  JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x30c
V  [libjvm.so+0x77151b]  JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*)+0x1cb
V  [libjvm.so+0x82a47d]  thread_entry(JavaThread*, Thread*)+0x6d
V  [libjvm.so+0xceb6fe]  JavaThread::thread_main_inner()+0xde
V  [libjvm.so+0xcf056d]  Thread::call_run()+0xfd
V  [libjvm.so+0xb43bf7]  thread_native_entry(Thread*)+0xe7

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.util.stream.ReduceOps$3.makeSink()Ljava/util/stream/ReduceOps$3ReducingSink;+0 java.base@15-ea
j  java.util.stream.ReduceOps$3.makeSink()Ljava/util/stream/ReduceOps$AccumulatingSink;+1 java.base@15-ea
j  java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Ljava/util/stream/PipelineHelper;Ljava/util/Spliterator;)Ljava/lang/Object;+2 java.base@15-ea
j  java.util.stream.AbstractPipeline.evaluate(Ljava/util/stream/TerminalOp;)Ljava/lang/Object;+88 java.base@15-ea
j  java.util.stream.ReferencePipeline.collect(Ljava/util/stream/Collector;)Ljava/lang/Object;+86 java.base@15-ea
j  java.lang.Class.methodToString(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/String;+63 java.base@15-ea
j  java.lang.Class.getConstructor0([Ljava/lang/Class;I)Ljava/lang/reflect/Constructor;+76 java.base@15-ea
j  java.lang.Class.getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;+24 java.base@15-ea
j  java.security.Provider.newInstanceUtil(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;+31 java.base@15-ea
j  java.security.Provider$Service.newInstance(Ljava/lang/Object;)Ljava/lang/Object;+241 java.base@15-ea
j  sun.security.jca.GetInstance.getInstance(Ljava/security/Provider$Service;Ljava/lang/Class;)Lsun/security/jca/GetInstance$Instance;+2 java.base@15-ea
j  sun.security.jca.GetInstance.getInstance(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lsun/security/jca/GetInstance$Instance;+7 java.base@15-ea
j  java.security.SecureRandom.getInstance(Ljava/lang/String;Ljava/lang/String;)Ljava/security/SecureRandom;+13 java.base@15-ea
j  SeederRace$1.run()V+9
j  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+92 java.base@15-ea
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@15-ea
j  java.lang.Thread.run()V+11 java.base@15-ea
v  ~StubRoutines::call_stub

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000040
Comments
Have not seen any complaints about my plan to close this bug as "Cannot Reproduce" so I'm closing it.
15-06-2020

ILW = HLH = P2
09-06-2020

This looks more like a Runtime bug, where we hit a NULL pointer somewhere in the class linking. Also, note that we haven't even run a single GC when this crashes.
08-06-2020