adoptium / adoptium/adoptium-support

Intermittent OpenJDK 11.0.19 Crash in G1GC

Open
#836 3 comments 1 reaction 0 assignees View on GitHub
bug jbs:reported keep
Dominant language
No language data
Stars
60
Forks
13
PR merge metrics
No merged PRs in 30d

Description

### Please provide a brief summary of the bug

During the JVM runtime < 24 hours - JVM intermittently crashes on G1GC
The logs are

````
# SIGSEGV (0xb) at pc=0x00007f5dae0c7b7c, pid=32279, tid=32284
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.19+7 (11.0.19+7) (build 11.0.19+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.19+7 (11.0.19+7, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x661b7c] oopDesc::size_given_klass(Klass*)+0x2c

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

Current thread (0x00007f8b20001000): ConcurrentGCThread "G1 Conc#1" [stack: 0x00007f8ac37f2000,0x00007f8ac38f2000] [id=660222]

Stack: [0x00007f5d50afc000,0x00007f5d50bfc000], sp=0x00007f5d50bfacd8, 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+0x661b7c] oopDesc::size_given_klass(Klass*)+0x2c
`````
or

`````
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f8b80e759ec, pid=660187, tid=660222
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.16+8 (11.0.16+8) (build 11.0.16+8)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.16+8 (11.0.16+8, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x65f9ec] oopDesc::size_given_klass(Klass*)+0x2c
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e" (or dumping to )
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
#

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

Current thread (0x00007f8b20001000): ConcurrentGCThread "G1 Conc#1" [stack: 0x00007f8ac37f2000,0x00007f8ac38f2000] [id=660222]
`````

or

````
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f41f39ab68d, pid=2747361, tid=2747366
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.16+8 (11.0.16+8) (build 11.0.16+8)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.16+8 (11.0.16+8, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x87f68d] HeapRegion::block_size(HeapWord const*) const+0x1dd
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e" (or dumping to)
#
# If you would like to submit a bug report, please visit:
#
#

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

Current thread (0x00007f41edd88000): ConcurrentGCThread "G1 Refine#0" [stack: 0x00007f41f0a7c000,0x00007f41f0b7c000] [id=2747366]

`````

### Please provide steps to reproduce where possible

_No response_

### Expected Results

no crash

### Actual Results

crash JVM

### What Java Version are you using?

OpenJDK 64-Bit Server VM Temurin-11.0.19+7

### What is your operating system and platform?

_No response_

### How did you install Java?

_No response_

### Did it work before?

_No response_

### Did you test with the latest update version?

_No response_

### Did you test with other Java versions?

_No response_

### Relevant log output

_No response_

Contributor guide

Open the contributing guide

Research direction

The report names no repository files, tests, or entry points. Start by reproducing the SIGSEGV with OpenJDK 11 and G1GC using the supplied crash signatures, then determine whether the failure is repeatable across the listed JVM versions. Done requires an identified cause and a verified fix or a clearly documented resolution; no reproduction steps are provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, linux
Domain
compilers, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.