Bug 451414 - KDE Connect crashes when connected to another PC using GNOME and GSConnect
Summary: KDE Connect crashes when connected to another PC using GNOME and GSConnect
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-03-12 00:28 UTC by Phil Dudley
Modified: 2023-07-31 08:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (2.72 KB, text/plain)
2023-07-31 08:48 UTC, Mohammad K.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Dudley 2022-03-12 00:28:22 UTC
Application: kdeconnectd (21.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.16.12-200.fc35.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 35 (KDE Plasma)
DrKonqi: 5.24.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:

I just paired KDE Connect on Fedora 35 KDE with Pop!_OS using GNOME and GSConnect. Upon pairing, I was able to Ping, but then the Fedora side would crash and the apps wouldn't reconnect unless I unpair the two and restart both devices.

- Custom settings of the application:

I used the kdeconnect-chrome-extension application to make Firefox Extension for KDE work on Fedora. 

https://github.com/pdf/kdeconnect-chrome-extension

This worked for a bit, then attepted to send a URL to my Phone and PC, but then KDE Conenct crashed.



- Fedora Information

➜  neofetch 
             .',;::::;,'.                filbot@fedora 
         .';:cccccccccccc:;,.            ------------- 
      .;cccccccccccccccccccccc;.         OS: Fedora Linux 35 (KDE Plasma) x86_64 
    .:cccccccccccccccccccccccccc:.       Kernel: 5.16.12-200.fc35.x86_64 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Uptime: 42 mins 
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Packages: 2884 (rpm), 91 (flatpak) 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Shell: zsh 5.8.1 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Resolution: 1920x1080, 1920x1080 
:cccccccccccccc;MMM.;cccccccccccccccc:   DE: Plasma 5.24.2 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   WM: KWin 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   Theme: Breeze Dark [Plasma], Adwaita [GTK2] 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   Icons: [Plasma], breeze-dark [GTK2/3] 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Terminal: konsole 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Terminal Font: SauceCodePro Nerd Font 10 
cccccc;dNMWXXXWM0::cccccccccccccc:,      CPU: AMD Ryzen 7 3800X (16) @ 3.900GHz 
cccccccc;.:odl:.;cccccccccccccc:,.       GPU: NVIDIA GeForce RTX 2070 SUPER 
:cccccccccccccccccccccccccccc:'.         GPU: NVIDIA GeForce GTX 970 
.:cccccccccccccccccccccc:;,..            Memory: 4549MiB / 32069MiB 
  '::cccccccccccccc::;,.
                          
➜  cat /etc/os-release 
NAME="Fedora Linux"
VERSION="35 (KDE Plasma)"
ID=fedora
VERSION_ID=35
VERSION_CODENAME=""
PLATFORM_ID="platform:f35"
PRETTY_NAME="Fedora Linux 35 (KDE Plasma)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:35"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f35/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=35
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=35
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="KDE Plasma"
VARIANT_ID=kde

➜  rpm -q kde-connect
kde-connect-21.12.2-2.fc35.x86_64

- Pop!_OS Information

~❯ neofetch 
             /////////////                filbot@pop-os 
         /////////////////////            ------------- 
      ///////*767////////////////         OS: Pop!_OS 21.10 x86_64 
    //////7676767676*//////////////       Host: Oryx Pro oryp6 
   /////76767//7676767//////////////      Kernel: 5.16.11-76051611-generic 
  /////767676///*76767///////////////     Uptime: 43 mins 
 ///////767676///76767.///7676*///////    Packages: 2864 (dpkg), 98 (flatpak) 
/////////767676//76767///767676////////   Shell: zsh 5.8 
//////////76767676767////76767/////////   Resolution: 1920x1080 
///////////76767676//////7676//////////   Terminal: /dev/pts/1 
////////////,7676,///////767///////////   CPU: Intel i7-10875H (16) @ 5.100GHz 
/////////////*7676///////76////////////   GPU: Intel CometLake-H GT2 [UHD Graphics] 
///////////////7676////////////////////   GPU: NVIDIA GeForce RTX 2060 Mobile 
 ///////////////7676///767////////////    Memory: 1649MiB / 31976MiB 
  //////////////////////'////////////
   //////.7676767676767676767,//////                              
    /////767676767676767676767/////                               
      ///////////////////////////
         /////////////////////
             /////////////

~❯ cat /etc/os-release
NAME="Pop!_OS"
VERSION="21.10"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.10"
VERSION_ID="21.10"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=impish
UBUNTU_CODENAME=impish
LOGO=distributor-logo-pop-os

~❯ ps aux | grep -v grep | grep -i connect
filbot      3538  0.1  0.2 3629052 84108 ?       SNl  17:40   0:04 gjs /home/filbot/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/service/daemon.js
filbot      4615  0.3  0.3 3441076 101180 ?      S<l  17:40   0:10 gjs /home/filbot/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/gsconnect-preferences

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007f2c1e3fb4b4 in Device::name() const () from /lib64/libkdeconnectcore.so.21
#5  0x00007f2c1e3f0ada in CompositeUploadJob::emitDescription(QString const&) () from /lib64/libkdeconnectcore.so.21
#6  0x00007f2c1e3f36dc in CompositeUploadJob::addSubjob(KJob*) () from /lib64/libkdeconnectcore.so.21
#7  0x00007f2c1e3f5e33 in LanDeviceLink::sendPacket(NetworkPacket&) () from /lib64/libkdeconnectcore.so.21
#8  0x00007f2c1e400125 in Device::sendPacket(NetworkPacket&) () from /lib64/libkdeconnectcore.so.21
#9  0x00007f2c02e75b49 in MprisControlPlugin::receivePacket(NetworkPacket const&) [clone .part.0] () from /usr/lib64/qt5/plugins/kdeconnect/kdeconnect_mpriscontrol.so
#10 0x00007f2c1e403771 in Device::privateReceivedPacket(NetworkPacket const&) () from /lib64/libkdeconnectcore.so.21
#11 0x00007f2c1cf233e9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#12 0x00007f2c1e3f4361 in LanDeviceLink::dataReceived() () from /lib64/libkdeconnectcore.so.21
#13 0x00007f2c1cf233e9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#14 0x00007f2c1e3ec7b4 in SocketLineReader::dataReceived() () from /lib64/libkdeconnectcore.so.21
#15 0x00007f2c1cf233e9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#16 0x00007f2c1c692085 in QSslSocketBackendPrivate::transmit() () from /lib64/libQt5Network.so.5
#17 0x00007f2c1cf23430 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#18 0x00007f2c1c64be2f in QAbstractSocketPrivate::canReadNotification() () from /lib64/libQt5Network.so.5
#19 0x00007f2c1c65ef59 in QReadNotifier::event(QEvent*) () from /lib64/libQt5Network.so.5
#20 0x00007f2c1da5b443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#21 0x00007f2c1ceef7d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#22 0x00007f2c1cf4163f in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#23 0x00007f2c1b38405f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#24 0x00007f2c1b3d92a8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#25 0x00007f2c1b381853 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#26 0x00007f2c1cf40c2e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007f2c1ceee1e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#28 0x00007f2c1cef6724 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#29 0x000055b6975ecfae in main ()
[Inferior 1 (process 14345) detached]

Possible duplicates by query: bug 448005, bug 414894.

Reported using DrKonqi
Comment 1 Mohammad K. 2023-07-31 08:48:06 UTC
Created attachment 160640 [details]
New crash information added by DrKonqi

kdeconnectd (23.04.3) using Qt 5.15.10

When I tried to connect my PC (with KDE Plasma) to another pc (with Gnome GsConnect), It  crashed on my device

-- Backtrace (Reduced):
#4  0x00007f49f5233bb4 in Device::name() const () at /usr/lib/libkdeconnectcore.so.23
#5  0x00007f49f5229384 in CompositeUploadJob::emitDescription(QString const&) () at /usr/lib/libkdeconnectcore.so.23
#6  0x00007f49f522c120 in CompositeUploadJob::addSubjob(KJob*) () at /usr/lib/libkdeconnectcore.so.23
#7  0x00007f49f522e57a in LanDeviceLink::sendPacket(NetworkPacket&) () at /usr/lib/libkdeconnectcore.so.23
#8  0x00007f49f5238955 in Device::sendPacket(NetworkPacket&) () at /usr/lib/libkdeconnectcore.so.23