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

            Bug ID: 501012
           Summary: Frequent kdeconnectd crashes in recent development
                    build
    Classification: Applications
           Product: kdeconnect
           Version: 24.12.2
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: jpe...@petsovits.com
                CC: andrew.g.r.hol...@gmail.com
  Target Milestone: ---

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.2-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.3.80 [CoredumpBackend]

-- Information about the crash:
Since I did a full rebuild of Plasma workspace and kdeconnect-kde yesterday,
the kdeconnectd service has been crashing frequently. It's not happening all
the time, but when my phone wakes up then a flurry of crashes happens as the
daemon tries to start, crashes, systemd restarts it, crashes again, etc., until
the max restart limit is reached and systemd gives up.

Here's a recent log (the relevant parts, journalctl --user -xeu
dbus-:1.2-org.kde.kdeconnect@12.service):

> Mar 03 10:08:56 quint kdeconnectd[79551]: 2025-03-03T10:08:56 default: new 
> capabilities for  "Jakobs Z Flip5"
> Mar 03 10:08:56 quint kdeconnectd[79551]: 2025-03-03T10:08:56 default: 
> Connecting to deprecated signal 
> QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
> Mar 03 10:08:56 quint kdeconnectd[79551]: KCrash: Application 'kdeconnectd' 
> crashing... crashRecursionCounter = 2
> Mar 03 10:08:57 quint systemd-coredump[80056]: [🡕] Process 79551 
> (kdeconnectd) of user 2001 dumped core.

However, a more recent one did not show the deprecated signal line so that's
probably unrelated.

The underlying Qt 6.8.2 comes from standard Arch packages, only KDE
repositories were built from source.

The commit id of kdeconnect-kde is d94f1faa9cbb1bfb2addcb3edce71e4bc21063ef
from Mar 2.

According to my git reflog the previous built commit was 590aa3884 from Feb 16,
so about two weeks earlier. This build did not crash. I used it with the same
underlying Qt 6.8.2, so it seems the culprit should be somewhere in kdeconnectd
or KF6.

---

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDE Connect Daemon (kdeconnectd), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
Downloading 1.48 M separate debug info for /usr/bin/kdeconnectd...

