Bug 503461 - xdg-desktop-portal-kde crash multiple times when logout from start menu
Summary: xdg-desktop-portal-kde crash multiple times when logout from start menu
Status: REPORTED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.3.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-28 05:39 UTC by BryanLiang
Modified: 2025-04-28 16:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BryanLiang 2025-04-28 05:39:14 UTC
SUMMARY
As title,

I logout from the start menu. After re-login, I ran `coredumpctl list` in the terminal and found out that there are 5 coredump records of xdg-desktop-portal-kde. The signal of all of them is SIGABRT. Besides, I found serveral message like

```
4月 28 12:38:00 systemd[1291]: Failed to start Xdg Desktop Portal For KDE.
4月 28 12:38:00 systemd[1291]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
4月 28 12:38:00 systemd[1291]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
```
in the journald.


STEPS TO REPRODUCE
I think they are random crash and there is no stable way to reproduce.

OBSERVED RESULT
xdg-desktop-portal-kde crash many times.

EXPECTED RESULT
xdg-desktop-portal-kde doesn't crash.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.13.8-arch1-1-cjktty (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 13.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics


ADDITIONAL INFORMATION
Here are stack trace of five coredump files.

http://0x0.st/8WaU.txt
http://0x0.st/8WaG.txt
http://0x0.st/8WaD.txt
http://0x0.st/8Wak.txt
http://0x0.st/8Wad.txt

Here is the journald log.
https://0x0.st/8Wa5.txt
Comment 1 Nate Graham 2025-04-28 16:03:11 UTC
        fatalMessage = {d = {d = 0x645ea54ad4f0, ptr = 0x645ea54ad500 u"This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.\n\nAvailable platform plugins are: eglfs, linuxfb, minimal, minima"..., size = 263}, static _empty = 0 u'\000'}