https://bugs.kde.org/show_bug.cgi?id=522231

            Bug ID: 522231
           Summary: kdeconnectd causes Dolphin right click menu to not
                    appear for long time and sometimes greys out Dolphin
    Classification: Applications
           Product: kdeconnect
      Version First 26.04.2
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: common
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Application: kdeconnectd (26.04.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.11.1
Frameworks Version: 6.27.0
Operating System: Linux 6.17.0-35-generic x86_64
Windowing System: Wayland
Distribution: KDE neon User Edition
DrKonqi: 6.7.0 [CoredumpBackend]

-- Information about the crash:
MY phone is linked to kdeconnect on my workstation. When my phone appears to
lose wifi or drop off the network kdeconnectd uses one full core of CPU at
89-100%. When using Dolphin and right clickiong on a file it appears to freeze
most liekly due to the "Send to phone" link that would normally be there. The
attached bug report is generated when I killall with a SIGABRT the kdeconenctd
as my UPS will show a larger power draw than should be normal.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Connect Daemon (kdeconnectd), signal: Aborted


warning: Can't open file /memfd:pulseaudio (deleted) during file-backed mapping
note processing
[New LWP 419110]
[New LWP 419111]
[New LWP 419115]
[New LWP 419116]
[New LWP 419121]

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.neon.kde.org/>
  <https://debuginfod.ubuntu.com/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from
terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/kdeconnectd'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
at ./nptl/pthread_kill.c:44

warning: 44     ./nptl/pthread_kill.c: No such file or directory
[Current thread is 1 (Thread 0x7687ae9b0e00 (LWP 419110))]
Using eu-unstrip to resolve modules.
[Current thread is 1 (Thread 0x7687ae9b0e00 (LWP 419110))]

Thread 5 (Thread 0x7687a5caa6c0 (LWP 419121)):
#0  0x00007687b451b4fd in __GI___poll (fds=0x76879c005a30, nfds=2,
timeout=23784) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007687b28368ce in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007687b27d6a23 in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007687b4eef760 in QEventDispatcherGlib::processEvents
(this=0x76879c000b70, flags=...) at
/workspace/build/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#4  0x00007687b512450b in QEventLoop::exec (this=0x7687a5ca9750, flags=...) at
/workspace/build/src/corelib/global/qflags.h:78
#5  0x00007687b5027e23 in QThread::exec (this=<optimized out>) at
/workspace/build/src/corelib/global/qflags.h:78
#6  0x00007687b4fe9c9c in QThreadPrivate::start (arg=0x576aee5741b0) at
/workspace/build/src/corelib/thread/qthread_unix.cpp:466
#7  0x00007687b449caa4 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:447
#8  0x00007687b4529c6c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7687a65ff6c0 (LWP 419116)):
#0  0x00007687b451b4fd in __GI___poll (fds=fds@entry=0x7687a65fe740,
nfds=nfds@entry=2, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007687ae3abaa5 in poll (__timeout=-1, __nfds=2, __fds=0x7687a65fe740)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x576aee0b4d40) at
/workspace/build/src/plugins/platforms/wayland/qwaylanddisplay.cpp:186
#3  0x00007687b4fe9c9c in QThreadPrivate::start (arg=0x576aee0b4d40) at
/workspace/build/src/corelib/thread/qthread_unix.cpp:466
#4  0x00007687b449caa4 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:447
#5  0x00007687b4529c6c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7687ac9936c0 (LWP 419115)):
#0  0x00007687b451b4fd in __GI___poll (fds=fds@entry=0x7687ac992740,
nfds=nfds@entry=2, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007687ae3abaa5 in poll (__timeout=-1, __nfds=2, __fds=0x7687ac992740)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x576aedfb4f60) at
/workspace/build/src/plugins/platforms/wayland/qwaylanddisplay.cpp:186
#3  0x00007687b4fe9c9c in QThreadPrivate::start (arg=0x576aedfb4f60) at
/workspace/build/src/corelib/thread/qthread_unix.cpp:466
#4  0x00007687b449caa4 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:447
#5  0x00007687b4529c6c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7687ae2cf6c0 (LWP 419111)):
#0  0x00007687b451b4fd in __GI___poll (fds=0x576aee5f8540, nfds=4, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007687b28368ce in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007687b27d6a23 in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007687b4eef760 in QEventDispatcherGlib::processEvents
(this=0x7687a8000b70, flags=...) at
/workspace/build/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#4  0x00007687b512450b in QEventLoop::exec (this=0x7687ae2ce710, flags=...) at
/workspace/build/src/corelib/global/qflags.h:78
#5  0x00007687b5027e23 in QThread::exec (this=this@entry=0x7687b691bce0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at /workspace/build/src/corelib/global/qflags.h:78
#6  0x00007687b68fd73e in QDBusConnectionManager::run (this=0x7687b691bce0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/workspace/build/src/dbus/qdbusconnectionmanager.cpp:145
#7  0x00007687b4fe9c9c in QThreadPrivate::start (arg=0x7687b691bce0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/workspace/build/src/corelib/thread/qthread_unix.cpp:466
#8  0x00007687b449caa4 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:447
#9  0x00007687b4529c6c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7687ae9b0e00 (LWP 419110)):
[KCrash Handler]
#6  0x00007687b1a641aa in ??? () at /lib/x86_64-linux-gnu/libKF6Solid.so.6
#7  0x00007687b1a63b90 in ??? () at /lib/x86_64-linux-gnu/libKF6Solid.so.6
#8  0x00007687b1a639ac in ??? () at /lib/x86_64-linux-gnu/libKF6Solid.so.6
#9  0x00007687b1a636fa in ??? () at /lib/x86_64-linux-gnu/libKF6Solid.so.6
#10 0x00007687b1a63426 in ??? () at /lib/x86_64-linux-gnu/libKF6Solid.so.6
#11 0x00007687b1b5b5ca in ??? () at /lib/x86_64-linux-gnu/libKF6Solid.so.6
#12 0x00007687b1a9508e in Solid::PortableMediaPlayer::supportedProtocols()
const () at /lib/x86_64-linux-gnu/libKF6Solid.so.6
#13 0x00007687ad6eba30 in KFilePlacesItem::deviceData (this=0x576aee9a65e0,
role=110940459) at /workspace/build/src/filewidgets/kfileplacesitem.cpp:368
#14 0x00007687ad6eabcc in KFilePlacesItem::data (this=0x576aee9a65e0,
role=110940459) at /workspace/build/src/filewidgets/kfileplacesitem.cpp:257
#15 0x00007687ad6fd2c7 in KFilePlacesModel::data (this=0x576aee6ce458,
index=..., role=110940459) at
/workspace/build/src/filewidgets/kfileplacesmodel.cpp:625
#16 0x00007687ad6fc9b8 in KFilePlacesModel::url (this=0x576aee6ce458,
index=...) at /workspace/build/src/filewidgets/kfileplacesmodel.cpp:471
#17 0x00007687a4a41d32 in SftpPlugin::removeFromDolphin (this=0x576aee6ce440)
at /workspace/build/plugins/sftp/sftpplugin.cpp:55
#18 0x00007687a4a4177a in SftpPlugin::~SftpPlugin (this=0x576aee6ce440,
__in_chrg=<optimized out>) at /workspace/build/plugins/sftp/sftpplugin.cpp:37
#19 0x00007687a4a417f2 in SftpPlugin::~SftpPlugin (this=0x576aee6ce440,
__in_chrg=<optimized out>) at /workspace/build/plugins/sftp/sftpplugin.cpp:39
#20 0x00007687b700b07d in qDeleteAll<QHash<QString,
KdeConnectPlugin*>::const_iterator> (begin=..., end=...) at
/usr/include/x86_64-linux-gnu/qt6/QtCore/qalgorithms.h:25
#21 0x00007687b7008acc in qDeleteAll<QHash<QString, KdeConnectPlugin*> >
(c=...) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qalgorithms.h:33
#22 0x00007687b70026f5 in Device::reloadPlugins (this=0x576aee347b50) at
/workspace/build/core/device.cpp:193
#23 0x00007687b7003985 in Device::removeLink (this=0x576aee347b50,
link=0x576aee62ea00) at /workspace/build/core/device.cpp:349
#24 0x00007687b700392f in Device::linkDestroyed (this=0x576aee347b50,
o=0x576aee62ea00) at /workspace/build/core/device.cpp:339
#25 0x00007687b701373d in QtPrivate::FunctorCall<std::integer_sequence<unsigned
long, 0ul>, QtPrivate::List<QObject*>, void, void
(Device::*)(QObject*)>::call(void (Device::*)(QObject*), Device*,
void**)::{lambda()#1}::operator()() const (__closure=0x7ffd87a600f0) at
/usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:128
#26 0x00007687b7014100 in QtPrivate::FunctorCallBase::call_internal<void,
QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul>,
QtPrivate::List<QObject*>, void, void (Device::*)(QObject*)>::call(void
(Device::*)(QObject*), Device*, void**)::{lambda()#1}>(void**,
QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul>,
QtPrivate::List<QObject*>, void, void (Device::*)(QObject*)>::call(void
(Device::*)(QObject*), Device*, void**)::{lambda()#1}&&) (args=0x7ffd87a60290,
fn=...) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:66
#27 0x00007687b70137b1 in QtPrivate::FunctorCall<std::integer_sequence<unsigned
long, 0ul>, QtPrivate::List<QObject*>, void, void (Device::*)(QObject*)>::call
(f=(void (Device::*)(class Device * const, class QObject *)) 0x7687b7003908
<Device::linkDestroyed(QObject*)>, o=0x576aee347b50, arg=0x7ffd87a60290) at
/usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:127
#28 0x00007687b7012856 in QtPrivate::FunctionPointer<void
(Device::*)(QObject*)>::call<QtPrivate::List<QObject*>, void> (f=(void
(Device::*)(class Device * const, class QObject *)) 0x7687b7003908
<Device::linkDestroyed(QObject*)>, o=0x576aee347b50, arg=0x7ffd87a60290) at
/usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:175
#29 0x00007687b700ff85 in QtPrivate::QCallableObject<void
(Device::*)(QObject*), QtPrivate::List<QObject*>, void>::impl (which=1,
this_=0x576aee66a7f0, r=0x576aee347b50, a=0x7ffd87a60290, ret=0x0) at
/usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:546
#30 0x00007687b50d8f1d in QtPrivate::QSlotObjectBase::call (a=0x7ffd87a60290,
r=<optimized out>, this=0x576aee66a7f0, this=<optimized out>, r=<optimized
out>, a=<optimized out>) at
/workspace/build/src/corelib/kernel/qobjectdefs_impl.h:462
#31 doActivate<false> (sender=0x576aee62ea00, signal_index=0,
argv=0x7ffd87a60290) at /workspace/build/src/corelib/kernel/qobject.cpp:4372
#32 0x00007687b5082f13 in QMetaObject::activate<void, QObject*> (ret=0x0,
local_signal_index=0, mo=<optimized out>, sender=<optimized out>) at
/workspace/build/src/corelib/kernel/qobjectdefs.h:320
#33 QObject::destroyed (this=<optimized out>, _t1=<optimized out>) at
/workspace/build/obj-x86_64-linux-gnu/src/corelib/kernel/moc_qobject.cpp:186
#34 0x00007687b5074432 in QObject::~QObject (this=0x576aee62ea00,
this=<optimized out>) at /workspace/build/src/corelib/kernel/qobject.cpp:1079
#35 0x00007687b6f845a2 in DeviceLink::~DeviceLink (this=0x576aee62ea00,
__in_chrg=<optimized out>) at /workspace/build/core/backends/devicelink.h:17
#36 0x00007687b6f84696 in LanDeviceLink::~LanDeviceLink (this=0x576aee62ea00,
__in_chrg=<optimized out>) at
/workspace/build/core/backends/lan/landevicelink.h:23
#37 0x00007687b6f846b6 in LanDeviceLink::~LanDeviceLink (this=0x576aee62ea00,
__in_chrg=<optimized out>) at
/workspace/build/core/backends/lan/landevicelink.h:23
#38 0x00007687b50755ac in QObject::event (this=0x576aee62ea00,
e=0x576aee9fe270) at /workspace/build/src/corelib/kernel/qobject.cpp:1464
#39 0x00007687b647586a in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x576aee62ea00, e=0x576aee9fe270) at
/workspace/build/src/widgets/kernel/qapplication.cpp:3276
#40 0x00007687b5119778 in QCoreApplication::notifyInternal2
(receiver=0x576aee62ea00, event=0x576aee9fe270) at
/workspace/build/src/corelib/kernel/qcoreapplication.cpp:1114
#41 0x00007687b51197bd in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at
/workspace/build/src/corelib/kernel/qcoreapplication.cpp:1559
#42 0x00007687b5119a1a in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x576aedf8f6c0) at
/workspace/build/src/corelib/kernel/qcoreapplication.cpp:1914
#43 0x00007687b4ef1107 in postEventSourceDispatch (s=0x576aee0b3220) at
/workspace/build/src/corelib/kernel/qeventdispatcher_glib.cpp:248
#44 0x00007687b27d7585 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007687b2836977 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007687b27d6a23 in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007687b4eef760 in QEventDispatcherGlib::processEvents
(this=0x576aedf55200, flags=...) at
/workspace/build/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#48 0x00007687b512450b in QEventLoop::exec (this=0x7ffd87a60790, flags=...) at
/workspace/build/src/corelib/global/qflags.h:78
#49 0x00007687b511c3d8 in QCoreApplication::exec () at
/workspace/build/src/corelib/global/qflags.h:78
#50 0x0000576aba4427b5 in main (argc=1, argv=0x7ffd87a60ae8) at
/workspace/build/daemon/kdeconnectd.cpp:124

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to