Bug 412551 - KDE Connect settings crashes when device list updated very often
Summary: KDE Connect settings crashes when device list updated very often
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kdeconnect (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
: 474455 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-10-03 08:46 UTC by very.fat.m01e
Modified: 2024-08-01 15:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description very.fat.m01e 2019-10-03 08:46:38 UTC
Application: kcmshell5 (5.16.5)

Qt Version: 5.12.3
Frameworks Version: 5.62.0
Operating System: Linux 5.0.0-29-generic x86_64
Distribution: KDE neon User Edition 5.16

-- Information about the crash:
- What I was doing when the application crashed:
Updated list of available devices in KDE Connect

- Unusual behavior I noticed:
Empty (without name and options) paired device appeared sometimes

The crash can be reproduced sometimes.

-- Backtrace:
Application: Модуль настройки системы (kcmshell5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff57f199380 (LWP 13019))]

Thread 4 (Thread 0x7ff556532700 (LWP 13022)):
#0  0x00007ff577f919f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556ca4032278) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x556ca4032228, cond=0x556ca4032250) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x556ca4032250, mutex=0x556ca4032228) at pthread_cond_wait.c:655
#3  0x00007ff55780523b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff557804f67 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff577f8b6db in start_thread (arg=0x7ff556532700) at pthread_create.c:463
#6  0x00007ff57eada88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff563756700 (LWP 13021)):
#0  0x00007ff57eacdbf9 in __GI___poll (fds=0x7ff55c004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff5754ec5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff5754ec6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff57ba41dcb in QEventDispatcherGlib::processEvents (this=0x7ff55c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff57b9e303a in QEventLoop::exec (this=this@entry=0x7ff563755d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007ff57b80a4ca in QThread::exec (this=this@entry=0x7ff57d60bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:531
#6  0x00007ff57d394015 in QDBusConnectionManager::run (this=0x7ff57d60bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007ff57b80bc72 in QThreadPrivate::start (arg=0x7ff57d60bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#8  0x00007ff577f8b6db in start_thread (arg=0x7ff563756700) at pthread_create.c:463
#9  0x00007ff57eada88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff56b811700 (LWP 13020)):
#0  0x00007ff57eacdbf9 in __GI___poll (fds=0x7ff56b810c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff57722c747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ff57722e36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ff56dfce578 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ff57b80bc72 in QThreadPrivate::start (arg=0x556ca3f00360) at thread/qthread_unix.cpp:361
#5  0x00007ff577f8b6db in start_thread (arg=0x7ff56b811700) at pthread_create.c:463
#6  0x00007ff57eada88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff57f199380 (LWP 13019)):
[KCrash Handler]
#6  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
#7  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1038
#8  QDBusAbstractInterface::d_func (this=<optimized out>) at qdbusabstractinterface.h:159
#9  QDBusAbstractInterface::asyncCallWithArgumentList (this=0x0, method=..., args=...) at qdbusabstractinterface.cpp:519
#10 0x00007ff56233c325 in OrgKdeKdeconnectDeviceInterface::hasPairingRequests (this=<optimized out>) at ./obj-x86_64-linux-gnu/interfaces/deviceinterface.h:92
#11 KdeConnectKcm::<lambda(bool)>::operator() (trusted=<optimized out>, __closure=<optimized out>) at ./kcm/kcm.cpp:233
#12 <lambda(QDBusPendingCallWatcher*)>::operator() (watcher=<optimized out>, __closure=<optimized out>) at ./interfaces/dbusinterfaces.h:207
#13 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QDBusPendingCallWatcher*>, void, setWhenAvailable(const QDBusPendingReply<T>&, W, QObject*) [with T = bool; W = KdeConnectKcm::resetDeviceView()::<lambda(bool)>]::<lambda(QDBusPendingCallWatcher*)> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#14 QtPrivate::Functor<setWhenAvailable(const QDBusPendingReply<T>&, W, QObject*) [with T = bool; W = KdeConnectKcm::resetDeviceView()::<lambda(bool)>]::<lambda(QDBusPendingCallWatcher*)>, 1>::call<QtPrivate::List<QDBusPendingCallWatcher*>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#15 QtPrivate::QFunctorSlotObject<setWhenAvailable(const QDBusPendingReply<T>&, W, QObject*) [with T = bool; W = KdeConnectKcm::resetDeviceView()::<lambda(bool)>]::<lambda(QDBusPendingCallWatcher*)>, 1, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:439
#16 0x00007ff57ba1498f in QtPrivate::QSlotObjectBase::call (a=0x7ffef34bb430, r=0x556ca3faa880, this=0x556ca4307cf0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#17 QMetaObject::activate (sender=0x556ca43e4e80, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffef34bb430) at kernel/qobject.cpp:3776
#18 0x00007ff57ba14f47 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7ff57d60a5e0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffef34bb430) at kernel/qobject.cpp:3648
#19 0x00007ff57d3edebf in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:157
#20 0x00007ff57ba153e2 in QObject::event (this=0x556ca43e4e80, e=<optimized out>) at kernel/qobject.cpp:1260
#21 0x00007ff57c7e065c in QApplicationPrivate::notify_helper (this=this@entry=0x556ca3ee15d0, receiver=receiver@entry=0x556ca43e4e80, e=e@entry=0x7ff55c0116e0) at kernel/qapplication.cpp:3736
#22 0x00007ff57c7e7b90 in QApplication::notify (this=0x7ffef34bbb10, receiver=0x556ca43e4e80, e=0x7ff55c0116e0) at kernel/qapplication.cpp:3483
#23 0x00007ff57b9e4d18 in QCoreApplication::notifyInternal2 (receiver=0x556ca43e4e80, event=0x7ff55c0116e0) at kernel/qcoreapplication.cpp:1060
#24 0x00007ff57b9e4eee in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7ff55c0116e0) at kernel/qcoreapplication.cpp:1450
#25 0x00007ff57b9e78d7 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x556ca3ed8660) at kernel/qcoreapplication.cpp:1799
#26 0x00007ff57b9e7e78 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1653
#27 0x00007ff57ba42793 in postEventSourceDispatch (s=0x556ca3f38ee0) at kernel/qeventdispatcher_glib.cpp:276
#28 0x00007ff5754ec417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ff5754ec650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ff5754ec6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ff57ba41daf in QEventDispatcherGlib::processEvents (this=0x556ca3f31600, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#32 0x00007ff57b9e303a in QEventLoop::exec (this=this@entry=0x7ffef34bb9e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#33 0x00007ff57b9ec170 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1363
#34 0x00007ff57edb31b4 in kdemain (_argc=<optimized out>, _argv=<optimized out>) at ./kcmshell/main.cpp:328
#35 0x00007ff57e9dab97 in __libc_start_main (main=0x556ca37bc720 <main>, argc=2, argv=0x7ffef34bbc68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffef34bbc58) at ../csu/libc-start.c:310
#36 0x0000556ca37bc75a in _start ()

Reported using DrKonqi
Comment 1 Justin Zobel 2022-10-03 23:55:07 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 very.fat.m01e 2022-10-04 02:25:10 UTC
I can't reproduce it anymore

Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus/ceres)
Release:	5
Codename:	daedalus ceres
Kernel: 5.19.0-2-amd64
Qt Version: 5.15.4
KDE Connect: 21.12.3-2
Comment 3 Bug Janitor Service 2022-10-19 04:57:56 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 cwo 2024-08-01 15:26:33 UTC
*** Bug 474455 has been marked as a duplicate of this bug. ***