| Summary: | When KDE Connect paired twice to same device, unpairing one device crashes System Settings in KdeConnectKcm::devicesRemoved() | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | nyanpasu64 <nyanpasu64> |
| Component: | kcm_kdeconnect | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | crash | CC: | albertvaka, bugseforuns, kdedev, me, nate, pollux66 |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 6.3.5 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=506962 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | https://crash-reports.kde.org/organizations/kde/issues/198852/events/b3a3e298af324fc2b864f3d51c5bff5a/ | ||
| Attachments: | New crash information added by DrKonqi | ||
|
Description
nyanpasu64
2025-06-14 10:31:34 UTC
Created attachment 182263 [details]
New crash information added by DrKonqi
DrKonqi auto-attaching complete backtrace.
Searchable backtrace Thread 1 (Thread 0x7fcbb2cf8dc0 (LWP 9597)): [KCrash Handler] #5 0x00007fcb94af621d in KdeConnectKcm::devicesRemoved (this=0x55fd9e55d2d0) at /usr/src/debug/kde-connect-25.04.2-1.fc42.x86_64/kcm/kcm.cpp:237 #6 KdeConnectKcm::devicesRemoved (this=0x55fd9e55d2d0) at /usr/src/debug/kde-connect-25.04.2-1.fc42.x86_64/kcm/kcm.cpp:230 #7 0x00007fcbb876033a in QtPrivate::QSlotObjectBase::call (this=0x55fd9da38640, r=0x55fd9e55d2d0, a=0x7ffe766a3390) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qobjectdefs_impl.h:461 #8 doActivate<false> (sender=0x55fd9d9faae0, signal_index=15, argv=argv@entry=0x7ffe766a3390) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qobject.cpp:4138 #9 0x00007fcbb8756d09 in QMetaObject::activate (sender=sender@entry=0x55fd9d9faae0, m=m@entry=0x7fcbb8c97280, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7ffe766a3390) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qobject.cpp:4198 #10 0x00007fcbb89761fa in QMetaObject::activate<void, QModelIndex, int, int, QAbstractItemModel::QPrivateSignal> (sender=0x55fd9d9faae0, mo=0x7fcbb8c97280, local_signal_index=12, ret=0x0) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qobjectdefs.h:306 #11 QAbstractItemModel::rowsRemoved (this=this@entry=0x55fd9d9faae0, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:700 #12 0x00007fcbb89868be in QAbstractItemModel::endRemoveRows (this=0x55fd9d9faae0) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/itemmodels/qabstractitemmodel.cpp:2969 #13 0x00007fcbb876033a in QtPrivate::QSlotObjectBase::call (this=0x55fd9da9cfe0, r=0x55fd9d9faae0, a=0x7ffe766a3610) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qobjectdefs_impl.h:461 #14 doActivate<false> (sender=0x55fd9df8e960, signal_index=7, argv=argv@entry=0x7ffe766a3610) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qobject.cpp:4138 #15 0x00007fcbb8756d09 in QMetaObject::activate (sender=sender@entry=0x55fd9df8e960, m=<optimized out>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffe766a3610) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qobject.cpp:4198 #16 0x00007fcb94b05065 in QMetaObject::activate<void, QString> (sender=0x55fd9df8e960, mo=<optimized out>, local_signal_index=4, ret=0x0, sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs.h:306 #17 OrgKdeKdeconnectDaemonInterface::deviceRemoved (this=0x55fd9df8e960, _t1=<optimized out>) at /usr/src/debug/kde-connect-25.04.2-1.fc42.x86_64/redhat-linux-build/interfaces/generated/moc_daemoninterface.cpp:300 #18 OrgKdeKdeconnectDaemonInterface::qt_static_metacall (_o=_o@entry=0x55fd9df8e960, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=4, _a=_a@entry=0x7ffe766a3828) at /usr/src/debug/kde-connect-25.04.2-1.fc42.x86_64/redhat-linux-build/interfaces/generated/moc_daemoninterface.cpp:172 #19 0x00007fcb94b08987 in OrgKdeKdeconnectDaemonInterface::qt_metacall (this=this@entry=0x55fd9df8e960, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=4, _a=_a@entry=0x7ffe766a3828) at /usr/src/debug/kde-connect-25.04.2-1.fc42.x86_64/redhat-linux-build/interfaces/generated/moc_daemoninterface.cpp:256 #20 0x00007fcb94b089ee in DaemonDbusInterface::qt_metacall (this=0x55fd9df8e960, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffe766a3828) at /usr/src/debug/kde-connect-25.04.2-1.fc42.x86_64/redhat-linux-build/interfaces/kdeconnectinterfaces_autogen/include/moc_dbusinterfaces.cpp:114 #21 0x00007fcbb85239f6 in QDBusConnectionPrivate::deliverCall (this=0x7fcba0001690, object=0x55fd9df8e960, msg=..., metaTypes=<optimized out>, slotIdx=9) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/dbus/qdbusintegrator.cpp:1007 #22 0x00007fcbb8750fec in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qobject.cpp:1431 #23 0x00007fcbb983d7af in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55fd9df8e960, e=0x7fcba00c4de0) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/widgets/kernel/qapplication.cpp:3301 #24 0x00007fcbb86f5fa8 in QCoreApplication::notifyInternal2 (receiver=0x55fd9df8e960, event=0x7fcba00c4de0) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1106 #25 0x00007fcbb86f620d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1546 #26 0x00007fcbb86f9cd6 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55fd9cb050b0) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1879 #27 0x00007fcbb89ffd2f in postEventSourceDispatch (s=0x55fd9cb086a0) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:246 #28 0x00007fcbb77dc880 in g_main_dispatch (context=0x7fcba0000f00) at ../glib/gmain.c:3398 #29 g_main_context_dispatch_unlocked (context=0x7fcba0000f00) at ../glib/gmain.c:4249 #30 0x00007fcbb77e57a8 in g_main_context_iterate_unlocked (context=context@entry=0x7fcba0000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4314 #31 0x00007fcbb77e5953 in g_main_context_iteration (context=0x7fcba0000f00, may_block=1) at ../glib/gmain.c:4379 #32 0x00007fcbb89ff56d in QEventDispatcherGlib::processEvents (this=0x55fd9cb093b0, flags=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:399 #33 0x00007fcbb8703783 in QEventLoop::exec (this=this@entry=0x7ffe766a3e70, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/global/qflags.h:77 #34 0x00007fcbb86ff229 in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1449 #35 0x00007fcbb8edac3d in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/gui/kernel/qguiapplication.cpp:1993 #36 0x00007fcbb983d719 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/widgets/kernel/qapplication.cpp:2568 #37 0x000055fd5ded5525 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-systemsettings-6.3.5-1.fc42.x86_64/app/main.cpp:175 Got the same crash. I was trying to debug Bug 499076, launched kdeconnectd in gdb, but when I quit out of gdb System Settings crashed. Thread 1 (Thread 0x7f65a97e6dc0 (LWP 59693)): [KCrash Handler] #5 0x00007f657ab532fd in KdeConnectKcm::devicesRemoved() () from /usr/lib64/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kdeconnect.so #6 0x00007f65af1657ba in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6 #7 0x00007f65af383cba in QAbstractItemModel::rowsRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /lib64/libQt6Core.so.6 #8 0x00007f65af39364e in QAbstractItemModel::endRemoveRows() () from /lib64/libQt6Core.so.6 #9 0x00007f65af1657ba in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6 #10 0x00007f65aefadb12 in QDBusServiceWatcher::serviceUnregistered(QString const&) () from /lib64/libQt6DBus.so.6 #11 0x00007f65aefaf8f7 in QDBusServiceWatcher::qt_metacall(QMetaObject::Call, int, void**) () from /lib64/libQt6DBus.so.6 #12 0x00007f65aef59a9e in QDBusConnectionPrivate::deliverCall(QObject*, QDBusMessage const&, QList<QMetaType> const&, int) () from /lib64/libQt6DBus.so.6 #13 0x00007f65af15662c in QObject::event(QEvent*) () from /lib64/libQt6Core.so.6 #14 0x00007f65b043d97f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6 #15 0x00007f65af0f9f38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6 #16 0x00007f65af0fdd26 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt6Core.so.6 #17 0x00007f65af41016f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt6Core.so.6 #18 0x00007f65ae2bd880 in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0 #19 0x00007f65ae2c67c8 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0 #20 0x00007f65ae2c6973 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #21 0x00007f65af40f9ad in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6 #22 0x00007f65af107b03 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6 #23 0x00007f65af103419 in QCoreApplication::exec() () from /lib64/libQt6Core.so.6 #24 0x000055ce2336b615 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-systemsettings-6.4.2-1.fc42.x86_64/app/main.cpp:175 *** Bug 507816 has been marked as a duplicate of this bug. *** *** Bug 506962 has been marked as a duplicate of this bug. *** Marking Confirmed since one of the duplicates was confirmed, and there are a couple of duplicates now Hello from KDE's bug team! The KDE Connect page in System Settings was recently removed, in favor of a new standalone app used to configure KDE Connect. As such, this Bugzilla ticket is no longer relevant due to the software it's about no longer existing. Please open new bug reports for the desktop ap at https://bugs.kde.org/enter_bug.cgi?product=kdeconnect&component=desktop-application. Thanks! |