adoptium / adoptium/adoptium-support

java8 randomly crashing on Ubuntu 20.04

Open
#715 21 comments 0 reactions 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

We have everything running on Ubuntu 20.04 and was on 8u332-b09, but now on 8u362-b09
We are getting random crashes, every couple of days and only a couple of our processes, as we have around 200 running distributedly

### Please provide steps to reproduce where possible

Works fine until randomly crashes?

### Expected Results

No crash

### Actual Results

Crashes on a random occurence?

### What Java Version are you using?

openjdk version "1.8.0_362" OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b09) OpenJDK 64-Bit Server VM (Temurin)(build 25.362-b09, mixed mode)

### What is your operating system and platform?

OS:DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.5 LTS"

uname:Linux 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
libc:glibc 2.31 NPTL 2.31

### How did you install Java?

Via Apt

### Did it work before?

```Shell
We have tried different GC's and different parameters; no benefit
```

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

```Shell
Yes
```

### Did you test with other Java versions?

```Shell
8u332-b09 and 8u362-b09 (Current)
```

### Relevant log output

```Shell
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fe79506d100, pid=2364926, tid=0x00007fe780a3d700
#
# JRE version: OpenJDK Runtime Environment (8.0_362-b09) (build 1.8.0_362-b09)
# Java VM: OpenJDK 64-Bit Server VM (25.362-b09 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x591100] G1ParEvacuateFollowersClosure::do_void()+0x90
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# *************************
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
#
Aborted (core dumped)

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00007faf48e9f106, pid=478950, tid=0x00007faf347f8700
#
# JRE version: OpenJDK Runtime Environment (8.0_332-b09) (build 1.8.0_332-b09)
# Java VM: OpenJDK 64-Bit Server VM (25.332-b09 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x98c106] ParEvacuateFollowersClosure::do_void()+0x6
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# *************************
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
#
```

Contributor guide

Open the contributing guide

Research direction

Start with the fatal-error logs and the saved JVM error report, then compare 8u332-b09 and 8u362-b09 runs with their GC and launch parameters. Enable core dumps if possible and gather the missing crash diagnostics; done means the failure is reproducible or the runtime and environment cause are identified and the crash no longer occurs.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.