[aarch64-port-dev ] runtime/memory/ReadFromNoaccessArea.java crashes on aarch64

Baesken, Matthias matthias.baesken at sap.com
Wed Nov 20 08:26:17 UTC 2019


Hello, are you aware that the   jtreg hotspot test  runtime/memory/ReadFromNoaccessArea.java   crashes   on aarch64 for some days ?
We notice  the crash since 15. November .

The stderr output  is like this :

stdout: [#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (vtableStubs.cpp:197), pid=6213, tid=6217
#  guarantee(masm->pc() <= s->code_end()) failed: itable #2: overflowed buffer, estimated len: 176, actual len: 180, overrun: 4
#
# JRE version: OpenJDK Runtime Environment (14.0.0.1) (build 14.0.0.1-internal+0-adhoc.openjdk.jdk)
# Java VM: OpenJDK 64-Bit Server VM (14.0.0.1-internal+0-adhoc.openjdk.jdk, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-aarch64)
# Problematic frame:
# V  [libjvm.so+0xdcd534]  VtableStubs::bookkeeping(MacroAssembler*, outputStream*, VtableStub*, unsigned char*, unsigned char*, bool, int, int, int)+0x114
#
# CreateCoredumpOnCrash turned off, no core file dumped
#
# An error report file with more information is saved as:
# /mytestdir/jtreg_hotspot_tier1_work/JTwork/runtime/memory/ReadFromNoaccessArea/hs_err_pid6213.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#
];
stderr: []
exitValue = 1

java.lang.RuntimeException: 'SIGSEGV' missing from stdout/stderr

         at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:187)
         at ReadFromNoaccessArea.main(ReadFromNoaccessArea.java:74)
         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.base/java.lang.reflect.Method.invoke(Method.java:564)
         at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
         at java.base/java.lang.Thread.run(Thread.java:833)

JavaTest Message: Test threw exception: java.lang.RuntimeException: 'SIGSEGV' missing from stdout/stderr

JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 'SIGSEGV' missing from stdout/stderr




Thread info from hs_err


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



Current thread (0x0000ffffa4028800):  JavaThread "main" [_thread_in_vm, id=6217, stack(0x0000ffffa9f3b000,0x0000ffffaa13b000)]



Stack: [0x0000ffffa9f3b000,0x0000ffffaa13b000],  sp=0x0000ffffaa137f40,  free space=2035k

Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)

V  [libjvm.so+0xdcd534]  VtableStubs::bookkeeping(MacroAssembler*, outputStream*, VtableStub*, unsigned char*, unsigned char*, bool, int, int, int)+0x114

V  [libjvm.so+0xdce1fc]  VtableStubs::create_itable_stub(int)+0x584

V  [libjvm.so+0xdccbd0]  VtableStubs::find_stub(bool, int)+0x1f0

V  [libjvm.so+0x4e165c]  CompiledIC::set_to_megamorphic(CallInfo*, Bytecodes::Code, bool&, Thread*)+0x74

V  [libjvm.so+0xb62358]  SharedRuntime::handle_ic_miss_helper_internal(Handle, CompiledMethod*, frame const&, methodHandle, Bytecodes::Code, CallInfo&, bool&, Thread*)+0x1e0

V  [libjvm.so+0xb63144]  SharedRuntime::handle_ic_miss_helper(JavaThread*, Thread*)+0x6c4

V  [libjvm.so+0xb63380]  SharedRuntime::handle_wrong_method_ic_miss(JavaThread*)+0x38

v  ~RuntimeStub::ic_miss_stub

j  jdk.internal.module.ModuleBootstrap.boot()Ljava/lang/ModuleLayer;+1323 java.base at 14.0.0.1-internal

j  java.lang.System.initPhase2(ZZ)I+0 java.base at 14.0.0.1-internal

v  ~StubRoutines::call_stub

V  [libjvm.so+0x712b60]  JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x368

V  [libjvm.so+0x711460]  JavaCalls::call_static(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0xf8

V  [libjvm.so+0xd5a2dc]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x8f4

V  [libjvm.so+0x7a23b0]  JNI_CreateJavaVM+0x78

C  [libjli.so+0x48d0]  JavaMain+0x70

C  [libjli.so+0x885c]  ThreadJavaMain+0xc

C  [libpthread.so.0+0x7060]  start_thread+0xb0



Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)

v  ~RuntimeStub::ic_miss_stub

J 41 c1 jdk.internal.module.ModuleBootstrap$2.hasNext()Z java.base at 14.0.0.1-internal (30 bytes) @ 0x0000ffff8cbf12e0 [0x0000ffff8cbf1080+0x0000000000000260]

j  java.lang.Module.implAddOpensToAllUnnamed(Ljava/util/Iterator;)V+47 java.base at 14.0.0.1-internal

j  java.lang.System$2.addOpensToAllUnnamed(Ljava/lang/Module;Ljava/util/Iterator;)V+2 java.base at 14.0.0.1-internal

j  jdk.internal.module.ModuleBootstrap.addIllegalAccess(Ljava/lang/module/ModuleFinder;Ljava/util/Map;Ljava/util/Map;Ljava/lang/ModuleLayer;Z)V+573 java.base at 14.0.0.1-internal

j  jdk.internal.module.ModuleBootstrap.boot()Ljava/lang/ModuleLayer;+1323 java.base at 14.0.0.1-internal

j  java.lang.System.initPhase2(ZZ)I+0 java.base at 14.0.0.1-internal

v  ~StubRoutines::call_stub


Best regards, Matthias




More information about the aarch64-port-dev mailing list