Project

General

Profile

Emulator Issues #11391

dolphin-emu crashes with a segmentation fault when QT_QPA_PLATFORM=wayland

Added by Valmar over 1 year ago. Updated 9 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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

History

#1 Updated by Techjar over 1 year ago

Use gdb and get a stack trace. "Segmentation fault" tells us nothing.

#3 Updated by Techjar over 1 year ago

I meant only the thread that faulted, not all of them. I can't tell which thread the fault occurred on.

#4 Updated by Valmar over 1 year ago

Full backtrace from GDB:

https://paste.kde.org/p77uxuvr6

I hope this is more helpful. :)

#5 Updated by kanepyork over 1 year 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...?

#6 Updated by Valmar over 1 year 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.

#7 Updated by Valmar 9 months ago

This seems to be fixed, interestingly.

#8 Updated by JosJuice 9 months ago

  • Status changed from New to Fixed

Marking as fixed, then.

Also available in: Atom PDF