Project

General

Profile

Actions

Emulator Issues #11391

closed

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

Added by Valmar over 5 years ago. Updated almost 5 years 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

Actions #1

Updated by Techjar over 5 years ago

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

Actions #2

Updated by Valmar over 5 years ago

Actions #3

Updated by Techjar over 5 years ago

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

Actions #4

Updated by Valmar over 5 years ago

Full backtrace from GDB:

https://paste.kde.org/p77uxuvr6

I hope this is more helpful. :)

Actions #5

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

Actions #6

Updated by Valmar over 5 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.

Actions #7

Updated by Valmar almost 5 years ago

This seems to be fixed, interestingly.

Actions #8

Updated by JosJuice almost 5 years ago

  • Status changed from New to Fixed

Marking as fixed, then.

Actions

Also available in: Atom PDF