Emulator Issues #11391
closeddolphin-emu crashes with a segmentation fault when QT_QPA_PLATFORM=wayland
0%
Description
"[valmar@valmar-desktop ~]$ QT_QPA_PLATFORM=wayland /usr/bin/dolphin-emu
Using Wayland-EGL
Segmentation fault (core dumped)"
Looking at other bug reports, back in 2014 Wayland support seemed to be working, so maybe something got broken along the way.
Or maybe Wayland support is fine, and there is something else is awry that I don't know about...
Relevant package versions:
dolphin-emu-git 5.0.r8716.0fbe1a2330
kwin 5.13.90
kwayland 5.50.0
kwayland-integration 5.13.90-1
qt5-wayland 5.11.1-1
wayland 1.16.0
wayland-protocols 1.16
Updated by Techjar over 6 years ago
Use gdb and get a stack trace. "Segmentation fault" tells us nothing.
Updated by Techjar over 6 years ago
I meant only the thread that faulted, not all of them. I can't tell which thread the fault occurred on.
Updated by Valmar over 6 years ago
Updated by kanepyork over 6 years ago
Dolphin's last stack frame in that is calling XRRQueryVersion from libXrandr, and the crash happens inside XQueryExtension from libX11. UICommon/X11Utils.cpp:72 . I don't think that's something that should be crashing...?
Updated by Valmar over 6 years ago
That's because I'm running Dolphin with QT_QPA_PLATFORM=wayland.
Dolphin expects to find X11, and so segfaults when it can't communicate with Xwayland.