https://bugs.kde.org/show_bug.cgi?id=524150
Bug ID: 524150
Summary: xdg-desktop-portal-kde 6.7.4 crashed on a
SourceType::Virtual screencast request: "Object
destroyed while one of its QML signal handlers is in
progress"
Classification: Plasma
Product: xdg-desktop-portal-kde
Version First 6.7.4
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
DESCRIPTION
While using Vortex (https://github.com/zoir-dev/vortex) for extending my laptop
screen to my Android Phone, KDE crashed while creating the virtual screen (with
type SourceType::Virtual). The error is that the object is destructed while its
signal handlers is in progress, leading to a SIGABRT and a core dump of the
application.
STEPS TO REPRODUCE
1. Use the branch "fix/cast-failure-reporting-and-portal-virtual"
https://github.com/X-Ryl669/vortex and build the project as per the
instructions (run ./install_linux.sh)
2. Build the android application as well (run ./install_android.sh)
3. Pair the phone with the main application, and on the Android phone, click
the "screen cast" icon, then select "Extended display"
4. The KDE's process will crash (but the software will re-attempt connecting
and thus will succeed later on)
OBSERVED RESULT
Core dump generated (download here within the next 10 days:
https://gofile.io/d/7874hP ):
PID: 33876 (xdg-desktop-por)
TID: 33876 (xdg-desktop-por)
UID: 1000 (cyril)
GID: 1000 (cyril)
Signal: 6 (ABRT) si_code: SI_TKILL
Timestamp: Tue 2026-08-11 12:32:04 CEST (1h 25min ago)
Command Line: /usr/lib/xdg-desktop-portal-kde
Executable: /usr/lib/xdg-desktop-portal-kde
Control Group:
/user.slice/user-1000.slice/[email protected]/session.slice/plasma-xdg-desktop-portal-kde.service
Unit: [email protected]
User Unit: plasma-xdg-desktop-portal-kde.service
Slice: user-1000.slice
Owner UID: 1000 (cyril)
Boot ID: c97b1203c6c44932b081be8c064a9f66
Machine ID: 2423d3b1fc994101b746b942004fa386
Hostname: gaia
Storage:
/var/lib/systemd/coredump/core.xdg-desktop-por.1000.c97b1203c6c44932b081be8c064a9f66.33876.1786444324000000.zst
(present)
Size on Disk: 7.3M
Message: Process 33876 (xdg-desktop-por) of user 1000 dumped core.
Stack trace of thread 33876:
#0 0x00007fcde8eaf16b pthread_kill (libc.so.6 + 0xaf16b)
#1 0x00007fcde8e44b88 raise (libc.so.6 + 0x44b88)
#2 0x00007fcde8e257a7 abort (libc.so.6 + 0x257a7)
#3 0x00007fcde96968e4 n/a (libQt6Core.so.6 + 0x968e4)
#4 0x00007fcde969771d _ZNK14QMessageLogger5fatalEPKcz
(libQt6Core.so.6 + 0x9771d)
#5 0x00007fcdeb493dd2 n/a (libQt6Qml.so.6 + 0x93dd2)
#6 0x00007fcde97e6f60 _ZN7QObjectD2Ev (libQt6Core.so.6 +
0x1e6f60)
#7 0x00007fcde177c08e n/a (libQt6QuickTemplates2.so.6 +
0x17c08e)
#8 0x00007fcde97e7c6a _ZN7QObject5eventEP6QEvent
(libQt6Core.so.6 + 0x1e7c6a)
#9 0x00007fcdea90411f
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 +
0x10411f)
#10 0x00007fcde9783658
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 +
0x183658)
#11 0x00007fcde9783a61
_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
(libQt6Core.so.6 + 0x183a61)
#12 0x00007fcde9a9fc98 n/a (libQt6Core.so.6 + 0x49fc98)
#13 0x00007fcde6a5faf5 n/a (libglib-2.0.so.0 + 0x6daf5)
#14 0x00007fcde6a61008 n/a (libglib-2.0.so.0 + 0x6f008)
#15 0x00007fcde6a61152 g_main_context_iteration
(libglib-2.0.so.0 + 0x6f152)
#16 0x00007fcde9a9d0b2
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x49d0b2)
#17 0x00007fcde9791983
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
0x191983)
#18 0x0000563626928394 n/a (/usr/lib/xdg-desktop-portal-kde
(deleted) + 0x136394)
#19 0x00007fffaba112e8 n/a (n/a + 0x0)
#20 0x00007fcde9c80a00 n/a (libQt6Core.so.6 + 0x680a00)
ELF object binary architecture: AMD x86-64
EXPECTED RESULT
No crash generated, a virtual screen should be created and work out of the box.
SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.1.5-1-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen AI 7 350 w/ Radeon 860M
Memory: 32 Gio of RAM (30.6 Gio usable)
Graphics Processor: AMD Radeon 860M Graphics
Manufacturer: LENOVO
Product Name: 83HY
System Version: IdeaPad Slim 5 16AKP10
--
You are receiving this mail because:
You are watching all bug changes.