Bug 459573

Summary: KDE Daemon crashes on startup
Product: [Applications] kdeconnect Reporter: James Herman <stjimmy.h>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED DUPLICATE    
Severity: crash CC: abhayraj.jain, alisonken1, andy, bastien, codename.c.wish, cwo.kde, fedo, hrice, randy, ray.spartz, xkaess22
Priority: NOR Keywords: drkonqi
Version: 22.04.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description James Herman 2022-09-23 17:12:40 UTC
Application: kdeconnectd (21.04.3)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.14.0-70.26.1.el9_0.x86_64 x86_64
Windowing System: Wayland
Distribution: Rocky Linux 9.0 (Blue Onyx)
DrKonqi: 5.23.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Once I log in, this message shows.  Also, when I load Gnome Files - Nautilis, it again displays this message.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f698fcc75f6 in KdeConnectConfig::deviceId() () from /lib64/libkdeconnectcore.so.21
#5  0x00007f698fccc2f7 in NetworkPacket::createIdentityPacket(NetworkPacket*) () from /lib64/libkdeconnectcore.so.21
#6  0x00007f698fcb8280 in LanLinkProvider::broadcastToNetwork() () from /lib64/libkdeconnectcore.so.21
#7  0x00007f698e7fbf19 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f698e7ff1be in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
#9  0x00007f698e7f2a4f in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#10 0x00007f698f32e423 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#11 0x00007f698e7c8378 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#12 0x00007f698e818cf3 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#13 0x00007f698e8195ec in timerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#14 0x00007f698cc96d4f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#15 0x00007f698cceb608 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#16 0x00007f698cc945d3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#17 0x00007f698e8199f8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#18 0x00007f698e7c6d82 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#19 0x00007f698e7cf2b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#20 0x000055be4ce52fdd in main ()
[Inferior 1 (process 6352) detached]

Possible duplicates by query: bug 453875, bug 405207.

Reported using DrKonqi
Comment 1 Ken Roberts 2022-12-02 18:24:18 UTC
Created attachment 154235 [details]
New crash information added by DrKonqi

kdeconnectd (22.04.1) using Qt 5.15.3

- What I was doing when the application crashed:
Fresh install Rock Linux 9 KDE Plasma
From SDDM login to any user

-- Backtrace (Reduced):
#4  0x00007f9019a46526 in KdeConnectConfig::deviceId() () from /lib64/libkdeconnectcore.so.22
#5  0x00007f9019a4b247 in NetworkPacket::createIdentityPacket(NetworkPacket*) () from /lib64/libkdeconnectcore.so.22
#6  0x00007f9019a37280 in LanLinkProvider::broadcastToNetwork() () from /lib64/libkdeconnectcore.so.22
#7  0x00007f9018550e99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f901855413e in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
Comment 2 Uli Maurus 2022-12-05 16:45:30 UTC
Created attachment 154336 [details]
New crash information added by DrKonqi

kdeconnectd (22.04.1) using Qt 5.15.3

- What I was doing when the application crashed:
First KDE start after fresh Rocky 9 installation on Fedora 36 based KVM client.

-- Backtrace (Reduced):
#4  0x00007f9ee936b526 in KdeConnectConfig::deviceId() () from /lib64/libkdeconnectcore.so.22
#5  0x00007f9ee9370247 in NetworkPacket::createIdentityPacket(NetworkPacket*) () from /lib64/libkdeconnectcore.so.22
#6  0x00007f9ee935c280 in LanLinkProvider::broadcastToNetwork() () from /lib64/libkdeconnectcore.so.22
#7  0x00007f9ee7e75e99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f9ee7e7913e in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
Comment 3 abhayraj.jain 2022-12-05 23:45:56 UTC
Created attachment 154349 [details]
New crash information added by DrKonqi

kdeconnectd (22.04.1) using Qt 5.15.3

