dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.2k stars 497 forks source link

[Bug] JVM crash at CMTask::do_marking_step #639

Open freedom1ren opened 4 months ago

freedom1ren commented 4 months ago

Description

A fatal error has been detected by the Java Runtime Environment:

#

SIGSEGV (0xb) at pc=0x00007fdb9427d14c, pid=1, tid=0x00007fdb7c6ff700

#

JRE version: OpenJDK Runtime Environment (8.0_402-b01) (build 1.8.0_402-b01)

Java VM: OpenJDK 64-Bit Server VM (25.402-b01 mixed mode linux-amd64 compressed oops)

Problematic frame:

V [libjvm.so+0x4bd14c] CMTask::do_marking_step(double, bool, bool)+0xbfc

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

Current thread (0x00007fdb8c060800): ConcurrentGCThread [stack: 0x00007fdb7c600000,0x00007fdb7c700000] [id=64]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00000000000001b0

Stack: [0x00007fdb7c600000,0x00007fdb7c700000], sp=0x00007fdb7c6fed40, free space=1019k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x4bd14c] CMTask::do_marking_step(double, bool, bool)+0xbfc V [libjvm.so+0x4c3714] CMConcurrentMarkingTask::work(unsigned int)+0x1e4 V [libjvm.so+0xbb7198] GangWorker::loop()+0xd8 V [libjvm.so+0x9ac392] java_start(Thread*)+0x102

--------------- S Y S T E M ---------------

OS:CentOS Linux release 7.9.2009 (Core)

uname:Linux 5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 libc:glibc 2.17 NPTL 2.17 rlimit: STACK 8192k, CORE infinity, NPROC infinity, NOFILE 65535, AS infinity load average:2.60 2.57 2.92

Memory: 4k page, physical 9437184k(62232k free), swap 0k(0k free)

vm_info: OpenJDK 64-Bit Server VM (25.402-b01) for linux-amd64 JRE (1.8.0_402-b01), built on Feb 27 2024 08:43:52 by "root" with gcc 7.5.0

time: Fri May 24 12:55:49 2024 timezone: CST elapsed time: 49339.460229 seconds (0d 13h 42m 19s)

使用dragonwell8时偶尔会发生jvm crash问题,详细log如下: hs_err_pid1 .log