You are not logged in.

#1 2024-05-12 09:12:50

ilia21
Member
Registered: 2024-04-15
Posts: 23

[SOLVED] Minecraft crash SIGBUS (0x7) | C [libc.so.6+0x167637]

Hello! I did a clean reinstall of Arch today because I was having a lot of problems. Now Minecraft randomly crashes while I'm playing. I tried the following:
1. Disabling all mods -> same result
2. Changing java versions -> same result
3. Moving minecraft to a btrfs SSD -> same result
4. Another launcher -> same result
Also before I had a problem that all my system sounds do buzzing sound when minecraft starts, this solved it: https://wiki.archlinux.org/title/Minecr … n_PipeWire

Crash log says the following:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x000078eb45b0d637, pid=9579, tid=9937
#
# JRE version: OpenJDK Runtime Environment (21.0.3+9) (build 21.0.3+9)
# Java VM: OpenJDK 64-Bit Server VM (21.0.3+9, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libc.so.6+0x167637]
#
# 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/ilia21/mnt/SSD/Minecraft/1.20.1 Optimized - QoL/core.9579)
#
# An error report file with more information is saved as:
# /home/ilia21/mnt/SSD/Minecraft/1.20.1 Optimized - QoL/hs_err_pid9579.log
#
# If you would like to submit a bug report, please visit:
# 
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#https://bugreport.java.com/bugreport/crash.jsp

I also can upload the core dump log, but I don't know how safe it is.

System Info:
Operating System: Arch Linux
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX 5700 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B450 GAMING X

SOLUTION:
1. Install official launcher from AUR and launch the game once
2. Find the Java that was downloaded by the official launcher. In my case it was in /home/ilia21/.minecraft/runtime/java-runtime-gamma/linux/java-runtime-gamma/bin/java
3. Use it in your launcher of choice
4. You can uninstall the official launcher if you do not need it, just make sure that the new Java executable is not removed

Last edited by ilia21 (2024-05-12 18:41:35)

Offline

Board footer

Powered by FluxBB