Application: kdeconnectd (24.12.2) (Compiled from sources) ApplicationNotResponding [ANR]: false Qt Version: 6.8.2 Frameworks Version: 6.11.0 Operating System: Linux 6.13.4-200.fc41.x86_64 x86_64 Windowing System: Wayland Distribution: "Fedora Linux 41 (KDE Plasma)" DrKonqi: 6.3.80 [CoredumpBackend] -- Information about the crash: When logging in to Plasma Desktop (with two activities running), KDE connect crashed multiple times in a row. I have built it with kde-builder The reporter is unsure if this crash is reproducible. -- Backtrace: Application: KDE Connect Daemon (kdeconnectd), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>} Downloading 749.53 K separate debug info for /usr/bin/kdeconnectd... Downloading 8.38 M separate debug info for /home/akseli/.cache/debuginfod_client/aa71b46bac6b4440dd75ba85d05d649cb360ff83/debuginfo... Downloading file /usr/lib64/libdrm_radeon.so.1.124.0... [New LWP 2556] [New LWP 2613] [New LWP 2663] [New LWP 2689] [New LWP 2664] [New LWP 2686] [New LWP 2682] [New LWP 2684] [New LWP 2688] [New LWP 2691] [New LWP 2692] warning: .dynamic section for "/home/akseli/.cache/debuginfod_client/2a1f11bc617aacf0ece9e9c64d54fc9619ba7d2d/executable" is not at the expected address (wrong library or version mismatch?) Downloading 11.67 M separate debug info for /lib64/libkdeconnectcore.so.24... Downloading 3.65 M separate debug info for /lib64/libKF6DBusAddons.so.6... Downloading 301.19 K separate debug info for /home/akseli/.cache/debuginfod_client/76f69d7a9df9589aebbd042809628920bd9f3b1a/debuginfo... Downloading 28.52 M separate debug info for /lib64/libKF6KIOCore.so.6... Downloading 1.54 M separate debug info for /lib64/libKF6Crash.so.6... Downloading 5.56 M separate debug info for /lib64/libKF6Notifications.so.6... Downloading 510.19 K separate debug info for /home/akseli/.cache/debuginfod_client/7c0264ce863bbf005745dd959c3ed7b7ebfb5d93/debuginfo... Downloading 15.61 M separate debug info for /lib64/libKF6CoreAddons.so.6... Downloading 653.98 K separate debug info for /home/akseli/.cache/debuginfod_client/b7d983a31127a02118aa952fc347bd68e7a31c86/debuginfo... Downloading 5.34 M separate debug info for /lib64/libKF6I18n.so.6... Downloading 1.01 M separate debug info for /home/akseli/.cache/debuginfod_client/c2d4f9e6a02ec22c04a37f26b6e521903161b5a1/debuginfo... Downloading 9.70 M separate debug info for /lib64/libKF6KIOGui.so.6... Downloading 7.07 M separate debug info for /lib64/libKF6ConfigCore.so.6... Downloading 949.59 K separate debug info for /home/akseli/.cache/debuginfod_client/d195079fc51c0438242aec9808e27c41dcfe1566/debuginfo... Downloading 8.87 M separate debug info for /lib64/libKF6Service.so.6... Downloading 398.93 K separate debug info for /home/akseli/.cache/debuginfod_client/d853c48634d1e04403daad808eb7ff808d73219c/debuginfo... Downloading 1.92 M separate debug info for /lib64/libKF6AuthCore.so.6... Downloading 1.08 M separate debug info for /home/akseli/.cache/debuginfod_client/02f50b86f57fc04ca7e365c9b81d7c360b837d8d/debuginfo... Downloading 125.27 K separate debug info for /lib64/libacl.so.1... Downloading separate debug info for /home/akseli/.cache/debuginfod_client/6e078332ae36e8358da618b723ea4463791c70fc/debuginfo... Downloading 19.72 M separate debug info for /lib64/libKF6Solid.so.6... Downloading 618.01 K separate debug info for /home/akseli/.cache/debuginfod_client/49eb0a8502ad393c91538a1971489244c8c52578/debuginfo... Downloading 5.36 M separate debug info for /lib64/libKF6WindowSystem.so.6... Downloading 879.86 K separate debug info for /home/akseli/.cache/debuginfod_client/b87ebd145a6dda2a3f35fc62b7a45f2a90cc489c/debuginfo... Downloading separate debug info for /lib64/libattr.so.1... Downloading separate debug info for /home/akseli/.cache/debuginfod_client/45c3b76fd658b1e86c6ff09d1f06babadf71fa78/debuginfo... Downloading 144.89 K separate debug info for /lib64/libwayland-client.so.0... Downloading separate debug info for /lib64/libwayland-cursor.so.0... Downloading 1.59 M separate debug info for /usr/lib64/qt6/plugins/tls/libqcertonlybackend.so... Downloading 5.10 M separate debug info for /usr/lib64/qt6/plugins/tls/libqopensslbackend.so... [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/bin/kdeconnectd'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; [Current thread is 1 (Thread 0x7f0166158d00 (LWP 2556))] Cannot QML trace cores :( Downloading source file /usr/src/debug/mesa-24.3.4-3.fc41.x86_64/redhat-linux-build/../src/c11/impl/threads_posix.c... Downloading 20.46 K source file /usr/src/debug/mesa-24.3.4-3.fc41.x86_64/redhat-linux-build/../src/util/u_queue.c... Downloading source file /usr/src/debug/glibc-2.40-21.fc41.x86_64/nptl/pthread_cond_wait.c... Downloading source file /usr/src/debug/glibc-2.40-21.fc41.x86_64/nptl/futex-internal.c... Downloading 40.20 K source file /usr/src/debug/qt6-qtwayland-6.8.2-1.fc41.x86_64/src/client/qwaylanddisplay.cpp... Downloading source file /usr/src/debug/glibc-2.40-21.fc41.x86_64/io/../sysdeps/unix/sysv/linux/poll.c... Downloading source file /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/dbus/qdbusconnectionmanager.cpp... Downloading source file /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qwaitcondition_unix.cpp... Downloading source file /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/daemon/kdeconnectd.cpp... Downloading 8.15 K source file /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qiodevice.cpp... Downloading source file /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/plugins/tls/openssl/qtls_openssl.cpp... Downloading 34.28 K source file /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qvarlengtharray.h... Downloading 20.64 K source file /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/redhat-linux-build/src/network/Network_autogen/include/moc_qsslsocket.cpp... Downloading source file /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/core/backends/lan/lanlinkprovider.cpp... Python Exception <class 'AttributeError'>: 'NoneType' object has no attribute 'pointer' Downloading 6.79 K source file /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/redhat-linux-build/core/kdeconnectcore_autogen/include/moc_linkprovider.cpp... Downloading source file /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/core/daemon.cpp... Downloading source file /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/core/device.cpp... Python Exception <class 'AttributeError'>: 'NoneType' object has no attribute 'pointer' [Current thread is 1 (Thread 0x7f0166158d00 (LWP 2556))] Thread 11 (Thread 0x7f0144ff96c0 (LWP 2692)): #0 0x00007f016a47a7e9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x56438c6877b8, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x56438c6877b8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007f016a47a86f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56438c6877b8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007f016a47d239 in __pthread_cond_wait_common (cond=0x56438c687790, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x56438c687790, mutex=<optimized out>) at pthread_cond_wait.c:618 #5 0x00007f014c6faaad in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111 #6 0x00007f014c6c58cb in util_queue_thread_func (input=input@entry=0x56438c6bd5f0) at ../src/util/u_queue.c:275 #7 0x00007f014c6fa9dc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43 #8 0x00007f016a47e168 in start_thread (arg=<optimized out>) at pthread_create.c:448 #9 0x00007f016a50214c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 10 (Thread 0x7f01457fa6c0 (LWP 2691)): #0 0x00007f016a47a7e9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x56438c6424a8, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x56438c6424a8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007f016a47a86f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56438c6424a8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007f016a47d239 in __pthread_cond_wait_common (cond=0x56438c642480, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x56438c642480, mutex=<optimized out>) at pthread_cond_wait.c:618 #5 0x00007f014c6faaad in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111 #6 0x00007f014c6c58cb in util_queue_thread_func (input=input@entry=0x56438c678300) at ../src/util/u_queue.c:275 #7 0x00007f014c6fa9dc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43 #8 0x00007f016a47e168 in start_thread (arg=<optimized out>) at pthread_create.c:448 #9 0x00007f016a50214c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 9 (Thread 0x7f01467fc6c0 (LWP 2688)): #0 0x00007f016a47a7e9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x56438c56f098, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x56438c56f098, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007f016a47a86f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56438c56f098, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007f016a47d239 in __pthread_cond_wait_common (cond=0x56438c56f070, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x56438c56f070, mutex=<optimized out>) at pthread_cond_wait.c:618 #5 0x00007f014c6faaad in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111 #6 0x00007f014c6c58cb in util_queue_thread_func (input=input@entry=0x56438c5df160) at ../src/util/u_queue.c:275 #7 0x00007f014c6fa9dc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43 #8 0x00007f016a47e168 in start_thread (arg=<optimized out>) at pthread_create.c:448 #9 0x00007f016a50214c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 8 (Thread 0x7f01477fe6c0 (LWP 2684)): #0 0x00007f016a47a7e9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x56438c5abf88, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x56438c5abf88, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007f016a47a86f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56438c5abf88, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007f016a47d239 in __pthread_cond_wait_common (cond=0x56438c5abf60, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x56438c5abf60, mutex=<optimized out>) at pthread_cond_wait.c:618 #5 0x00007f014c6faaad in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111 #6 0x00007f014c6c58cb in util_queue_thread_func (input=input@entry=0x56438c5abdb0) at ../src/util/u_queue.c:275 #7 0x00007f014c6fa9dc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43 #8 0x00007f016a47e168 in start_thread (arg=<optimized out>) at pthread_create.c:448 #9 0x00007f016a50214c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 7 (Thread 0x7f0147fff6c0 (LWP 2682)): #0 0x00007f016a47a7e9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x56438c56dd78, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x56438c56dd78, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007f016a47a86f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56438c56dd78, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007f016a47d239 in __pthread_cond_wait_common (cond=0x56438c56dd50, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x56438c56dd50, mutex=<optimized out>) at pthread_cond_wait.c:618 #5 0x00007f014c6faaad in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111 #6 0x00007f014c6c58cb in util_queue_thread_func (input=input@entry=0x56438c56b880) at ../src/util/u_queue.c:275 #7 0x00007f014c6fa9dc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43 #8 0x00007f016a47e168 in start_thread (arg=<optimized out>) at pthread_create.c:448 #9 0x00007f016a50214c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 6 (Thread 0x7f0146ffd6c0 (LWP 2686)): #0 0x00007f016a47a7e9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x56438c56eee8, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x56438c56eee8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007f016a47a86f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56438c56eee8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007f016a47d239 in __pthread_cond_wait_common (cond=0x56438c56eec0, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x56438c56eec0, mutex=<optimized out>) at pthread_cond_wait.c:618 #5 0x00007f014c6faaad in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111 #6 0x00007f014c6c58cb in util_queue_thread_func (input=input@entry=0x56438c5dee40) at ../src/util/u_queue.c:275 #7 0x00007f014c6fa9dc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43 #8 0x00007f016a47e168 in start_thread (arg=<optimized out>) at pthread_create.c:448 #9 0x00007f016a50214c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 5 (Thread 0x7f014f7fe6c0 (LWP 2664)): #0 0x00007f016a4f43fd in __GI___poll (fds=fds@entry=0x7f014f7fd860, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f01660166ab in poll (__fds=0x7f014f7fd860, __nfds=2, __timeout=-1) at /usr/include/bits/poll2.h:44 #2 QtWaylandClient::EventThread::run (this=0x56438c478380) at /usr/src/debug/qt6-qtwayland-6.8.2-1.fc41.x86_64/src/client/qwaylanddisplay.cpp:182 #3 0x00007f016acb67e9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:375 #4 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:311 #5 QThreadPrivate::start (arg=0x56438c478380) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:339 #6 0x00007f016a47e168 in start_thread (arg=<optimized out>) at pthread_create.c:448 #7 0x00007f016a50214c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 4 (Thread 0x7f0145ffb6c0 (LWP 2689)): #0 0x00007f016a47a7e9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x56438c5ee718, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x56438c5ee718, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007f016a47a86f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56438c5ee718, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007f016a47d239 in __pthread_cond_wait_common (cond=0x56438c5ee6f0, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x56438c5ee6f0, mutex=<optimized out>) at pthread_cond_wait.c:618 #5 0x00007f014c6faaad in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111 #6 0x00007f014c6c58cb in util_queue_thread_func (input=input@entry=0x56438c632f40) at ../src/util/u_queue.c:275 #7 0x00007f014c6fa9dc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43 #8 0x00007f016a47e168 in start_thread (arg=<optimized out>) at pthread_create.c:448 #9 0x00007f016a50214c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 3 (Thread 0x7f014ffff6c0 (LWP 2663)): #0 0x00007f016a47a7e9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x56438c476284, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x56438c476284, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007f016a47a86f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56438c476284, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007f016a47d239 in __pthread_cond_wait_common (cond=0x56438c476258, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x56438c476258, mutex=<optimized out>) at pthread_cond_wait.c:618 #5 0x00007f016acc336c in QWaitConditionPrivate::wait (this=0x56438c476230, deadline=...) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:105 #6 QWaitCondition::wait (this=this@entry=0x56438c4d7ab0, mutex=mutex@entry=0x56438c4d7aa8, deadline=...) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:183 #7 0x00007f016601664e in QtWaylandClient::EventThread::waitForReading (this=0x56438c4d7a70) at /usr/include/qt6/QtCore/qdeadlinetimer.h:31 #8 QtWaylandClient::EventThread::run (this=0x56438c4d7a70) at /usr/src/debug/qt6-qtwayland-6.8.2-1.fc41.x86_64/src/client/qwaylanddisplay.cpp:177 #9 0x00007f016acb67e9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:375 #10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:311 #11 QThreadPrivate::start (arg=0x56438c4d7a70) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:339 #12 0x00007f016a47e168 in start_thread (arg=<optimized out>) at pthread_create.c:448 #13 0x00007f016a50214c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 2 (Thread 0x7f01581ff6c0 (LWP 2613)): #0 0x00007f016a4f4930 in __GI_ppoll (fds=fds@entry=0x56438cca6400, nfds=nfds@entry=4, timeout=<optimized out>, timeout@entry=0x7f01581fe6b0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42 #1 0x00007f01699518a3 in ppoll (__fds=0x56438cca6400, __nfds=4, __timeout=0x7f01581fe6b0, __ss=0x0) at /usr/include/bits/poll2.h:101 #2 g_main_context_poll_unlocked (priority=<optimized out>, context=0x7f0150000c80, timeout_usec=<optimized out>, fds=0x56438cca6400, n_fds=4) at ../glib/gmain.c:4591 #3 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f0150000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4268 #4 0x00007f01698f2783 in g_main_context_iteration (context=0x7f0150000c80, may_block=1) at ../glib/gmain.c:4338 #5 0x00007f016adef2b3 in QEventDispatcherGlib::processEvents (this=0x7f0150000b70, flags=...) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:399 #6 0x00007f016ab00993 in QEventLoop::exec (this=this@entry=0x7f01581fe820, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/global/qflags.h:34 #7 0x00007f016ac19095 in QThread::exec (this=this@entry=0x7f016c525cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/global/qflags.h:74 #8 0x00007f016c478581 in QDBusConnectionManager::run (this=0x7f016c525cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/dbus/qdbusconnectionmanager.cpp:144 #9 0x00007f016acb67e9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:375 #10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:311 #11 QThreadPrivate::start (arg=0x7f016c525cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:339 #12 0x00007f016a47e168 in start_thread (arg=<optimized out>) at pthread_create.c:448 #13 0x00007f016a50214c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 1 (Thread 0x7f0166158d00 (LWP 2556)): [KCrash Handler] #5 std::__atomic_base<int>::fetch_sub (this=0x20, __i=1, __m=std::memory_order::acq_rel) at /usr/include/c++/14/bits/atomic_base.h:639 #6 QAtomicOps<int>::deref<int> (_q_value=<error reading variable: Cannot access memory at address 0x20>) at /usr/include/qt6/QtCore/qatomic_cxx11.h:266 #7 QBasicAtomicInteger<int>::deref (this=0x20) at /usr/include/qt6/QtCore/qbasicatomic.h:48 #8 QSharedPointer<QIODevice>::deref (dd=0x1c) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:475 #9 QSharedPointer<QIODevice>::deref (dd=0x1c) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:472 #10 QSharedPointer<QIODevice>::deref (this=0x7ffd3362d960) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:471 #11 QSharedPointer<QIODevice>::~QSharedPointer (this=0x7ffd3362d960, __in_chrg=<optimized out>) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:284 #12 NetworkPacket::~NetworkPacket (this=0x7ffd3362d940, __in_chrg=<optimized out>) at /home/akseli/Repositories/kde/src/kdeconnect-kde/core/networkpacket.h:23 #13 ClipboardPlugin::sendConnectPacket (this=0x56438c436310) at /home/akseli/Repositories/kde/src/kdeconnect-kde/plugins/clipboard/clipboardplugin.cpp:85 #14 0x00007f016c8d9039 in Device::reloadPlugins (this=0x56438cbe3e30) at /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/core/device.cpp:182 #15 0x00007f016c8d1e5b in Daemon::onNewDeviceLink (this=0x7ffd3362f990, link=0x56438ccc6af0) at /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/core/daemon.cpp:186 #16 0x00007f016ab5a26e in QtPrivate::QSlotObjectBase::call (this=0x56438cc9f100, r=<optimized out>, a=0x7ffd3362ddb0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobjectdefs_impl.h:486 #17 doActivate<false> (sender=0x56438c7bc790, signal_index=3, argv=0x7ffd3362ddb0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:4115 #18 0x00007f016ab50867 in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd3362ddb0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:4175 #19 0x00007f016c8b3a71 in LinkProvider::onConnectionReceived (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/redhat-linux-build/core/kdeconnectcore_autogen/include/moc_linkprovider.cpp:201 #20 0x00007f016c89c674 in LanLinkProvider::addLink (this=this@entry=0x56438c7bc790, socket=socket@entry=0x56438c43dbf0, deviceInfo=...) at /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/core/backends/lan/lanlinkprovider.cpp:594 #21 0x00007f016c89df1a in LanLinkProvider::encrypted (this=0x56438c7bc790) at /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/core/backends/lan/lanlinkprovider.cpp:398 #22 0x00007f016ab5a26e in QtPrivate::QSlotObjectBase::call (this=0x56438ccb58f0, r=<optimized out>, a=0x7ffd3362e058) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobjectdefs_impl.h:486 #23 doActivate<false> (sender=0x56438c43dbf0, signal_index=15, argv=0x7ffd3362e058) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:4115 #24 0x00007f016ab50867 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f0169c09480 <QSslSocket::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:4175 #25 0x00007f0169b41924 in QSslSocket::encrypted (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/redhat-linux-build/src/network/Network_autogen/include/moc_qsslsocket.cpp:445 #26 0x00007f0119d5673d in QTlsPrivate::TlsCryptographOpenSSL::continueHandshake (this=0x56438ccaaf50) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/plugins/tls/openssl/qtls_openssl.cpp:854 #27 0x00007f0119d5a19d in QTlsPrivate::TlsCryptographOpenSSL::startHandshake (this=this@entry=0x56438ccaaf50) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/plugins/tls/openssl/qtls_openssl.cpp:740 #28 0x00007f0119d5af30 in QTlsPrivate::TlsCryptographOpenSSL::startHandshake (this=0x56438ccaaf50) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qvarlengtharray.h:366 #29 QTlsPrivate::TlsCryptographOpenSSL::transmit (this=0x56438ccaaf50) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/plugins/tls/openssl/qtls_openssl.cpp:994 #30 0x00007f016ab5a538 in doActivate<false> (sender=0x56438ccb2480, signal_index=3, argv=0x7ffd3362f418) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:4127 #31 0x00007f016ab50867 in QMetaObject::activate (sender=sender@entry=0x56438ccb2480, m=m@entry=0x7f016b07d500 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:4175 #32 0x00007f016aab1114 in QIODevice::readyRead (this=this@entry=0x56438ccb2480) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qiodevice.cpp:213 #33 0x00007f0169a850a7 in QAbstractSocketPrivate::emitReadyRead (this=0x56438cc13a40, channel=0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/network/socket/qabstractsocket.cpp:1221 #34 QAbstractSocketPrivate::canReadNotification (this=0x56438cc13a40) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/network/socket/qabstractsocket.cpp:656 #35 0x00007f0169a8d9d9 in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/network/socket/qnativesocketengine.cpp:1238 #36 0x00007f016bc3d9b8 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56438ccb1190, e=0x7ffd3362f540) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/widgets/kernel/qapplication.cpp:3296 #37 0x00007f016aaf3590 in QCoreApplication::notifyInternal2 (receiver=0x56438ccb1190, event=0x7ffd3362f540) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1172 #38 0x00007f016aaf37ed in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1612 #39 0x00007f016adf052f in socketNotifierSourceDispatch (source=0x56438c444210) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:77 #40 0x00007f01698f128c in g_main_dispatch (context=0x7f0150000f00) at ../glib/gmain.c:3357 #41 g_main_context_dispatch_unlocked (context=0x7f0150000f00) at ../glib/gmain.c:4208 #42 0x00007f01699517b8 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f0150000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4273 #43 0x00007f01698f2783 in g_main_context_iteration (context=0x7f0150000f00, may_block=1) at ../glib/gmain.c:4338 #44 0x00007f016adef2d1 in QEventDispatcherGlib::processEvents (this=0x56438c42af30, flags=...) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:401 #45 0x00007f016ab00993 in QEventLoop::exec (this=this@entry=0x7ffd3362f7e0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/global/qflags.h:34 #46 0x00007f016aafbf6e in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/global/qflags.h:74 #47 0x00007f016b2d7d3d in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/gui/kernel/qguiapplication.cpp:1975 #48 0x00007f016bc3d929 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/widgets/kernel/qapplication.cpp:2564 #49 0x000056435dabc2e4 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/daemon/kdeconnectd.cpp:120 Reported using DrKonqi
Here's another crash. Different plugin, same NetworkPacket destructor. Thread 1 (Thread 0x76470ce3aa00 (LWP 92522)): [KCrash Handler] #5 0x00007647000446bc in std::__atomic_base<int>::fetch_sub (this=0x1b, __i=1, __m=std::memory_order::acq_rel) at /usr/include/c++/14.2.1/bits/atomic_base.h:641 #6 QAtomicOps<int>::deref<int> (_q_value=<error reading variable: Cannot access memory at address 0x1b>) at /usr/include/qt6/QtCore/qatomic_cxx11.h:266 #7 0x00007647000432ec in QBasicAtomicInteger<int>::deref (this=0x1b) at /usr/include/qt6/QtCore/qbasicatomic.h:48 #8 0x00007647000459a2 in QSharedPointer<QIODevice>::deref (dd=0x17) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:475 #9 0x0000764700044b9e in QSharedPointer<QIODevice>::deref (this=0x7ffdbf7582d0) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:471 #10 0x0000764700043b80 in QSharedPointer<QIODevice>::~QSharedPointer (this=0x7ffdbf7582d0, __in_chrg=<optimized out>) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:284 #11 0x0000764700042f98 in NetworkPacket::~NetworkPacket (this=0x7ffdbf7582b0, __in_chrg=<optimized out>) at /home/kpetso/src/kde/network/kdeconnect-kde/core/networkpacket.h:23 #12 0x0000764700040bb8 in SystemvolumePlugin::sendSinkList (this=0x5619b75a3490) at /home/kpetso/src/kde/network/kdeconnect-kde/plugins/systemvolume/systemvolumeplugin-pulse.cpp:105 #13 0x0000764700040d20 in SystemvolumePlugin::connected (this=0x5619b75a3490) at /home/kpetso/src/kde/network/kdeconnect-kde/plugins/systemvolume/systemvolumeplugin-pulse.cpp:118 #14 0x00007647131e9116 in Device::reloadPlugins (this=0x5619b748fe30) at /usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/core/device.cpp:182 #15 0x00007647131e1d0d in Daemon::onNewDeviceLink (this=0x7ffdbf75a470, link=0x5619b757e8a0) at /usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/core/daemon.cpp:186 #16 0x00007647115b1a49 in ??? () at /usr/lib/libQt6Core.so.6 #17 0x00007647131c30a2 in LinkProvider::onConnectionReceived (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdeconnect/build/core/kdeconnectcore_autogen/include/moc_linkprovider.cpp:201 #18 0x00007647131ab854 in LanLinkProvider::addLink (this=this@entry=0x5619b718ddc0, socket=socket@entry=0x5619b748ffd0, deviceInfo=...) at /usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/core/backends/lan/lanlinkprovider.cpp:594 #19 0x00007647131ad152 in LanLinkProvider::encrypted (this=0x5619b718ddc0) at /usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/core/backends/lan/lanlinkprovider.cpp:398 #20 0x00007647115b1a49 in ??? () at /usr/lib/libQt6Core.so.6 #21 0x000076470008ce60 in QTlsPrivate::TlsCryptographOpenSSL::continueHandshake (this=0x5619b754b3a0) at /usr/src/debug/qt6-base/qtbase/src/plugins/tls/openssl/qtls_openssl.cpp:854 #22 0x000076470008ab33 in QTlsPrivate::TlsCryptographOpenSSL::startHandshake (this=this@entry=0x5619b754b3a0) at /usr/src/debug/qt6-base/qtbase/src/plugins/tls/openssl/qtls_openssl.cpp:740 #23 0x000076470008c700 in QTlsPrivate::TlsCryptographOpenSSL::startHandshake (this=0x5619b754b3a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qvarlengtharray.h:366 #24 QTlsPrivate::TlsCryptographOpenSSL::transmit (this=0x5619b754b3a0) at /usr/src/debug/qt6-base/qtbase/src/plugins/tls/openssl/qtls_openssl.cpp:994 #25 0x00007647115b1c9a in ??? () at /usr/lib/libQt6Core.so.6 #26 0x00007647108c98b8 in ??? () at /usr/lib/libQt6Network.so.6 #27 0x00007647108d58d2 in ??? () at /usr/lib/libQt6Network.so.6 #28 0x00007647126ff0ca in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6 #29 0x0000764711555b00 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6 #30 0x00007647117c80f1 in ??? () at /usr/lib/libQt6Core.so.6 #31 0x00007647104a6559 in ??? () at /usr/lib/libglib-2.0.so.0 #32 0x0000764710509257 in ??? () at /usr/lib/libglib-2.0.so.0 #33 0x00007647104a5a55 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #34 0x00007647117c5782 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6 #35 0x00007647115606a6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6 #36 0x00007647115591d6 in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6 #37 0x00005619b3dbe874 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/daemon/kdeconnectd.cpp:120 Warning: the current language does not match this frame.
*** Bug 501012 has been marked as a duplicate of this bug. ***
And a third one, the crashing thread originally reported in Bug 501012. As mentioned in that bug report, these kinds of crashes show up frequently for me now when my phone wakes up and presumably sends messages to kdeconnectd on the desktop. They occurred after updating kdeconnect-kde from commit 590aa3884 (Feb 16) to commit d94f1faa9 (Mar 2) and rebuilding together with all the other workspace repositories. Thread 1 (Thread 0x777d01518a00 (LWP 81616)): [KCrash Handler] #5 0x0000777ced6ff01e in std::__atomic_base<int>::fetch_sub (this=0x16, __i=1, __m=std::memory_order::acq_rel) at /usr/include/c++/14.2.1/bits/atomic_base.h:641 #6 QAtomicOps<int>::deref<int> (_q_value=<error reading variable: Cannot access memory at address 0x16>) at /usr/include/qt6/QtCore/qatomic_cxx11.h:266 #7 0x0000777ced6fdf66 in QBasicAtomicInteger<int>::deref (this=0x16) at /usr/include/qt6/QtCore/qbasicatomic.h:48 #8 0x0000777ced6ffda4 in QSharedPointer<QIODevice>::deref (dd=0x12) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:475 #9 0x0000777ced6ff332 in QSharedPointer<QIODevice>::deref (this=0x7ffc566761c0) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:471 #10 0x0000777ced6fe622 in QSharedPointer<QIODevice>::~QSharedPointer (this=0x7ffc566761c0, __in_chrg=<optimized out>) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:284 #11 0x0000777ced6fdbbe in NetworkPacket::~NetworkPacket (this=0x7ffc566761a0, __in_chrg=<optimized out>) at /home/kpetso/src/kde/network/kdeconnect-kde/core/networkpacket.h:23 #12 0x0000777ced6fc280 in BatteryPlugin::slotChargeChanged (this=0x618362d31a80) at /home/kpetso/src/kde/network/kdeconnect-kde/plugins/battery/batteryplugin.cpp:107 #13 0x0000777ced6fbb42 in BatteryPlugin::connected (this=0x618362d31a80) at /home/kpetso/src/kde/network/kdeconnect-kde/plugins/battery/batteryplugin.cpp:58 #14 0x0000777d078c4116 in Device::reloadPlugins (this=0x618362be3670) at /usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/core/device.cpp:182 #15 0x0000777d078bcd0d in Daemon::onNewDeviceLink (this=0x7ffc56678210, link=0x618362d30330) at /usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/core/daemon.cpp:186 #16 0x0000777d05db1a49 in ??? () at /usr/lib/libQt6Core.so.6 #17 0x0000777d0789e0a2 in LinkProvider::onConnectionReceived (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdeconnect/build/core/kdeconnectcore_autogen/include/moc_linkprovider.cpp:201 #18 0x0000777d07886854 in LanLinkProvider::addLink (this=this@entry=0x618362950c20, socket=socket@entry=0x618362c6b1b0, deviceInfo=...) at /usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/core/backends/lan/lanlinkprovider.cpp:594 #19 0x0000777d07888152 in LanLinkProvider::encrypted (this=0x618362950c20) at /usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/core/backends/lan/lanlinkprovider.cpp:398 #20 0x0000777d05db1a49 in ??? () at /usr/lib/libQt6Core.so.6 #21 0x0000777ced757e60 in QTlsPrivate::TlsCryptographOpenSSL::continueHandshake (this=0x618362900750) at /usr/src/debug/qt6-base/qtbase/src/plugins/tls/openssl/qtls_openssl.cpp:854 #22 0x0000777ced755b33 in QTlsPrivate::TlsCryptographOpenSSL::startHandshake (this=this@entry=0x618362900750) at /usr/src/debug/qt6-base/qtbase/src/plugins/tls/openssl/qtls_openssl.cpp:740 #23 0x0000777ced757700 in QTlsPrivate::TlsCryptographOpenSSL::startHandshake (this=0x618362900750) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qvarlengtharray.h:366 #24 QTlsPrivate::TlsCryptographOpenSSL::transmit (this=0x618362900750) at /usr/src/debug/qt6-base/qtbase/src/plugins/tls/openssl/qtls_openssl.cpp:994 #25 0x0000777d05db1c9a in ??? () at /usr/lib/libQt6Core.so.6 #26 0x0000777d04ec98b8 in ??? () at /usr/lib/libQt6Network.so.6 #27 0x0000777d04ed58d2 in ??? () at /usr/lib/libQt6Network.so.6 #28 0x0000777d06eff0ca in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6 #29 0x0000777d05d55b00 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6 #30 0x0000777d05fc80f1 in ??? () at /usr/lib/libQt6Core.so.6 #31 0x0000777d04b9e559 in ??? () at /usr/lib/libglib-2.0.so.0 #32 0x0000777d04c01257 in ??? () at /usr/lib/libglib-2.0.so.0 #33 0x0000777d04b9da55 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #34 0x0000777d05fc5782 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6 #35 0x0000777d05d606a6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6 #36 0x0000777d05d591d6 in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6 #37 0x0000618341fd3874 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/daemon/kdeconnectd.cpp:120 Warning: the current language does not match this frame.
The common thread among these stack traces is that Device::reloadPlugins() calls plugin->connected(), and it crashes at the end of the function scope, where the scope gets cleaned up. As it so happens, the last thing that each of these functions do is to call sendPacket(NetworkPacket &).
My Android version of KDE Connect is 1.33.0 by the way.
I had a look at some of the commits to track down the cause. It looks like commit d04a3336bc2855880ac9a9591f3ec907c6f8dc36 in kdeconnect-kde is the culprit. By reverting to the commit immediately before and restarting kdeconnectd, the problem stops happening.
Let's link to the commit in Invent: https://invent.kde.org/network/kdeconnect-kde/-/commit/d04a3336bc2855880ac9a9591f3ec907c6f8dc36 There is a straightforward bug in this commit, in this change: > - obj.insert(QLatin1String("id"), m_id); > + obj.insert(QLatin1String("id"), QDateTime::currentMSecsSinceEpoch()); m_id was a QString though, so this line should likely adopt the QString::number() conversion that the m_id initializer was using before: > obj.insert(QLatin1String("id"), QString::number(QDateTime::currentMSecsSinceEpoch())); However, fixing the type for the "id" property does not seem to make it work. Still crashing. I'm not sure what else is going wrong here.
Ah, I see what's going on. The (updated, binary-incompatible) NetworkProvider destructor is executed for code in our build directories, e.g.: > #12 NetworkPacket::~NetworkPacket (this=0x7ffd3362d940, __in_chrg=<optimized out>) at /home/akseli/Repositories/kde/src/kdeconnect-kde/core/networkpacket.h:23 #13 ClipboardPlugin::sendConnectPacket (this=0x56438c436310) at /home/akseli/Repositories/kde/src/kdeconnect-kde/plugins/clipboard/clipboardplugin.cpp:85 However, the code further up the stack comes from Arch packages, as can be induced from the /usr/src/ build directory: #14 0x00007f016c8d9039 in Device::reloadPlugins (this=0x56438cbe3e30) at /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/core/device.cpp:182 #15 0x00007f016c8d1e5b in Daemon::onNewDeviceLink (this=0x7ffd3362f990, link=0x56438ccc6af0) at /usr/src/debug/kde-connect-24.12.2-1.fc41.x86_64/core/daemon.cpp:186 Because m_id got removed from NetworkPacket and is used from a bunch of places, it's likely that there is a mismatch between constructor and destructor depending on which code exactly is creating or destroying the NetworkPacket at hand. Running kdeconnectd manually from my build directory (/home/kpetso/build/prefix/bin/kdeconnectd) as opposed to the binary from the Arch package (/usr/bin/kdeconnectd) makes it not crash anymore. Although there are still lots of warnings in the debug output like > kdeconnect.core: missing property 0x555555aa8fc0 "id" from qjsonobject2qobject() at networkpacket.cpp:71.
Starting today, I'm experiencing this non-stop, and similarly can make it stop by manually running my built-from-source binary: killall -9 kdeconnectd kstart -- ~/kde/usr/bin/kdeconnectd & That makes this pretty much a dev setup issue, right?