JDK-8229384 : ZGC: vmTestbase/gc/memory/Churn/Churn3/Churn3.java failed due to SIGSEGV
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 11.0.5-oracle,13,14
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86_64
  • Submitted: 2019-08-09
  • Updated: 2019-09-04
  • Resolved: 2019-09-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 14
14Resolved
Related Reports
Duplicate :  
Relates :  
Description
The following test failed in the JDK14 CI:

vmTestbase/gc/memory/Churn/Churn3/Churn3.java

Here's a snippet from the log file:

Starting Thread[gc.memory.Churn.Churn3.Churn3$ThreadObject@75e0e235,5,MainThreadGroup]
Starting Thread[gc.memory.Churn.Churn3.Churn3$ThreadObject@761456a2,5,MainThreadGroup]
Starting Thread[gc.memory.Churn.Churn3.Churn3$ThreadObject@423f159b,5,MainThreadGroup]
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fe6442c336c, pid=9498, tid=9508
#
# JRE version: Java(TM) SE Runtime Environment (14.0+10) (build 14-ea+10-298)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14-ea+10-298, mixed mode, tiered, z gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xe3936c]  ZRelocate::relocate_object(ZForwarding*, unsigned long) const+0x8c
#
# Core dump will be written. Default location: /opt/mach5/mesos/work_dir/slaves/00f4d7f9-7805-4b6a-aef8-9bb130db2435-S1023/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3f85efbc-aeae-479c-96fc-e215cc8d2aa3/runs/20b70c86-f269-4435-af93-3d7f37f00bd8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_gc_misc/scratch/2/core.9498
#
# An error report file with more information is saved as:
# /opt/mach5/mesos/work_dir/slaves/00f4d7f9-7805-4b6a-aef8-9bb130db2435-S1023/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3f85efbc-aeae-479c-96fc-e215cc8d2aa3/runs/20b70c86-f269-4435-af93-3d7f37f00bd8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_gc_misc/scratch/2/hs_err_pid9498.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(0/0)----------
----------rerun:(34/7123)*----------

This is yet another SIGSEGV on an OCI machine so I've
tagged this with 'needs-OCI-investigation'.
Comments
Will be fixed by JDK-8230565
04-09-2019

Stack trace from hs_err: Current thread (0x00007fe63c0595c0): GCTaskThread "ZWorker#6" [stack: 0x00007fe64206d000,0x00007fe64216d000] [id=9508] Stack: [0x00007fe64206d000,0x00007fe64216d000], sp=0x00007fe64216a920, free space=1014k Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0xe3936c] ZRelocate::relocate_object(ZForwarding*, unsigned long) const+0x8c V [libjvm.so+0xe39e41] ZRelocateRootsIteratorClosure::do_oop(oopDesc**)+0x21 V [libjvm.so+0x7cb60d] HandleArea::oops_do(OopClosure*)+0x5d V [libjvm.so+0xd64733] JavaThread::oops_do(OopClosure*, CodeBlobClosure*)+0x53 V [libjvm.so+0xe3c83d] ZRootsIteratorThreadClosure::do_thread(Thread*)+0x5d V [libjvm.so+0xd69e88] Threads::possibly_parallel_threads_do(bool, ThreadClosure*)+0x168 V [libjvm.so+0xe3b125] ZRootsIterator::oops_do(ZRootsIteratorClosure*, bool)+0x1a5 V [libjvm.so+0xe4442c] ZTask::GangTask::work(unsigned int)+0x1c V [libjvm.so+0xe00f8d] GangWorker::loop()+0x4d V [libjvm.so+0xd6c59d] Thread::call_run()+0x10d V [libjvm.so+0xbbebb7] thread_native_entry(Thread*)+0xe7 siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00007fe9abaa1580
12-08-2019

Happened with zgc, so tagging as such pending evidence that it's a more generic problem.
09-08-2019