Bug 498360 - Crash in KDE Connect settings when unpairing already unpaired device
Summary: Crash in KDE Connect settings when unpairing already unpaired device
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kdeconnect (show other bugs)
Version: 6.2.5
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-01-07 20:12 UTC by Michal Pácal
Modified: 2025-01-08 21:00 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (99.21 KB, text/plain)
2025-01-07 20:12 UTC, Michal Pácal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Pácal 2025-01-07 20:12:01 UTC
Application: systemsettings (6.2.5)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.1
Frameworks Version: 6.9.0
Operating System: Linux 6.12.8-1-MANJARO x86_64
Windowing System: Wayland
Distribution: Manjaro Linux
DrKonqi: 6.2.5 [CoredumpBackend]

-- Information about the crash:
Reproduction steps:
- Have KDE Connect device paired
- Open KDE Connect settings and select a device
- Click "Unpair"
- Wait for unpair to complete
- [optional] Do not notice that unpair actually happened, because the (now non-existent) device stays selected
- Attempt to unpair the already unpaired device

Attempted with two different devices and the crash happened both times.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  QDBusAbstractInterface::asyncCallWithArgumentList (this=0x5d8405e56bb0, method=..., args=...) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusabstractinterface.cpp:526
#6  0x00007edcae208d92 in OrgKdeKdeconnectDeviceInterface::unpair (this=<optimized out>) at /usr/src/debug/kdeconnect/build/interfaces/generated/deviceinterface.h:180
#7  KdeConnectKcm::unpair (this=<optimized out>) at /usr/src/debug/kdeconnect/kdeconnect-kde-24.12.0/kcm/kcm.cpp:250
#8  0x00007edcfe3b1b29 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:486
#9  doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4124


Reported using DrKonqi
Comment 1 Michal Pácal 2025-01-07 20:12:01 UTC
Created attachment 177182 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2025-01-08 21:00:39 UTC
Searchable backtrace

Thread 1 (Thread 0x7edcf8503ec0 (LWP 5499)):
[KCrash Handler]
#5  QDBusAbstractInterface::asyncCallWithArgumentList (this=0x5d8405e56bb0, method=..., args=...) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusabstractinterface.cpp:526
#6  0x00007edcae208d92 in OrgKdeKdeconnectDeviceInterface::unpair (this=<optimized out>) at /usr/src/debug/kdeconnect/build/interfaces/generated/deviceinterface.h:180
#7  KdeConnectKcm::unpair (this=<optimized out>) at /usr/src/debug/kdeconnect/kdeconnect-kde-24.12.0/kcm/kcm.cpp:250
#8  0x00007edcfe3b1b29 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:486
#9  doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4124
#10 0x00007edcff41e90b in QAbstractButton::clicked (this=0x5d8405ebfb90, _t1=<optimized out>) at /usr/src/debug/qt6-base/build/src/widgets/Widgets_autogen/include/moc_qabstractbutton.cpp:323
#11 QAbstractButtonPrivate::emitClicked (this=this@entry=0x5d8405ebfbc0) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qabstractbutton.cpp:381
#12 0x00007edcff41ee08 in QAbstractButtonPrivate::click (this=0x5d8405ebfbc0) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qabstractbutton.cpp:374
#13 0x00007edcff42c45e in QAbstractButton::mouseReleaseEvent (this=0x5d8405ebfb90, e=0x7ffee08ff480) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qabstractbutton.cpp:976
#14 0x00007edcff34f816 in QWidget::event (this=0x5d8405ebfb90, event=0x7ffee08ff480) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:8965
#15 0x00007edcff2fe78a in QApplicationPrivate::notify_helper (this=this@entry=0x5d8404dfe800, receiver=receiver@entry=0x5d8405ebfb90, e=e@entry=0x7ffee08ff480) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3296
#16 0x00007edcff302a26 in QApplication::notify (this=<optimized out>, receiver=0x5d8405ebfb90, e=0x7ffee08ff480) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2774
#17 0x00007edcfe357ac8 in QCoreApplication::notifyInternal2 (receiver=0x5d8405ebfb90, event=0x7ffee08ff480) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1168
#18 0x00007edcfe357b1d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1626
#19 0x00007edcff2f613d in QApplicationPrivate::sendMouseEvent (receiver=0x5d8405ebfb90, event=0x7ffee08ff480, alienWidget=<optimized out>, nativeWidget=0x5d84051abfc0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2355
#20 0x00007edcff369752 in QWidgetWindow::handleMouseEvent (this=0x5d84054de7a0, event=event@entry=0x7ffee08ff8b0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:667
#21 0x00007edcff36ae40 in QWidgetWindow::event (this=0x5d84054de7a0, event=0x7ffee08ff8b0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:299
#22 0x00007edcff2fe78a in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5d84054de7a0, e=0x7ffee08ff8b0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3296
#23 0x00007edcfe357ac8 in QCoreApplication::notifyInternal2 (receiver=0x5d84054de7a0, event=0x7ffee08ff8b0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1168
#24 0x00007edcfe357b1d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1626
#25 0x00007edcfe98752b in QGuiApplicationPrivate::processMouseEvent (e=0x7edce8002e10) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:2461
#26 0x00007edcfea02b44 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1114
#27 0x00007edcfee4ea14 in userEventSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#28 0x00007edcfd572559 in g_main_dispatch (context=0x7edcf0000f30) at ../glib/glib/gmain.c:3357
#29 0x00007edcfd5d5257 in g_main_context_dispatch_unlocked (context=0x7edcf0000f30) at ../glib/glib/gmain.c:4208
#30 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7edcf0000f30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4273
#31 0x00007edcfd571a55 in g_main_context_iteration (context=0x7edcf0000f30, may_block=1) at ../glib/glib/gmain.c:4338
#32 0x00007edcfe5c22fd in QEventDispatcherGlib::processEvents (this=0x5d8404e03010, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#33 0x00007edcfe361ee6 in QEventLoop::processEvents (this=0x7ffee08ffd70, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:103
#34 QEventLoop::exec (this=0x7ffee08ffd70, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:194
#35 0x00007edcfe358f4f in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#36 0x00007edcff2fa6ba in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2564
#37 0x00005d83cc4023b1 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/systemsettings/systemsettings-6.2.5/app/main.cpp:175