mojira.dev
MC-148461

Java crash: libjemalloc.so

The game will unpredictably crash. This has happened during the splash screen as well as during actual gameplay.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f1955bb7f26, pid=1901, tid=0x00007f19573cf700
#
# JRE version: OpenJDK Runtime Environment (8.0_212-b01) (build 1.8.0_212-b01)
# Java VM: OpenJDK 64-Bit Server VM (25.212-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libjemalloc.so+0x33f26]
#
# Core dump written. Default location: /home/cole/.minecraft/core or core.1901
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

Linked issues

Attachments

Comments 20

I root-caused this to a change in jemalloc version. Prerelease 3 downgraded to LWJGL 3.1.6 (which includes jemalloc 5.1.0). Forcing the game to use lwjgl 3.2.1 (which includes jemalloc 5.2.0) solves the issue. See the details I wrote in MC-148505.

This happens on 1.14 pre-release 4 as well under Ubuntu 18.10, Oracle Java 8

 

Blake Redenius

I get this on 1.14 pre-release 4 on my arch linux desktop and my xubuntu 18.04 laptop. Using OpenJDK 8.

Can confirm for 1.14-pre5. Crash is also unpredictable.
Possibly caused by the fix of MC-144107.
See the duplicate [MC-148505] for technical details.

Mario Verbelen

I can confirm for 1.14-pre5 to

[media]
10 more comments

Confirm on 14 pre 5.

Java:

openjdk version "1.8.0_201"
OpenJDK Runtime Environment (build 1.8.0_201-b09)
OpenJDK 64-Bit Server VM (build 25.201-b09, mixed mode)

System:

4.14.106-desktop-1.mga6 #1 SMP Thu Mar 14 18:01:29 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

James Salvatore

Confirmed 14pre5.  Exact same as above.  Changing to lwjgl 3.2.1 as above seems to have solved it temporarily.

openjdk 11.0.2 2019-01-15
OpenJDK Runtime Environment (build 11.0.2+9-Ubuntu-3ubuntu118.04.3)
OpenJDK 64-Bit Server VM (build 11.0.2+9-Ubuntu-3ubuntu118.04.3, mixed mode, sharing)

 

OS: Ubuntu 18.04.2 LTS x86_64
Kernel: 4.18.0-17-generic
Resolution: 1080x1920, 1920x1200
DE: GNOME 3.28.3
Terminal: terminator
CPU: Intel i7-6700K (8) @ 4.200GHz
GPU: NVIDIA GeForce GTX 980 Ti
Memory: 5353MiB / 15966MiB

Adrian Siekierka

In general, one of the workarounds we have employed locally is to use lwjgl-jemalloc 3.2.1 with the rest of lwjgl being at 3.1.6 on Linux - this hasn't caused any issues so far, and may be a consideration-worthy option.

Same problem on Manjaro with 1.14 Pre-Release 5.

Also confirmed on 1.14, seems like this wasn't fixed on macOS

Cole Bright

Fry

Community Consensus

Crash

Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5

Minecraft 1.14

Retrieved