- What I was doing when the application crashed:
Occured when booting into the live CD (as well as the resulting installation) on a Ryzen 5600G based build.
Also occured when running in a virtual machine on an Intel 11th gen laptop.
Happens every time at login, also occured on Rocky 9.0.

-- Backtrace (Reduced):
#4  0x00007f195b7b5526 in KdeConnectConfig::deviceId() () from /lib64/libkdeconnectcore.so.22
#5  0x00007f195b7ba247 in NetworkPacket::createIdentityPacket(NetworkPacket*) () from /lib64/libkdeconnectcore.so.22
#6  0x00007f195b7a6280 in LanLinkProvider::broadcastToNetwork() () from /lib64/libkdeconnectcore.so.22
#7  0x00007f195a2bfe99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f195a2c313e in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
Comment 4 randy 2023-02-17 15:09:26 UTC
Created attachment 156376 [details]
New crash information added by DrKonqi

kdeconnectd (22.04.1) using Qt 5.15.3

- What I was doing when the application crashed:
The application crashes on system startup.

-- Backtrace (Reduced):
#4  0x00007f34161e0526 in KdeConnectConfig::deviceId() () from /lib64/libkdeconnectcore.so.22
#5  0x00007f34161e5247 in NetworkPacket::createIdentityPacket(NetworkPacket*) () from /lib64/libkdeconnectcore.so.22
#6  0x00007f34161d1280 in LanLinkProvider::broadcastToNetwork() () from /lib64/libkdeconnectcore.so.22
#7  0x00007f3414ceae99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f3414cee13e in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
Comment 5 Harold Rice 2023-02-21 17:56:48 UTC
Created attachment 156574 [details]
New crash information added by DrKonqi

kdeconnectd (22.04.1) using Qt 5.15.3

- What I was doing when the application crashed:
Crash occured at user login and occurs at each attempt of starting kconnect-settings

-- Backtrace (Reduced):
#4  0x00007f83b7635526 in KdeConnectConfig::deviceId() () from /lib64/libkdeconnectcore.so.22
#5  0x00007f83b763a247 in NetworkPacket::createIdentityPacket(NetworkPacket*) () from /lib64/libkdeconnectcore.so.22
#6  0x00007f83b7626280 in LanLinkProvider::broadcastToNetwork() () from /lib64/libkdeconnectcore.so.22
#7  0x00007f83b613fe99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f83b614313e in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
Comment 6 bastien 2023-08-20 22:37:08 UTC
Created attachment 161084 [details]
New crash information added by DrKonqi

kdeconnectd (22.12.3) using Qt 5.15.3

Bug boot application

-- Backtrace (Reduced):
#4  0x00007fbd178157e6 in KdeConnectConfig::deviceId() () from /lib64/libkdeconnectcore.so.22
#5  0x00007fbd1781a2c7 in NetworkPacket::createIdentityPacket(NetworkPacket*) () from /lib64/libkdeconnectcore.so.22
#6  0x00007fbd178064d0 in LanLinkProvider::broadcastToNetwork() () from /lib64/libkdeconnectcore.so.22
#7  0x00007fbd15edae99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007fbd15ede13e in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
Comment 7 Albert Vaca Cintora 2023-08-22 10:29:44 UTC
Does removing the configuration (from ~/.config/kdeconnect) fix this for you?
Comment 8 Ken Roberts 2023-08-23 03:13:58 UTC
Comment on attachment 154235 [details]
New crash information added by DrKonqi

I no longer run Rocky Linux. Cannot verify any fixes.
Comment 9 Karl Essinger 2023-10-20 15:16:01 UTC
(In reply to Albert Vaca from comment #7)
> Does removing the configuration (from ~/.config/kdeconnect) fix this for you?

This is still an issue on Rocky Linux 9.2, both in Wayland and X11. Both on several hardware systems and ones virtualized through VMware. Removing the config as suggested did not solve the issue.
Comment 10 cwo 2024-07-31 08:02:50 UTC

*** This bug has been marked as a duplicate of bug 453875 ***