adoptium / adoptium-support

For end-user problems reported with our binary distributions
Apache License 2.0
47 stars 15 forks source link

Intermittent JVM crash in (SEGV) in PtrQueueSet::retry_enqueue #1177

Open losipiuk opened 1 month ago

losipiuk commented 1 month ago

Please provide a brief summary of the bug

We observed random JVM crash (one off) on SIGSEGV in PtrQueueSet::retry_enqueue. hs_err.log: https://gist.github.com/losipiuk/5e816c521d774cb9721c203d1383bd85 We were running Trino in Temurin-22.0.2+9.

Did you test with the latest update version?

Please provide steps to reproduce where possible

No response

Expected Results

No crash :)

Actual Results

Crash with sigsegv.

What Java Version are you using?

JRE version: OpenJDK Runtime Environment Temurin-22.0.2+9 (22.0.2+9) (build 22.0.2+9) # Java VM: OpenJDK 64-Bit Server VM Temurin-22.0.2+9 (22.0.2+9, mixed mode, sharing, tiered, compressed class ptrs, g1 gc, linux-aarch64)

What is your operating system and platform?

We are running java in docker in container based on registry.access.redhat.com/ubi9/ubi-minimal:latest

How did you install Java?

tar.gz

set -xeuo pipefail && \
    microdnf install -y tar gzip && \
    # Install JDK from the provided archive link \
    echo "Downloading JDK" && \
    mkdir -p "${JAVA_HOME}" && \
    curl -#LfS -w %{filename_effective} "$(curl -s -w %{redirect_url} "https://api.adoptium.net/v3/binary/latest/${JDK_VERSION}/ga/linux/$(arch)/jdk/hotspot/normal/eclipse")" | tar -zx --strip 1 -C "${JAVA_HOME}"

Did it work before?

No response

Did you test with other Java versions?

No response

Relevant log output

No response

karianna commented 1 month ago

@losipiuk are you able to try with Java 23 or 21.0.4 (The 22 line will not be updated beyond 22.0.2)?

losipiuk commented 1 month ago

We are running 23 now on prod. But as this was one off - not something I can really reproduce, I cannot be sure if this is still problem for 23 or not. If I see it I will definitely report back.