adoptium / adoptium-support

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

SIGFPE libopenal.so #947

Closed zoga-com closed 9 months ago

zoga-com commented 9 months ago

Please provide a brief summary of the bug

From what I understand, sometimes the application crashes because of SIGFPE when the game accesses the openal library.

Please provide steps to reproduce where possible

Since the problem was noticed only in Minecraft Java Edition 1.20.1, and only after updating the java version to 17.0.8+7 (it is possible that the problem is valid only for fedora 38/39, as the problem was reproduced only on it):

  1. Install JDK 17.0.8+7
  2. Install Minecraft 1.20.1
  3. Change game worlds
  4. With some chance the game will freeze and call SIGFPE

Expected Results

The application should not crash.

Actual Results

The app crashes.

What Java Version are you using?

openjdk version "17.0.8" 2023-07-18 OpenJDK Runtime Environment Temurin-17.0.8+7 (build 17.0.8+7) OpenJDK 64-Bit Server VM Temurin-17.0.8+7 (build 17.0.8+7, mixed mode, sharing)

What is your operating system and platform?

Fedora 38 (and 39) on x86_64. kernel 6.5.10-300

How did you install Java?

dnf

Did it work before?

Before to upgrading openjdk (and temurin) to 17.0.8, the problem was not detected.

Did you test with the latest update version?

I'm using the latest version available for my system.

Did you test with other Java versions?

Yes, there is also a problem on Red Hat openjdk.

Relevant log output

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGFPE (0x8) at pc=0x00007fa2dee458b4, pid=23744, tid=23745
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.8+7 (17.0.8+7) (build 17.0.8+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.8+7 (17.0.8+7, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libopenal.so+0x458b4]
#
# 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" (or dumping to /home/dima/Загрузки/PrismLauncher-Linux-Portable-6.0/instances/Fabulously Optimized(1)/minecraft/core.23744)
#
# An error report file with more information is saved as:
# /home/dima/Загрузки/PrismLauncher-Linux-Portable-6.0/instances/Fabulously Optimized(1)/minecraft/hs_err_pid23744.log
[thread 23857 also had an error]
[ALSOFT] (EE) Failed to set real-time priority for thread: Операция не позволена (1)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
github-actions[bot] commented 9 months ago

Thank you for the report! It looks like you are reporting that the game Minecraft crashed for you. Please try the following:

If none of the above helped, and you are still experiencing the crash with the official launcher and without any mods installed, please submit this issue over at the Mojang bug tracker. Please search for existing reports first; in case you do not find any, create a new report and let us know about the issue number here (e.g. MC-123456). The Mojang team will take the first look. If an OpenJDK bug is identified, the Mojang team will contact our team to address the issue.