warning: Can't open file anon_inode:i915.gem during file-backed mapping note
processing
[New LWP 81616]
[New LWP 81618]
[New LWP 81619]
[New LWP 81620]
[New LWP 81622]
[New LWP 81621]
Downloading 15.59 M separate debug info for /usr/lib/libkdeconnectcore.so.24...
Downloading 37.74 M separate debug info for /usr/lib/libKF6KIOCore.so.6...
Downloading 1.54 M separate debug info for /usr/lib/libKF6Crash.so.6...
Downloading 6.51 M separate debug info for /usr/lib/libKF6Notifications.so.6...
Downloading 19.11 M separate debug info for /usr/lib/libKF6CoreAddons.so.6...
Downloading 6.39 M separate debug info for /usr/lib/libKF6I18n.so.6...
Downloading 19.31 M separate debug info for /usr/lib/libQt6DBus.so.6...
Downloading 9.67 M separate debug info for /usr/lib/libc.so.6...
Downloading 13.36 M separate debug info for /usr/lib/libKF6KIOGui.so.6...
Downloading 12.93 M separate debug info for /usr/lib/libcrypto.so.3...
Downloading 34.27 M separate debug info for /usr/lib/libQt6Bluetooth.so.6...
Downloading 8.27 M separate debug info for /usr/lib/libKF6ConfigCore.so.6...
Downloading 10.61 M separate debug info for /usr/lib/libKF6Service.so.6...
Downloading 3.47 M separate debug info for /usr/lib/libKF6AuthCore.so.6...
Downloading 140.88 K separate debug info for /usr/lib/libacl.so.1...
Downloading 1.08 M separate debug info for /usr/lib/libmount.so.1...
Downloading 1.09 M separate debug info for /lib64/ld-linux-x86-64.so.2...
Downloading 191.99 K separate debug info for /usr/lib/libcanberra.so.0...
Downloading 1.51 M separate debug info for /usr/lib/libudev.so.1...
Downloading 3.01 M separate debug info for /usr/lib/libm.so.6...
Downloading 249.66 K separate debug info for /usr/lib/libEGL.so.1...
Downloading 1.11 M separate debug info for /usr/lib/libfontconfig.so.1...
Downloading 984.16 K separate debug info for /usr/lib/libxkbcommon.so.0...
Downloading 512.62 K separate debug info for /usr/lib/libGLX.so.0...
Downloading 64.74 K separate debug info for /usr/lib/libOpenGL.so.0...
Downloading 221.83 K separate debug info for /usr/lib/libmd4c.so.0...
Downloading 3.34 M separate debug info for /usr/lib/libfreetype.so.6...
Downloading 194.53 K separate debug info for /usr/lib/libz.so.1...
Downloading 4.62 M separate debug info for /usr/lib/libsystemd.so.0...
Downloading 394.91 K separate debug info for
/usr/lib/libdouble-conversion.so.3...
Downloading 10.53 K separate debug info for /usr/lib/libb2.so.1...
Downloading 29.20 M separate debug info for /usr/lib/libKF6Solid.so.6...
Downloading 7.08 M separate debug info for /usr/lib/libKF6WindowSystem.so.6...
Downloading 1.75 M separate debug info for /usr/lib/libgssapi_krb5.so.2...
Downloading 214.80 K separate debug info for /usr/lib/libbrotlidec.so.1...
Downloading 10.27 K separate debug info for /usr/lib/libproxy.so.1...
Downloading 1.04 M separate debug info for /usr/lib/libblkid.so.1...
Downloading 80.80 K separate debug info for /usr/lib/libvorbisfile.so.3...
Downloading 289.24 K separate debug info for /usr/lib/libtdb.so.1...
Downloading 104.24 K separate debug info for /usr/lib/libltdl.so.7...
Downloading 97.45 K separate debug info for /usr/lib/libcap.so.2...
Downloading 368.53 K separate debug info for /usr/lib/libGLdispatch.so.0...
Downloading 358.87 K separate debug info for /usr/lib/libexpat.so.1...
Downloading 1.34 M separate debug info for /usr/lib/libgraphite2.so.3...
Downloading 156.17 K separate debug info for /usr/lib/libbz2.so.1.0...
Downloading 779.89 K separate debug info for
/usr/lib/libimobiledevice-1.0.so.6...
Downloading 321.88 K separate debug info for /usr/lib/libplist-2.0.so.4...
Downloading 29.04 K separate debug info for /usr/lib/libxcb-res.so.0...
Downloading 185.85 K separate debug info for /usr/lib/libXfixes.so.3...
Downloading 17.48 K separate debug info for /usr/lib/libxcb-keysyms.so.1...
Downloading 2.70 M separate debug info for /usr/lib/libkrb5.so.3...
Downloading 685.64 K separate debug info for /usr/lib/libk5crypto.so.3...
Downloading 24.64 K separate debug info for /usr/lib/libcom_err.so.2...
Downloading 140.23 K separate debug info for /usr/lib/libkrb5support.so.0...
Downloading 34.54 K separate debug info for /usr/lib/libkeyutils.so.1...
Downloading 207.87 K separate debug info for /usr/lib/libresolv.so.2...
Downloading 22.55 K separate debug info for /usr/lib/libbrotlicommon.so.1...
Downloading 193.54 K separate debug info for
/usr/lib/libproxy/libpxbackend-1.0.so...
Downloading 29.59 K separate debug info for /usr/lib/libXau.so.6...
Downloading 52.94 K separate debug info for /usr/lib/libXdmcp.so.6...
Downloading 430.05 K separate debug info for /usr/lib/libvorbis.so.0...
Downloading 45.31 K separate debug info for /usr/lib/libogg.so.0...
Downloading 174.42 K separate debug info for
/usr/lib/libimobiledevice-glue-1.0.so.0...
Downloading 79.48 K separate debug info for /usr/lib/libusbmuxd-2.0.so.7...
Downloading 3.81 M separate debug info for /usr/lib/libssl.so.3...
Downloading 4.82 M separate debug info for /usr/lib/libcurl.so.4...
Downloading 1.31 M separate debug info for /usr/lib/libduktape.so.207...
Downloading 567.41 K separate debug info for /usr/lib/libnghttp2.so.14...
Downloading 108.19 K separate debug info for /usr/lib/libidn2.so.0...
Downloading 1.22 M separate debug info for /usr/lib/libssh2.so.1...
Downloading 53.44 K separate debug info for /usr/lib/libpsl.so.5...
Downloading 1.62 M separate debug info for /usr/lib/libunistring.so.5...
Downloading 446.77 K separate debug info for
/usr/lib/qt6/plugins/platforms/libqwayland-generic.so...
Downloading 22.79 M separate debug info for
/usr/lib/qt6/plugins/platforms/../../../libQt6WaylandClient.so.6...
Downloading 141.44 K separate debug info for
/usr/lib/qt6/plugins/platforms/../../../libwayland-client.so.0...
Downloading 46.42 K separate debug info for
/usr/lib/qt6/plugins/platforms/../../../libwayland-cursor.so.0...
Downloading 2.44 M separate debug info for
/usr/lib/qt6/plugins/wayland-shell-integration/libxdg-shell.so...
Downloading 4.62 M separate debug info for
/usr/lib/libQt6QuickControls2.so.6...
Downloading 178.98 K separate debug info for /usr/lib/libXcursor.so.1...
Downloading 222.94 M separate debug info for /usr/lib/libQt6Quick.so.6...
Downloading 199.88 M separate debug info for /usr/lib/libQt6Qml.so.6...
Downloading 119.16 M separate debug info for
/usr/lib/libQt6QuickTemplates2.so.6...
Downloading 688.59 K separate debug info for /usr/lib/libQt6Concurrent.so.6...
Downloading 47.70 K separate debug info for /usr/lib/libattr.so.1...
Downloading 403.49 K separate debug info for /usr/lib/libXrender.so.1...
Downloading 10.15 M separate debug info for /usr/lib/libQt6Svg.so.6...
Downloading 920.19 K separate debug info for /usr/lib/liblzma.so.5...
Downloading 454.78 K separate debug info for
/usr/lib/qt6/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so...
Downloading 1.55 M separate debug info for
/usr/lib/qt6/plugins/wayland-graphics-integration-client/../../../libQt6WaylandEglClientHwIntegration.so.6...
Downloading 7.23 K separate debug info for
/usr/lib/qt6/plugins/wayland-graphics-integration-client/../../../libwayland-egl.so.1...
Downloading 974.64 K separate debug info for /usr/lib/libEGL_mesa.so.0...
Downloading 53.39 M separate debug info for
/usr/lib/libgallium-24.3.4-arch1.1.so...
Downloading 89.76 K separate debug info for /usr/lib/libgbm.so.1...
Downloading 180.92 K separate debug info for /usr/lib/libglapi.so.0...
Downloading 37.93 K separate debug info for /usr/lib/libX11-xcb.so.1...
Downloading 72.90 K separate debug info for /usr/lib/libxcb-xfixes.so.0...
Downloading 24.12 K separate debug info for /usr/lib/libxcb-shm.so.0...
Downloading 242.70 K separate debug info for /usr/lib/libdrm.so.2...
Downloading 206.45 K separate debug info for /usr/lib/libwayland-server.so.0...
Downloading 39.01 K separate debug info for /usr/lib/libxcb-dri3.so.0...
Downloading 25.20 K separate debug info for /usr/lib/libxcb-present.so.0...
Downloading 448.67 M separate debug info for /usr/lib/libLLVM.so.19.1...
Downloading 131.58 K separate debug info for /usr/lib/libsensors.so.5...
Downloading 57.62 K separate debug info for /usr/lib/libxcb-sync.so.1...
Downloading 11.27 K separate debug info for /usr/lib/libxshmfence.so.1...
Downloading 109.29 K separate debug info for /usr/lib/libdrm_radeon.so.1...
Downloading 926.16 K separate debug info for /usr/lib/libelf.so.1...
Downloading 139.80 K separate debug info for /usr/lib/libdrm_amdgpu.so.1...
Downloading 332.65 K separate debug info for /usr/lib/libdrm_intel.so.1...
Downloading 114.30 K separate debug info for /usr/lib/libpciaccess.so.0...
Downloading 1.70 M separate debug info for /usr/lib/libncursesw.so.6...
Downloading 926.48 K separate debug info for
/usr/lib/qt6/plugins/imageformats/libqgif.so...
Downloading 905.84 K separate debug info for
/usr/lib/qt6/plugins/imageformats/libqmng.so...
Downloading 1.29 M separate debug info for
/usr/lib/qt6/plugins/imageformats/../../../libmng.so.2...
Downloading 2.02 M separate debug info for /usr/lib/libjpeg.so.8...
Downloading 1.22 M separate debug info for /usr/lib/liblcms2.so.2...
Downloading 1.10 M separate debug info for
/usr/lib/qt6/plugins/imageformats/libqwebp.so...
Downloading 62.91 K separate debug info for
/usr/lib/qt6/plugins/imageformats/../../../libwebpdemux.so.2...
Downloading 165.23 K separate debug info for
/usr/lib/qt6/plugins/imageformats/../../../libwebpmux.so.3...
Downloading 2.89 M separate debug info for
/usr/lib/qt6/plugins/imageformats/../../../libwebp.so.7...
Downloading 85.55 K separate debug info for /usr/lib/libsharpyuv.so.0...
Downloading 1.13 M separate debug info for
/usr/lib/qt6/plugins/imageformats/libqsvg.so...
Downloading 862.45 K separate debug info for
/usr/lib/qt6/plugins/imageformats/libqwbmp.so...
Downloading 951.16 K separate debug info for
/usr/lib/qt6/plugins/imageformats/libqico.so...
Downloading 1.10 M separate debug info for
/usr/lib/qt6/plugins/imageformats/libqjpeg.so...
Downloading 941.77 K separate debug info for
/usr/lib/qt6/plugins/imageformats/libqjp2.so...
Downloading 1.28 M separate debug info for
/usr/lib/qt6/plugins/imageformats/../../../libjasper.so.7...
Downloading 1.00 M separate debug info for
/usr/lib/qt6/plugins/imageformats/libqicns.so...
Downloading 1.46 M separate debug info for
/usr/lib/qt6/plugins/imageformats/../../../libopenjp2.so.7...
Downloading 1.01 M separate debug info for
/usr/lib/qt6/plugins/imageformats/libqtga.so...
Downloading 1.02 M separate debug info for
/usr/lib/qt6/plugins/imageformats/libqtiff.so...
Downloading 1.35 M separate debug info for
/usr/lib/qt6/plugins/imageformats/../../../libtiff.so.6...
Downloading 78.90 K separate debug info for /usr/lib/libjbig.so.2.1...
Downloading 2.64 M separate debug info for
/usr/lib/qt6/plugins/tls/libqcertonlybackend.so...
Downloading 6.80 M separate debug info for
/usr/lib/qt6/plugins/tls/libqopensslbackend.so...
Downloading 1.60 M separate debug info for
/usr/lib/qt6/plugins/networkinformation/libqnetworkmanager.so...
Downloading 774.65 K separate debug info for
/usr/lib/qt6/plugins/networkinformation/libqglib.so...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/kdeconnectd'.
Program terminated with signal SIGSEGV, Segmentation fault.
Downloading 4.48 K source file
/usr/src/debug/glibc/glibc/nptl/pthread_kill.c...
#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 0x777d01518a00 (LWP 81616))]

