Bug 494410 - Remote Desktop Input Leap portal access lost when display layout changes
Summary: Remote Desktop Input Leap portal access lost when display layout changes
Status: RESOLVED FIXED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-10 11:48 UTC by Chris Rizzitello
Modified: 2025-01-13 10:21 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Rizzitello 2024-10-10 11:48:53 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Input capture auth lost after display layout changes.

STEPS TO REPRODUCE
1. install deskflow / input-leap 
2. Connect to server / client and auth for input capure / remote desktop
3. change display layout, 
4. portal access is lost.

OBSERVED RESULT
Lose Access to remote desktop / input capture portal

EXPECTED RESULT

Portal access is not lost

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora 40
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
From this bug https://github.com/deskflow/deskflow/issues/7633
Comment 1 Nate Graham 2024-10-11 18:21:50 UTC
What Plasma version are you using?
Comment 2 Chris Rizzitello 2024-10-11 19:07:57 UTC
(In reply to Nate Graham from comment #1)
> What Plasma version are you using?

Not sure what the reporter (to deskflow) is running but I Just tested on Plasma 6.2.0 and once you change the display you get a re auth prompt.. Could be related to the an inability to restore InputCapture / RemoteDesktop portals maybe.
Comment 3 gabe 2024-10-11 21:06:29 UTC
(In reply to Nate Graham from comment #1)
> What Plasma version are you using?

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.11-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 31.2 GiB of RAM

I'm the original reporter on deskflow
Comment 4 gabe 2024-10-11 21:27:50 UTC
(In reply to Chris Rizzitello from comment #2)
> (In reply to Nate Graham from comment #1)
> > What Plasma version are you using?
> 
> Not sure what the reporter (to deskflow) is running but I Just tested on
> Plasma 6.2.0 and once you change the display you get a re auth prompt..
> Could be related to the an inability to restore InputCapture / RemoteDesktop
> portals maybe.

Just updated to 6.2.0, and I'm seeing the same behavior as before. No re-auth prompt after changing display configuration, and the portal access stops working for Deskflow.
Comment 5 gabe 2024-10-11 21:36:10 UTC
Updating to latest master of Deskflow (eedb3ad1c3a9130d4419bae594232e86941f5ff0), the behavior is different.

Sometimes it asks for the portal access again. Sometimes, KDE gives a notification that the input capture portal crashed:
xdg-desktop-portal-kde Closed Unexpectedly
Please report this error to help improve this software.

It seems to crash about 5% of the time.
Comment 6 Nicolas Fella 2024-10-12 17:38:35 UTC
> Sometimes it asks for the portal access again

On the client or the server side?

> Sometimes, KDE gives a notification that the input capture portal crashed:
xdg-desktop-portal-kde Closed Unexpectedly
Please report this error to help improve this software.

Can you please make a report for it?
Comment 7 gabe 2024-10-12 21:13:50 UTC
(In reply to Nicolas Fella from comment #6)
 
> On the client or the server side?

Server side. My client is MacOS in my tests, so no portals there.
Comment 8 Nicolas Fella 2024-10-12 21:24:40 UTC
Okay, so you:
- Start a session
- Get prompted to allow capturing
- Move the cursor for a bit
- Change the monitor layout
- The remote input stops working

?
Comment 9 gabe 2024-10-12 21:26:26 UTC
(In reply to Nicolas Fella from comment #8)
> Okay, so you:
> - Start a session
> - Get prompted to allow capturing
> - Move the cursor for a bit
> - Change the monitor layout
> - The remote input stops working
> 
> ?

Correct, though you can add a bullet as such:

- immediately after the layout changes, one of two things happen:
    a. Deskflow asks for permission again to perform input capture (more likely)
    b. I get a notification that the portal crashed (as mentioned above) and Deskflow just doesn't work at all anymore until I restart its server (less likley)
Comment 10 Nicolas Fella 2024-10-12 21:33:59 UTC
Okay, it seems that the screen layout change causes xdg-desktop-portal-kde to crash, which explains why the input breaks.

It would be very helpful if you could send a crash report for xdg-desktop-portal-kde via the crash notification
Comment 11 Nicolas Fella 2024-10-14 11:36:06 UTC
This crash report looks relevant: https://crash-reports.kde.org/organizations/kde/issues/77746

0   libc.so.6                       0x73686e4a53f4      __pthread_kill_implementation (pthread_kill.c:44)
1   libc.so.6                       0x73686e4a5462      [inlined] __pthread_kill_internal (pthread_kill.c:78)
2   libc.so.6                       0x73686e4a5462      __GI___pthread_kill (pthread_kill.c:89)
3   libc.so.6                       0x73686e44c11f      __GI_raise (raise.c:26)
4   libc.so.6                       0x73686e4334c2      __GI_abort (abort.c:79)
5   libc.so.6                       0x73686e434353      __libc_message_impl.cold (libc_fatal.c:132)
6   libc.so.6                       0x73686e4af764      malloc_printerr (malloc.c:5772)
7   libc.so.6                       0x73686e4b2ecb      _int_malloc (malloc.c:4086)
8   libc.so.6                       0x73686e4b3901      _int_realloc (malloc.c:4975)
9   libc.so.6                       0x73686e4b4905      __realloc (malloc.c:3517)
10  libQt6Core.so.6.7.3             0x73686ec54def      QArrayData::reallocateUnaligned (qarraydata.cpp:244)
11  libQt6Core.so.6.7.3             0x73686ec3598b      [inlined] QTypedArrayData<T>::reallocateUnaligned (qarraydata.h:154)
12  libQt6Core.so.6.7.3             0x73686ec3598b      [inlined] QtPrivate::QPodArrayOps<T>::reallocate (qarraydataops.h:280)
13  libQt6Core.so.6.7.3             0x73686ec3598b      [inlined] QArrayDataPointer<T>::reallocateAndGrow (qarraydatapointer.h:223)
14  libQt6Core.so.6.7.3             0x73686ec3598b      [inlined] QTypedArrayData<T>::reallocateUnaligned (qarraydata.h:154)
15  libQt6Core.so.6.7.3             0x73686ec3598b      [inlined] QtPrivate::QPodArrayOps<T>::reallocate (qarraydataops.h:280)
16  libQt6Core.so.6.7.3             0x73686ec3598b      [inlined] QArrayDataPointer<T>::reallocateAndGrow (qarraydatapointer.h:223)
17  libQt6Core.so.6.7.3             0x73686ec3598b      [inlined] QTypedArrayData<T>::reallocateUnaligned (qarraydata.h:154)
18  libQt6Core.so.6.7.3             0x73686ec3598b      [inlined] QtPrivate::QPodArrayOps<T>::reallocate (qarraydataops.h:280)
19  libQt6Core.so.6.7.3             0x73686ec3598b      QArrayDataPointer<T>::reallocateAndGrow (qarraydatapointer.h:223)
20  libQt6Core.so.6.7.3             0x73686ec35aaa      QArrayDataPointer<T>::detachAndGrow (qarraydatapointer.h:209)
21  libQt6Core.so.6.7.3             0x73686ec35de9      [inlined] QtPrivate::QCommonArrayOps<T>::growAppend (qarraydataops.h:935)
22  libQt6Core.so.6.7.3             0x73686ec35de9      [inlined] QString::append (qstring.cpp:3173)
23  libQt6Core.so.6.7.3             0x73686ec35de9      [inlined] QtPrivate::QCommonArrayOps<T>::growAppend (qarraydataops.h:935)
24  libQt6Core.so.6.7.3             0x73686ec35de9      QString::append (qstring.cpp:3173)
25  libQt6Core.so.6.7.3             0x73686ec1d4c7      [inlined] QString::append (qstring.cpp:3151)
26  libQt6Core.so.6.7.3             0x73686ec1d4c7      [inlined] QString::append (qstring.cpp:3147)
27  libQt6Core.so.6.7.3             0x73686ec1d4c7      [inlined] QString::append (qstring.cpp:3151)
28  libQt6Core.so.6.7.3             0x73686ec1d4c7      QString::append (qstring.cpp:3147)
29  libQt6Core.so.6.7.3             0x73686ec2a203      QString::vasprintf (qstring.cpp:7403)
30  libQt6Core.so.6.7.3             0x73686eadd390      qt_message (qlogging.cpp:370)
31  libQt6Core.so.6.7.3             0x73686ea8c6c6      QMessageLogger::warning (qlogging.cpp:629)
32  libQt6DBus.so.6.7.3             0x73687022c4c5      QDBusObjectPath::doCheck (qdbusextratypes.cpp:18)
33  xdg-desktop-portal-kde          0x636b055dbf5c      [inlined] QDBusObjectPath::QDBusObjectPath (qdbusextratypes.h:29)
34  xdg-desktop-portal-kde          0x636b055dbf5c      [inlined] InputCapturePortal::GetZones::lambda::operator() (inputcapture.cpp:172)
35  xdg-desktop-portal-kde          0x636b055dbf5c      [inlined] QDBusObjectPath::QDBusObjectPath (qdbusextratypes.h:29)
36  xdg-desktop-portal-kde          0x636b055dbf5c      InputCapturePortal::GetZones::lambda::operator() (inputcapture.cpp:172)
37  libQt6Core.so.6.7.3             0x73686eba3456      [inlined] QtPrivate::QSlotObjectBase::call (qobjectdefs_impl.h:469)
38  libQt6Core.so.6.7.3             0x73686eba3456      [inlined] doActivate<T> (qobject.cpp:4086)
39  libQt6Core.so.6.7.3             0x73686eba3456      [inlined] QtPrivate::QSlotObjectBase::call (qobjectdefs_impl.h:469)
40  libQt6Core.so.6.7.3             0x73686eba3456      doActivate<T> (qobject.cpp:4086)
41  libQt6Gui.so.6.7.3              0x73686f1cdece      [inlined] QScreen::geometryChanged (moc_qscreen.cpp:397)
42  libQt6Gui.so.6.7.3              0x73686f1cdece      [inlined] QScreenPrivate::UpdateEmitter::~UpdateEmitter (qscreen.cpp:817)
43  libQt6Gui.so.6.7.3              0x73686f1cdece      [inlined] QScreen::geometryChanged (moc_qscreen.cpp:397)
44  libQt6Gui.so.6.7.3              0x73686f1cdece      QScreenPrivate::UpdateEmitter::~UpdateEmitter (qscreen.cpp:817)
45  libQt6Gui.so.6.7.3              0x73686f1871b4      [inlined] QGuiApplicationPrivate::processScreenGeometryChange (qguiapplication.cpp:3254)
46  libQt6Gui.so.6.7.3              0x73686f1871b4      [inlined] QGuiApplicationPrivate::processScreenGeometryChange (qguiapplication.cpp:3235)
47  libQt6Gui.so.6.7.3              0x73686f1871b4      [inlined] QGuiApplicationPrivate::processScreenGeometryChange (qguiapplication.cpp:3254)
48  libQt6Gui.so.6.7.3              0x73686f1871b4      QGuiApplicationPrivate::processScreenGeometryChange (qguiapplication.cpp:3235)
49  libQt6Gui.so.6.7.3              0x73686f1e7d23      QWindowSystemInterface::sendWindowSystemEvents (qwindowsysteminterface.cpp:1114)
50  libQt6Gui.so.6.7.3              0x73686f605733      userEventSourceDispatch (qeventdispatcher_glib.cpp:38)
51  libglib-2.0.so.0.8200.1         0x73686c513558      g_main_dispatch.lto_priv.0 (gmain.c:3357)
52  libglib-2.0.so.0.8200.1         0x73686c576156      [inlined] g_main_context_dispatch_unlocked (gmain.c:4208)
53  libglib-2.0.so.0.8200.1         0x73686c576156      [inlined] g_main_context_iterate_unlocked.isra.0 (gmain.c:4273)
54  libglib-2.0.so.0.8200.1         0x73686c576156      [inlined] g_main_context_dispatch_unlocked (gmain.c:4208)
55  libglib-2.0.so.0.8200.1         0x73686c576156      g_main_context_iterate_unlocked.isra.0 (gmain.c:4273)
56  libglib-2.0.so.0.8200.1         0x73686c512a54      g_main_context_iteration (gmain.c:4338)
57  libQt6Core.so.6.7.3             0x73686eda985c      QEventDispatcherGlib::processEvents (qeventdispatcher_glib.cpp:394)
58  libQt6Core.so.6.7.3             0x73686eb50105      [inlined] QEventLoop::processEvents (qeventloop.cpp:100)
59  libQt6Core.so.6.7.3             0x73686eb50105      [inlined] QEventLoop::exec (qeventloop.cpp:182)
60  libQt6Core.so.6.7.3             0x73686eb50105      [inlined] QEventLoop::processEvents (qeventloop.cpp:100)
61  libQt6Core.so.6.7.3             0x73686eb50105      QEventLoop::exec (qeventloop.cpp:182)
62  libQt6Core.so.6.7.3             0x73686eb4a27c      QCoreApplication::exec (qcoreapplication.cpp:1496)
63  libQt6Widgets.so.6.7.3          0x73686faf97a9      QApplication::exec (qapplication.cpp:2555)
64  xdg-desktop-portal-kde          0x636b055ab5f1      main (xdg-desktop-portal-kde.cpp:50)
Comment 12 gabe 2024-10-14 13:26:45 UTC
(In reply to Nicolas Fella from comment #10)
> It would be very helpful if you could send a crash report for
> xdg-desktop-portal-kde via the crash notification

Here's my crash log, just got another one

```
Application: xdg-desktop-portal-kde (xdg-desktop-portal-kde), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}

warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during file-backed mapping note processing
[New LWP 42497]
[New LWP 42498]
[New LWP 42499]
[New LWP 42500]
[New LWP 42502]
[New LWP 42503]
[New LWP 61798]
[New LWP 42504]
[New LWP 61800]
[New LWP 42501]
[New LWP 42505]
[New LWP 42506]
[New LWP 61799]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/libexec/xdg-desktop-portal-kde'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x7f5a4396fb00 (LWP 42497))]

Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:516: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
  boot_time = datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S')
Unexpectedly stumbled over an objfile (/usr/NX/lib/libnxegl.so) without build_id. Not creating payload.
[Current thread is 1 (Thread 0x7f5a4396fb00 (LWP 42497))]

Thread 13 (Thread 0x7f5a07e006c0 (LWP 61799)):
#0  0x00007f5a492a2da9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x55f0dc532f94, expected=0, op=137, abstime=0x7f5a07dff9c0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f0dc532f94, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f5a07dff9c0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f5a492a2e2f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f0dc532f94, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f5a07dff9c0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f5a492a5b62 in __pthread_cond_wait_common (cond=0x55f0dc532f68, mutex=<optimized out>, clockid=1, abstime=0x7f5a07dff9c0) at pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55f0dc532f68, mutex=<optimized out>, abstime=0x7f5a07dff9c0) at pthread_cond_wait.c:643
#5  0x00007f5a49b60f7d in QWaitConditionPrivate::wait_relative (this=0x55f0dc532f40, deadline=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:92
#6  QWaitConditionPrivate::wait (this=0x55f0dc532f40, deadline=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:100
#7  QWaitCondition::wait (this=this@entry=0x55f0dc5d97b0, mutex=mutex@entry=0x7f59f0022818, deadline=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:180
#8  0x00007f5a49b5dd45 in QThreadPoolThread::run (this=0x55f0dc5d97a0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthreadpool.cpp:116
#9  0x00007f5a49b5473c in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:326
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:262
#11 QThreadPrivate::start (arg=0x55f0dc5d97a0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:285
#12 0x00007f5a492a66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#13 0x00007f5a4932a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 12 (Thread 0x7f5a256006c0 (LWP 42506)):
#0  0x00007f5a492a2da9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x55f0dc29b310, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f0dc29b310, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f5a492a2e2f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f0dc29b310, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f5a492a57f9 in __pthread_cond_wait_common (cond=0x55f0dc29b2e8, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55f0dc29b2e8, mutex=<optimized out>) at pthread_cond_wait.c:618
#5  0x00007f5a2cea893d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f5a2ce8570b in util_queue_thread_func (input=input@entry=0x55f0dc2bc110) at ../src/util/u_queue.c:290
#7  0x00007f5a2cea886c in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f5a492a66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x00007f5a4932a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 11 (Thread 0x7f5a260006c0 (LWP 42505)):
#0  0x00007f5a492a2da9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x55f0dc247b00, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f0dc247b00, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f5a492a2e2f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f0dc247b00, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f5a492a57f9 in __pthread_cond_wait_common (cond=0x55f0dc247ad8, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55f0dc247ad8, mutex=<optimized out>) at pthread_cond_wait.c:618
#5  0x00007f5a2cea893d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f5a2ce8570b in util_queue_thread_func (input=input@entry=0x55f0dc28c210) at ../src/util/u_queue.c:290
#7  0x00007f5a2cea886c in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f5a492a66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x00007f5a4932a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 10 (Thread 0x7f5a2cc006c0 (LWP 42501)):
#0  0x00007f5a492a2da9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x55f0dc1b45b8, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f0dc1b45b8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f5a492a2e2f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f0dc1b45b8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f5a492a57f9 in __pthread_cond_wait_common (cond=0x55f0dc1b4590, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55f0dc1b4590, mutex=<optimized out>) at pthread_cond_wait.c:618
#5  0x00007f5a2cea893d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f5a2ce8570b in util_queue_thread_func (input=input@entry=0x55f0dc1b20d0) at ../src/util/u_queue.c:290
#7  0x00007f5a2cea886c in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f5a492a66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x00007f5a4932a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 9 (Thread 0x7f5a074006c0 (LWP 61800)):
#0  0x00007f5a492a2da9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x55f0dc542114, expected=0, op=137, abstime=0x7f5a073ff9c0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f0dc542114, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f5a073ff9c0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f5a492a2e2f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f0dc542114, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f5a073ff9c0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f5a492a5b62 in __pthread_cond_wait_common (cond=0x55f0dc5420e8, mutex=<optimized out>, clockid=1, abstime=0x7f5a073ff9c0) at pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55f0dc5420e8, mutex=<optimized out>, abstime=0x7f5a073ff9c0) at pthread_cond_wait.c:643
#5  0x00007f5a49b60f7d in QWaitConditionPrivate::wait_relative (this=0x55f0dc5420c0, deadline=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:92
#6  QWaitConditionPrivate::wait (this=0x55f0dc5420c0, deadline=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:100
#7  QWaitCondition::wait (this=this@entry=0x55f0dc5e0690, mutex=mutex@entry=0x7f59f0022818, deadline=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:180
#8  0x00007f5a49b5dd45 in QThreadPoolThread::run (this=0x55f0dc5e0680) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthreadpool.cpp:116
#9  0x00007f5a49b5473c in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:326
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:262
#11 QThreadPrivate::start (arg=0x55f0dc5e0680) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:285
#12 0x00007f5a492a66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#13 0x00007f5a4932a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 8 (Thread 0x7f5a26a006c0 (LWP 42504)):
#0  0x00007f5a492a2da9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x55f0dc1b5828, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f0dc1b5828, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f5a492a2e2f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f0dc1b5828, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f5a492a57f9 in __pthread_cond_wait_common (cond=0x55f0dc1b5800, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55f0dc1b5800, mutex=<optimized out>) at pthread_cond_wait.c:618
#5  0x00007f5a2cea893d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f5a2ce8570b in util_queue_thread_func (input=input@entry=0x55f0dc238650) at ../src/util/u_queue.c:290
#7  0x00007f5a2cea886c in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f5a492a66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x00007f5a4932a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (Thread 0x7f5a134006c0 (LWP 61798)):
#0  0x00007f5a492a2da9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x55f0dc5d5de4, expected=0, op=137, abstime=0x7f5a133ff9c0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f0dc5d5de4, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f5a133ff9c0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f5a492a2e2f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f0dc5d5de4, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f5a133ff9c0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f5a492a5b62 in __pthread_cond_wait_common (cond=0x55f0dc5d5db8, mutex=<optimized out>, clockid=1, abstime=0x7f5a133ff9c0) at pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55f0dc5d5db8, mutex=<optimized out>, abstime=0x7f5a133ff9c0) at pthread_cond_wait.c:643
#5  0x00007f5a49b60f7d in QWaitConditionPrivate::wait_relative (this=0x55f0dc5d5d90, deadline=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:92
#6  QWaitConditionPrivate::wait (this=0x55f0dc5d5d90, deadline=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:100
#7  QWaitCondition::wait (this=this@entry=0x55f0dc4d2a30, mutex=mutex@entry=0x7f59f0022818, deadline=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:180
#8  0x00007f5a49b5dd45 in QThreadPoolThread::run (this=0x55f0dc4d2a20) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthreadpool.cpp:116
#9  0x00007f5a49b5473c in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:326
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:262
#11 QThreadPrivate::start (arg=0x55f0dc4d2a20) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:285
#12 0x00007f5a492a66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#13 0x00007f5a4932a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7f5a274006c0 (LWP 42503)):
#0  0x00007f5a492a2da9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x55f0dc1b567c, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f0dc1b567c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f5a492a2e2f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f0dc1b567c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f5a492a57f9 in __pthread_cond_wait_common (cond=0x55f0dc1b5650, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55f0dc1b5650, mutex=<optimized out>) at pthread_cond_wait.c:618
#5  0x00007f5a2cea893d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f5a2ce8570b in util_queue_thread_func (input=input@entry=0x55f0dc200e80) at ../src/util/u_queue.c:290
#7  0x00007f5a2cea886c in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f5a492a66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x00007f5a4932a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7f5a27e006c0 (LWP 42502)):
#0  0x00007f5a492a2da9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x55f0dc1b2bf8, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f0dc1b2bf8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f5a492a2e2f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f0dc1b2bf8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f5a492a57f9 in __pthread_cond_wait_common (cond=0x55f0dc1b2bd0, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55f0dc1b2bd0, mutex=<optimized out>) at pthread_cond_wait.c:618
#5  0x00007f5a2cea893d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f5a2ce8570b in util_queue_thread_func (input=input@entry=0x55f0dc2009a0) at ../src/util/u_queue.c:290
#7  0x00007f5a2cea886c in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f5a492a66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x00007f5a4932a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7f5a2fe006c0 (LWP 42500)):
#0  0x00007f5a4931c87d in __GI___poll (fds=fds@entry=0x7f5a2fdffa60, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5a4c848df5 in poll (__fds=0x7f5a2fdffa60, __nfds=2, __timeout=-1) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x55f0dc132a70) at /usr/src/debug/qt6-qtwayland-6.7.2-4.fc40.x86_64/src/client/qwaylanddisplay.cpp:182
#3  0x00007f5a49b5473c in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:326
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:262
#5  QThreadPrivate::start (arg=0x55f0dc132a70) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:285
#6  0x00007f5a492a66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x00007f5a4932a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f5a34c006c0 (LWP 42499)):
#0  0x00007f5a492a2da9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x55f0dc145c00, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f0dc145c00, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f5a492a2e2f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f0dc145c00, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f5a492a57f9 in __pthread_cond_wait_common (cond=0x55f0dc145bd8, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55f0dc145bd8, mutex=<optimized out>) at pthread_cond_wait.c:618
#5  0x00007f5a49b60ffb in QWaitConditionPrivate::wait (this=0x55f0dc145bb0, deadline=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:102
#6  QWaitCondition::wait (this=this@entry=0x55f0dc132570, mutex=mutex@entry=0x55f0dc132568, deadline=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:180
#7  0x00007f5a4c848d8e in QtWaylandClient::EventThread::waitForReading (this=0x55f0dc132530) at /usr/src/debug/qt6-qtwayland-6.7.2-4.fc40.x86_64/src/client/qwaylanddisplay.cpp:216
#8  QtWaylandClient::EventThread::run (this=0x55f0dc132530) at /usr/src/debug/qt6-qtwayland-6.7.2-4.fc40.x86_64/src/client/qwaylanddisplay.cpp:177
#9  0x00007f5a49b5473c in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:326
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:262
#11 QThreadPrivate::start (arg=0x55f0dc132530) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:285
#12 0x00007f5a492a66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#13 0x00007f5a4932a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f5a35a006c0 (LWP 42498)):
#0  0x00007f5a4931c87d in __GI___poll (fds=0x55f0dc04bd70, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5a4747cc34 in g_main_context_poll_unlocked (priority=2147483647, context=0x7f5a30000c80, timeout=<optimized out>, fds=0x55f0dc04bd70, n_fds=2) at ../glib/gmain.c:4521
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f5a30000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4212
#3  0x00007f5a4741c383 in g_main_context_iteration (context=0x7f5a30000c80, may_block=1) at ../glib/gmain.c:4282
#4  0x00007f5a49c851a3 in QEventDispatcherGlib::processEvents (this=0x7f5a30000b70, flags=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#5  0x00007f5a499a3bc3 in QEventLoop::exec (this=this@entry=0x7f5a359ffa20, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:34
#6  0x00007f5a49ab7f4f in QThread::exec (this=this@entry=0x7f5a4b49ecc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:74
#7  0x00007f5a4b40fe41 in QDBusConnectionManager::run (this=0x7f5a4b49ecc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/dbus/qdbusconnectionmanager.cpp:144
#8  0x00007f5a49b5473c in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:326
#9  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:262
#10 QThreadPrivate::start (arg=0x7f5a4b49ecc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:285
#11 0x00007f5a492a66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#12 0x00007f5a4932a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f5a4396fb00 (LWP 42497)):
[KCrash Handler]
#5  0x00007f5a499fc3b3 in doActivate<false> (sender=0x7f5a28002370, signal_index=3, argv=0x0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:3968
#6  0x00007f5a499f2bc7 in QMetaObject::activate (sender=sender@entry=0x7f5a28002370, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#7  0x000055f0a8add8c1 in Session::closed (this=0x7f5a28002370) at /usr/src/debug/xdg-desktop-portal-kde-6.2.0-1.fc40.x86_64/redhat-linux-build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/moc_session.cpp:139
#8  Session::close (this=0x7f5a28002370) at /usr/src/debug/xdg-desktop-portal-kde-6.2.0-1.fc40.x86_64/src/session.cpp:115
#9  0x00007f5a499fc8f2 in QtPrivate::QSlotObjectBase::call (this=0x55f0dc5b5c40, r=<optimized out>, a=0x7ffe7bc0d2b0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#10 doActivate<false> (sender=0x55f0dc05c5b0, signal_index=3, argv=0x7ffe7bc0d2b0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086
#11 0x00007f5a499f2bc7 in QMetaObject::activate (sender=sender@entry=0x55f0dc05c5b0, m=m@entry=0x7f5a4a930420, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe7bc0d2b0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#12 0x00007f5a4a233f89 in QScreen::geometryChanged (this=this@entry=0x55f0dc05c5b0, _t1=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/redhat-linux-build/src/gui/Gui_autogen/include/moc_qscreen.cpp:397
#13 0x00007f5a4a236ac7 in QScreenPrivate::UpdateEmitter::~UpdateEmitter (this=this@entry=0x7ffe7bc0d380, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qscreen.cpp:817
#14 0x00007f5a4a1d6a4c in QGuiApplicationPrivate::processScreenGeometryChange (e=0x55f0dc5c3620) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:3190
#15 QGuiApplicationPrivate::processScreenGeometryChange (e=0x55f0dc5c3620) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:3171
#16 0x00007f5a4a24b37c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:1114
#17 0x00007f5a4a7634f4 in userEventSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#18 0x00007f5a4741ae8c in g_main_dispatch (context=0x7f5a30000f00) at ../glib/gmain.c:3344
#19 g_main_context_dispatch_unlocked (context=0x7f5a30000f00) at ../glib/gmain.c:4152
#20 0x00007f5a4747cc98 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f5a30000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#21 0x00007f5a4741c383 in g_main_context_iteration (context=0x7f5a30000f00, may_block=1) at ../glib/gmain.c:4282
#22 0x00007f5a49c851a3 in QEventDispatcherGlib::processEvents (this=0x55f0dc04b260, flags=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#23 0x00007f5a499a3bc3 in QEventLoop::exec (this=this@entry=0x7ffe7bc0d6a0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:34
#24 0x00007f5a4999fa7c in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:74
#25 0x00007f5a4a1d66ed in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926
#26 0x00007f5a4ab8b189 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2555
#27 0x000055f0a8a94414 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/xdg-desktop-portal-kde-6.2.0-1.fc40.x86_64/src/xdg-desktop-portal-kde.cpp:50
```
Comment 13 David Redondo 2025-01-13 09:15:46 UTC
Does it still happen? I cant reproduce the crash with some other sofftware using the input capture portal

Unforunately I can't access the linked sentry issue
Comment 14 David Redondo 2025-01-13 09:45:27 UTC
Actually I can, it happens when there is a closed session
Comment 15 Bug Janitor Service 2025-01-13 10:05:03 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/343
Comment 16 David Redondo 2025-01-13 10:19:24 UTC
Git commit 488707d127432c66e9eb3f788a0731022899601a by David Redondo.
Committed on 13/01/2025 at 10:13.
Pushed by davidre into branch 'master'.

inputcapture: Fix crash due to wrong context arg
SENTRY:XDG-DESKTOP-PORTAL-KDE-2K
FIXED-IN:6.3

M  +1    -1    src/inputcapture.cpp

https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/488707d127432c66e9eb3f788a0731022899601a
Comment 17 David Redondo 2025-01-13 10:21:36 UTC
Git commit 2405c0c84f2ac377e2ff4aa04537d6e5fe91a872 by David Redondo.
Committed on 13/01/2025 at 10:19.
Pushed by davidre into branch 'Plasma/6.3'.

inputcapture: Fix crash due to wrong context arg
SENTRY:XDG-DESKTOP-PORTAL-KDE-2K
FIXED-IN:6.3


(cherry picked from commit 488707d127432c66e9eb3f788a0731022899601a)

Co-authored-by: David Redondo <kde@david-redondo.de>

M  +1    -1    src/inputcapture.cpp

https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/2405c0c84f2ac377e2ff4aa04537d6e5fe91a872