-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
In Fedora, which uses Wayland by default, the following crash occurs:
java -jar keyboard-layout-editor-all-1.0-SNAPSHOT.jar
(java:20699): Gdk-CRITICAL **: 21:07:05.720: gdk_x11_display_set_window_scale: assertion 'GDK_IS_X11_DISPLAY (display)' failed
(java:20699): GLib-GObject-WARNING **: 21:07:05.720: invalid cast from 'GdkWaylandDisplay' to 'GdkX11Display'
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f29e67b89b0, pid=20699, tid=0x00007f298821d640
#
# JRE version: OpenJDK Runtime Environment (8.0_312-b07) (build 1.8.0_312-b07)
# Java VM: OpenJDK 64-Bit Server VM (25.312-b07 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libX11.so.6+0x329b0] XInternAtom+0x40
The workaround is to execute java as follows:
GDK_BACKEND=x11 java -jar keyboard-layout-editor-all-1.0-SNAPSHOT.jar
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels