Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#73292 - [libx11] segmentation fault at XSetICFocus causes Minecraft to hang upon losing focus

Attached to Project: Community Packages
Opened by aisuneko (aisuneko) - Saturday, 08 January 2022, 08:11 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 16 May 2023, 06:39 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


While playing Minecraft on Arch Linux, if the game window loses focus for a period of time it will hang (no mouse input feedback etc) and the whole process will become unresponsive. The JVM crash log (as shown below) indicates that libx11 had a segmentation fault (SIGSEGV) at XSetICFocus.
Additional info:
* package version(s)
Minecraft 1.18.1 (or 1.17.1) w/ jdk-openjdk 17.0.1.u12-1
* config and/or log files etc.
JVM crash log:

# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x00007fc5793a5b5f, pid=392706, tid=392710
# JRE version: OpenJDK Runtime Environment (17.0.1+12) (build 17.0.1+12)
# Java VM: OpenJDK 64-Bit Server VM (17.0.1+12, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [] XSetICFocus+0xf
# 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 <redacted>)
# An error report file with more information is saved as:
# <redacted>
# 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.

* link to upstream bug report, if any

Steps to reproduce:
- Use a Minecraft launcher (tested on MultiMC and HMCL) to launch the game.
- Click somewhere outside the game window and use other applications for a while.
- Switch back to the game window. The game should now hang and the process should be unresponsive.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 16 May 2023, 06:39 GMT
Reason for closing:  Upstream
Additional comments about closing:  If still happening, please follow up with upstream.
Comment by Andreas Radke (AndyRTR) - Saturday, 08 January 2022, 09:09 GMT
Please check for known bugs or file a new one there:
Comment by aisuneko (aisuneko) - Saturday, 08 January 2022, 09:14 GMT
update: sometimes the problematic frame will change to
[] Xutf8LookupString+0xa
with the same symptoms. This will happen when trying to use input method in the game(I'm using fcitx5 in this case).
Comment by Toolybird (Toolybird) - Tuesday, 16 May 2023, 06:38 GMT