Bug 507458 - Crash in QtWaylandClient::QWaylandWindow::requestXdgActivationToken() when clicking a contact in the start menu
Summary: Crash in QtWaylandClient::QWaylandWindow::requestXdgActivationToken() when cl...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.3.5
Platform: Debian testing Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, qt-crash
Depends on:
Blocks:
 
Reported: 2025-07-24 20:19 UTC by progval+bugs.kde.org
Modified: 2025-08-26 23:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/223065/events/2923e30bc63c4911beb750efc3048265/


Attachments
New crash information added by DrKonqi (179.50 KB, text/plain)
2025-07-24 20:19 UTC, progval+bugs.kde.org
Details

Note You need to log in before you can comment on or make changes to this bug.
Description progval+bugs.kde.org 2025-07-24 20:19:27 UTC
Application: plasmashell (6.3.5)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.13.0
Operating System: Linux 6.12.35+deb13-amd64 x86_64
Windowing System: Wayland
Distribution: Debian GNU/Linux 13 (trixie)
DrKonqi: 6.3.4 [CoredumpBackend]

-- Information about the crash:
When searching for some text, Plasma's start menu offers contacts (probably from KMail). Every time I click on one of those, Plasma crashes.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x00007ff720ca2063 in QtWaylandClient::QWaylandWindow::requestXdgActivationToken(unsigned int) () at /lib/x86_64-linux-gnu/libQt6WaylandClient.so.6
#6  0x00007ff7207c0d00 in QGenericUnixServices::openDocument(QUrl const&) () at /lib/x86_64-linux-gnu/libQt6Gui.so.6
#7  0x00007ff71fde4443 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=0x55aaff7651e0, a=0x7ffc722677e0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:486
#8  doActivate<false> (sender=0x55aaff7651e0, signal_index=7, argv=0x7ffc722677e0) at ./src/corelib/kernel/qobject.cpp:4115
#9  0x00007ff720363429 in QNativeInterface::Private::QWaylandWindow::xdgActivationTokenCreated(QString const&) () at /lib/x86_64-linux-gnu/libQt6Gui.so.6


Reported using DrKonqi
Comment 1 progval+bugs.kde.org 2025-07-24 20:19:29 UTC
Created attachment 183500 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2025-07-31 00:37:59 UTC
Searchable backtrace


