Bug 508179

Summary: System Settings crashes in KdeConnectKcm::devicesRemoved() after deleting a device from KDE Connect
Product: [Applications] systemsettings Reporter: Ángel Navarro <jesusnavarrojr188>
Component: kcm_kdeconnectAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: albertvaka, kde, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.4.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Ángel Navarro 2025-08-13 01:42:08 UTC
Application: systemsettings (6.4.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.17.0
Operating System: Linux 6.15.9-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.4.4 [CoredumpBackend]

-- Information about the crash:
Systemsettings crashes when unlinking/deleting any device from KDE Connect.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#4  0x00007f31840c60ed in KdeConnectKcm::devicesRemoved (this=0x5600300a0fa0) at /usr/src/debug/kdeconnect/kdeconnect-kde-25.04.3/kcm/kcm.cpp:237
#5  KdeConnectKcm::devicesRemoved (this=0x5600300a0fa0) at /usr/src/debug/kdeconnect/kdeconnect-kde-25.04.3/kcm/kcm.cpp:230
#6  0x00007f31c73d37ef 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:461
#7  doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4146
[...]
#9  QAbstractItemModel::rowsRemoved (this=0x7f31bc008c00, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:700
#10 QAbstractItemModel::endRemoveRows (this=0x7f31bc008c00) at /usr/src/debug/qt6-base/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp:2972
#11 0x00007f31c73d37ef 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:461
#12 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4146
[...]
#14 OrgKdeKdeconnectDaemonInterface::deviceRemoved (this=<optimized out>, _t1=...) at /usr/src/debug/kdeconnect/build/interfaces/generated/moc_daemoninterface.cpp:300
#15 OrgKdeKdeconnectDaemonInterface::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff296cbf08) at /usr/src/debug/kdeconnect/build/interfaces/generated/moc_daemoninterface.cpp:172
#16 0x00007f31840d8a17 in OrgKdeKdeconnectDaemonInterface::qt_metacall (this=this@entry=0x560031857f60, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=4, _a=_a@entry=0x7fff296cbf08) at /usr/src/debug/kdeconnect/build/interfaces/generated/moc_daemoninterface.cpp:256
#17 0x00007f31840d8a7e in DaemonDbusInterface::qt_metacall (this=0x560031857f60, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff296cbf08) at /usr/src/debug/kdeconnect/build/interfaces/kdeconnectinterfaces_autogen/include/moc_dbusinterfaces.cpp:114
#18 0x00007f31c7877b09 in QDBusConnectionPrivate::deliverCall (this=0x7f31bc001700, object=0x560031857f60, msg=..., metaTypes=..., slotIdx=9) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1007
#19 0x00007f31c73c0e34 in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1431
#20 0x00007f31c8501c70 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x560031857f60, e=0x7f31bc01d350) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3303
#21 0x00007f31c7368118 in QCoreApplication::notifyInternal2 (receiver=0x560031857f60, event=event@entry=0x7f31bc01d350) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106


Reported using DrKonqi
Comment 1 Ángel Navarro 2025-08-13 01:42:10 UTC
Created attachment 184007 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Ángel Navarro 2025-08-13 01:42:10 UTC
Created attachment 184014 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 3 Ángel Navarro 2025-08-13 01:42:10 UTC
Created attachment 184020 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 4 Antonio Rojas 2025-08-13 02:31:58 UTC
*** Bug 508180 has been marked as a duplicate of this bug. ***
Comment 5 Antonio Rojas 2025-08-13 02:32:30 UTC
*** Bug 508182 has been marked as a duplicate of this bug. ***
Comment 6 Antonio Rojas 2025-08-13 02:33:03 UTC
*** Bug 508181 has been marked as a duplicate of this bug. ***
Comment 7 Ángel Navarro 2025-08-13 04:43:57 UTC
(In reply to Antonio Rojas from comment #5)
> *** Bug 508182 has been marked as a duplicate of this bug. ***

Well, this must be a bug in Konqi as well. When reporting this, it finished with a big long text in red and then it said "sent ok" but it published it too many times...
Comment 8 Albert Vaca Cintora 2025-08-16 11:23:36 UTC
The KCM is gone in the next release, so this is "fixed".