Cannot QML trace cores :(
Downloading 2.48 K source file
/usr/src/debug/glibc/glibc/misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S...
Downloading 34.84 K source file
/usr/src/debug/glibc/glibc/nptl/pthread_create.c...
Downloading 7.06 K source file
/usr/src/debug/mesa/build/../mesa-24.3.4/src/c11/impl/threads_posix.c...
Downloading 20.46 K source file
/usr/src/debug/mesa/build/../mesa-24.3.4/src/util/u_queue.c...
Downloading 23.50 K source file
/usr/src/debug/glibc/glibc/nptl/pthread_cond_wait.c...
Downloading 7.09 K source file
/usr/src/debug/glibc/glibc/nptl/futex-internal.c...
Downloading 4.24 K source file
/usr/src/debug/glibc/glibc/nptl/cancellation.c...
Downloading 1.79 K source file
/usr/src/debug/glibc/glibc/nptl/../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S...
Downloading 40.20 K source file
/usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp...
Downloading 1.41 K source file
/usr/src/debug/glibc/glibc/io/../sysdeps/unix/sysv/linux/poll.c...
Downloading 10.05 K source file
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp...
Downloading 2.27 K source file
/usr/src/debug/glibc/glibc/io/../sysdeps/unix/sysv/linux/ppoll.c...
Downloading 3.91 K source file
/usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/daemon/kdeconnectd.cpp...
Downloading 69.94 K source file
/usr/src/debug/qt6-base/qtbase/src/plugins/tls/openssl/qtls_openssl.cpp...
Downloading 34.28 K source file
/usr/src/debug/qt6-base/qtbase/src/corelib/tools/qvarlengtharray.h...
Downloading 23.14 K source file
/usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/core/backends/lan/lanlinkprovider.cpp...
Python Exception <class 'AttributeError'>: 'NoneType' object has no attribute
'pointer'
Downloading 6.81 K source file
/usr/src/debug/kdeconnect/build/core/kdeconnectcore_autogen/include/moc_linkprovider.cpp...
Downloading 8.51 K source file
/usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/core/daemon.cpp...
Downloading 15.34 K source file
/usr/src/debug/kdeconnect/kdeconnect-kde-24.12.2/core/device.cpp...
Python Exception <class 'AttributeError'>: 'NoneType' object has no attribute
'pointer'
[Current thread is 1 (Thread 0x777d01518a00 (LWP 81616))]

Thread 6 (Thread 0x777cf4de36c0 (LWP 81621)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x0000777d0569fe33 in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0,
a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x0000777d056a04bc in __futex_abstimed_wait_common64 (private=0,
futex_word=0x618362857aa0, expected=<optimized out>, op=<optimized out>,
abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x618362857aa0,
expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0,
private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x0000777d056a051f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x618362857aa0, expected=<optimized out>,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
futex-internal.c:139
#5  0x0000777d056a2c0e in __pthread_cond_wait_common (cond=0x618362857a80,
mutex=0x618362857a50, clockid=0, abstime=0x0) at pthread_cond_wait.c:426
#6  ___pthread_cond_wait (cond=0x618362857a80, mutex=0x618362857a50) at
pthread_cond_wait.c:458
#7  0x0000777cf57127ee in cnd_wait () at
../mesa-24.3.4/src/c11/impl/threads_posix.c:111
#8  0x0000777cf56dd7cc in util_queue_thread_func () at
../mesa-24.3.4/src/util/u_queue.c:275
#9  0x0000777cf571271d in impl_thrd_routine () at
../mesa-24.3.4/src/c11/impl/threads_posix.c:43
#10 0x0000777d056a370a in start_thread (arg=<optimized out>) at
pthread_create.c:448
#11 0x0000777d05727aac in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x777ceffff6c0 (LWP 81622)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x0000777d0569fe33 in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0,
a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x0000777d056a04bc in __futex_abstimed_wait_common64 (private=0,
futex_word=0x61836284dba0, expected=<optimized out>, op=<optimized out>,
abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x61836284dba0,
expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0,
private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x0000777d056a051f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x61836284dba0, expected=<optimized out>,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
futex-internal.c:139
#5  0x0000777d056a2c0e in __pthread_cond_wait_common (cond=0x61836284db80,
mutex=0x61836284db50, clockid=0, abstime=0x0) at pthread_cond_wait.c:426
#6  ___pthread_cond_wait (cond=0x61836284db80, mutex=0x61836284db50) at
pthread_cond_wait.c:458
#7  0x0000777cf57127ee in cnd_wait () at
../mesa-24.3.4/src/c11/impl/threads_posix.c:111
#8  0x0000777cf56dd7cc in util_queue_thread_func () at
../mesa-24.3.4/src/util/u_queue.c:275
#9  0x0000777cf571271d in impl_thrd_routine () at
../mesa-24.3.4/src/c11/impl/threads_posix.c:43
#10 0x0000777d056a370a in start_thread (arg=<optimized out>) at
pthread_create.c:448
#11 0x0000777d05727aac in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x777cf83fe6c0 (LWP 81620)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x0000777d0569fe33 in __internal_syscall_cancel
(a1=a1@entry=131378624584480, a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0,
a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:49
#2  0x0000777d0569fe74 in __syscall_cancel (a1=a1@entry=131378624584480,
a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0,
nr=7) at cancellation.c:75
#3  0x0000777d0571a53e in __GI___poll (fds=fds@entry=0x777cf83fdb20,
nfds=nfds@entry=2, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#4  0x0000777d014835d7 in poll (__fds=0x777cf83fdb20, __nfds=2, __timeout=-1)
at /usr/include/bits/poll2.h:44
#5  QtWaylandClient::EventThread::run (this=0x61836277b180) at
/usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:182
#6  0x0000777d05ed8a9b in ??? () at /usr/lib/libQt6Core.so.6
#7  0x0000777d056a370a in start_thread (arg=<optimized out>) at
pthread_create.c:448
#8  0x0000777d05727aac in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x777cf8bff6c0 (LWP 81619)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x0000777d0569fe33 in __internal_syscall_cancel
(a1=a1@entry=131378632977184, a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0,
a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:49
#2  0x0000777d0569fe74 in __syscall_cancel (a1=a1@entry=131378632977184,
a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0,
nr=7) at cancellation.c:75
#3  0x0000777d0571a53e in __GI___poll (fds=fds@entry=0x777cf8bfeb20,
nfds=nfds@entry=2, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#4  0x0000777d014835d7 in poll (__fds=0x777cf8bfeb20, __nfds=2, __timeout=-1)
at /usr/include/bits/poll2.h:44
#5  QtWaylandClient::EventThread::run (this=0x6183627beb00) at
/usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:182
#6  0x0000777d05ed8a9b in ??? () at /usr/lib/libQt6Core.so.6
#7  0x0000777d056a370a in start_thread (arg=<optimized out>) at
pthread_create.c:448
#8  0x0000777d05727aac in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x777d00dff6c0 (LWP 81618)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x0000777d0569fe33 in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8,
a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x0000777d0569fe74 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0,
nr=271) at cancellation.c:75
#3  0x0000777d0571aa06 in __GI_ppoll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>, sigmask=<optimized out>) at
../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x0000777d04c01327 in ??? () at /usr/lib/libglib-2.0.so.0
#5  0x0000777d04b9da55 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#6  0x0000777d05fc575d in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt6Core.so.6
#7  0x0000777d05d606a6 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt6Core.so.6
#8  0x0000777d05e57829 in QThread::exec() () at /usr/lib/libQt6Core.so.6
#9  0x0000777d063736ae in QDBusConnectionManager::run (this=0x777d063feb20
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:144
#10 0x0000777d05ed8a9b in ??? () at /usr/lib/libQt6Core.so.6
#11 0x0000777d056a370a in start_thread (arg=<optimized out>) at
pthread_create.c:448
#12 0x0000777d05727aac in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

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.

Reported using DrKonqi

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

Reply via email to