Thread 1 (Thread 0x7ff718fbed40 (LWP 2667)):
[KCrash Handler]
#5  0x00007ff720ca2063 in QtWaylandClient::QWaylandWindow::requestXdgActivationToken(unsigned int) () at /lib/x86_64-linux-gnu/libQt6WaylandClient.so.6
#6  0x00007ff7207c0d00 in QGenericUnixServices::openDocument(QUrl const&) () at /lib/x86_64-linux-gnu/libQt6Gui.so.6
#7  0x00007ff71fde4443 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=0x55aaff7651e0, a=0x7ffc722677e0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:486
#8  doActivate<false> (sender=0x55aaff7651e0, signal_index=7, argv=0x7ffc722677e0) at ./src/corelib/kernel/qobject.cpp:4115
#9  0x00007ff720363429 in QNativeInterface::Private::QWaylandWindow::xdgActivationTokenCreated(QString const&) () at /lib/x86_64-linux-gnu/libQt6Gui.so.6
#10 0x00007ff71fde4443 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=0x55aaff7651e0, a=0x7ffc722678f0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:486
#11 doActivate<false> (sender=0x55ab0124a2e0, signal_index=3, argv=0x7ffc722678f0) at ./src/corelib/kernel/qobject.cpp:4115
#12 0x00007ff718fa8f36 in QtWaylandClient::QWaylandXdgActivationTokenV1::done (this=<optimized out>, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/src/plugins/shellintegration/xdg-shell/QWaylandXdgShellIntegrationPlugin_autogen/include/moc_qwaylandxdgactivationv1_p.cpp:145
#13 0x00007ff718fa9017 in QtWayland::xdg_activation_token_v1::handle_done (data=0x55ab0124a2f0, object=<optimized out>, token=0x7ff70c01429c "kwin-257") at ./obj-x86_64-linux-gnu/src/plugins/shellintegration/xdg-shell/qwayland-xdg-activation-v1.cpp:189
#14 0x00007ff7201fa6ce in ffi_call_unix64 () at ../src/x86/unix64.S:104
#15 0x00007ff7201f997e in ffi_call_int (cif=cif@entry=0x7ffc72267b20, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:676
#16 0x00007ff7201fa1ab in ffi_call (cif=cif@entry=0x7ffc72267b20, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffc72267bf0) at ../src/x86/ffi64.c:713
#17 0x00007ff7228d8c91 in wl_closure_invoke (closure=closure@entry=0x7ff70c0141c0, flags=flags@entry=1, target=<optimized out>, target@entry=0x55ab01d2b600, opcode=opcode@entry=0, data=<optimized out>) at ../src/connection.c:1228
#18 0x00007ff7228d4c1f in dispatch_event (display=display@entry=0x55aafe75f390, queue=queue@entry=0x55aafe75f488) at ../src/wayland-client.c:1674
#19 0x00007ff7228d5f13 in dispatch_queue (display=0x55aafe75f390, queue=0x55aafe75f488) at ../src/wayland-client.c:1820
#20 wl_display_dispatch_queue_pending (display=0x55aafe75f390, queue=0x55aafe75f488) at ../src/wayland-client.c:2062
#21 0x00007ff720c713d2 in QtWaylandClient::QWaylandDisplay::flushRequests() () at /lib/x86_64-linux-gnu/libQt6WaylandClient.so.6
#22 0x00007ff71fdd5e57 in QObject::event (this=0x55aafe75f170, e=0x7ff70c0188c0) at ./src/corelib/kernel/qobject.cpp:1418
#23 0x00007ff721fb49b5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#24 0x00007ff71fd965b0 in QCoreApplication::notifyInternal2 (receiver=0x55aafe75f170, event=0x7ff70c0188c0) at ./src/corelib/kernel/qcoreapplication.cpp:1172
#25 0x00007ff71fd965fd in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at ./src/corelib/kernel/qcoreapplication.cpp:1612
#26 0x00007ff71fd97117 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55aafe755660) at ./src/corelib/kernel/qcoreapplication.cpp:1946
#27 0x00007ff71ffa8a17 in postEventSourceDispatch (s=0x55aafe75ca10) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:246
#28 0x00007ff71e73f3c5 in g_main_dispatch (context=context@entry=0x7ff714000f00) at ../../../glib/gmain.c:3398
#29 0x00007ff71e7415f7 in g_main_context_dispatch_unlocked (context=0x7ff714000f00) at ../../../glib/gmain.c:4249
#30 g_main_context_iterate_unlocked (context=context@entry=0x7ff714000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4314
#31 0x00007ff71e741d60 in g_main_context_iteration (context=0x7ff714000f00, may_block=1) at ../../../glib/gmain.c:4379
#32 0x00007ff71ffa6323 in QEventDispatcherGlib::processEvents (this=0x55aafe718580, flags=...) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:399
#33 0x00007ff71fd98893 in QEventLoop::exec (this=this@entry=0x7ffc722681f0, flags=..., flags@entry=...) at ./src/corelib/global/qflags.h:34
#34 0x00007ff71fd9a18a in QCoreApplication::exec () at ./src/corelib/global/qflags.h:74
#35 0x000055aac7e0b1f6 in ??? ()
#36 0x00007ff71f633ca8 in __libc_start_call_main (main=main@entry=0x55aac7e0a4d0, argc=argc@entry=2, argv=argv@entry=0x7ffc722685b8) at ../sysdeps/nptl/libc_start_call_main.h:58
#37 0x00007ff71f633d65 in __libc_start_main_impl (main=0x55aac7e0a4d0, argc=2, argv=0x7ffc722685b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc722685a8) at ../csu/libc-start.c:360
#38 0x000055aac7e0b321 in ??? ()