Bug 480184

Summary: KDE Connect Crashes in KDE Neon during a reboot and after a system update
Product: [Applications] kdeconnect Reporter: wkargus4@ameritech.net <K8RKT>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andrew.g.r.holmes, aronkvh, nicolas.fella
Priority: NOR Keywords: drkonqi
Version First Reported In: 23.08.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description wkargus4@ameritech.net 2024-01-22 18:42:36 UTC
Application: kdeconnectd (23.08.4)

Qt Version: 5.15.12
Frameworks Version: 5.114.0
Operating System: Linux 6.5.0-14-generic x86_64
Windowing System: X11
Distribution: KDE neon Unstable Edition
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
Did a system update, Did a reboot, During login KDE Connect crashes.

It also crashes when I tried to start KDE Connect and send the message that the KDE Connect Daemon Closed Unexpectedly.   If I don't get a message I try to connect from my phone and it will then report the error.   It keeps trying to restart the Daemon over and over; hence, I get a lot of error messages.  I have an Android phone running version 11.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  Device::reloadPlugins (this=this@entry=0x55beee4297b0) at ./core/device.cpp:184
#5  0x00007fb4c25d2591 in Device::addLink (this=0x55beee4297b0, link=<optimized out>) at ./core/device.cpp:292
#6  0x00007fb4c25cd3a1 in Daemon::onNewDeviceLink (this=0x7ffdaab62af0, link=0x55beee557660) at ./core/daemon.cpp:170
#7  0x00007fb4c0ef4db4 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fb4c25ac903 in LinkProvider::onConnectionReceived (this=this@entry=0x55beee3b30a0, _t1=<optimized out>, _t1@entry=0x55beee557660) at ./obj-x86_64-linux-gnu/core/kdeconnectcore_autogen/CSWKE6ESUK/moc_linkprovider.cpp:178
#9  0x00007fb4c25b77c4 in LanLinkProvider::addLink (this=this@entry=0x55beee3b30a0, socket=<optimized out>, deviceInfo=...) at ./core/backends/lan/lanlinkprovider.cpp:614
#10 0x00007fb4c25b83cf in LanLinkProvider::encrypted (this=0x55beee3b30a0) at ./core/backends/lan/lanlinkprovider.cpp:377
#11 0x00007fb4c0ef4db4 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fb4c0b848b3 in ?? () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#13 0x00007fb4c0b8b21b in ?? () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#14 0x00007fb4c0b8b9e3 in ?? () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#15 0x00007fb4c0ef4de8 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fb4c0b3a2ff in ?? () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#17 0x00007fb4c0b4d439 in ?? () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#18 0x00007fb4c1b6c783 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fb4c0ebd30a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fb4c0f17405 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fb4bf920d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fb4bf976258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fb4bf91e3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fb4c0f1686e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fb4c0ebbc2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fb4c0ec41d4 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x000055beec375001 in main (argc=<optimized out>, argv=<optimized out>) at ./daemon/kdeconnectd.cpp:186
[Inferior 1 (process 2177) detached]

The reporter indicates this bug may be a duplicate of or related to bug 438066, bug 438073, bug 479595, bug 480181.

Reported using DrKonqi
Comment 1 Nicolas Fella 2024-01-22 22:42:27 UTC

*** This bug has been marked as a duplicate of bug 480179 ***
Comment 2 aronkvh 2024-01-23 17:30:24 UTC
Created attachment 165162 [details]
New crash information added by DrKonqi

kdeconnectd (23.08.4) using Qt 5.15.12

System updated on last reboot, now KDE Connect crashes when trying to connect to a device. When restarted it still crashes

-- Backtrace (Reduced):
#6  0x00007f684b62f87e in Device::reloadPlugins() () from /lib/x86_64-linux-gnu/libkdeconnectcore.so.23
#7  0x00007f684b62faa1 in Device::pairingHandler_pairingSuccessful() () from /lib/x86_64-linux-gnu/libkdeconnectcore.so.23
#8  0x00007f6849ef4db4 in QtPrivate::QSlotObjectBase::call (a=0x7ffe3e3ed380, r=0x55b66b598230, this=0x55b66b598dc0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false> (sender=0x55b66b598390, signal_index=5, argv=0x7ffe3e3ed380) at kernel/qobject.cpp:3925
#10 0x00007f684b620519 in PairingHandler::acceptPairing() () from /lib/x86_64-linux-gnu/libkdeconnectcore.so.23