Bug 478843

Summary: KDEConnect KCM crashe in KdeConnectConfig::generateCertificate when trying to run commands
Product: [Applications] systemsettings Reporter: sunny_stq
Component: kcm_kdeconnectAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: albertvaka, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.27.8   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description sunny_stq 2023-12-21 16:22:51 UTC
Application: systemsettings (5.27.8)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.0-14-generic x86_64
Windowing System: Wayland
Distribution: Ubuntu 23.10
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
KDEConnect will consistently crash upon logging in for the first time. When I go to the KDEConnect tab in the settings menu, and go to the edit section for 'run commands', this crashes the window/kde connect. I have tried fully uninstalling and re-installing using the following steps, to no avail:

sudo apt-get purge kdeconnect
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get update
sudo apt-get install kdeconnect

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f7bc031a079 in KdeConnectConfig::generateCertificate(QString const&) () from /lib/x86_64-linux-gnu/libkdeconnectcore.so.23
#5  0x00007f7bc031a480 in KdeConnectConfig::loadCertificate() () from /lib/x86_64-linux-gnu/libkdeconnectcore.so.23
#6  0x00007f7bc031a867 in KdeConnectConfig::KdeConnectConfig() () from /lib/x86_64-linux-gnu/libkdeconnectcore.so.23
#7  0x00007f7bc031aa0d in KdeConnectConfig::instance() () from /lib/x86_64-linux-gnu/libkdeconnectcore.so.23
#8  0x00007f7bc030eb6d in KdeConnectPluginConfig::KdeConnectPluginConfig(QString const&, QString const&) () from /lib/x86_64-linux-gnu/libkdeconnectcore.so.23
#9  0x00007f7bc81174cc in KdeConnectPluginKcm::KdeConnectPluginKcm(QWidget*, QList<QVariant> const&, QString const&) () from /lib/x86_64-linux-gnu/libkdeconnectpluginkcm.so.23
#10 0x00007f7be0037838 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kdeconnect/kcms/kdeconnect_runcommand_config.so
#11 0x00007f7be003863f in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kdeconnect/kcms/kdeconnect_runcommand_config.so
#12 0x00007f7beabb1ca3 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#13 0x00007f7beb35fe13 in KCModuleLoader::loadModule(KPluginMetaData const&, QWidget*, QList<QVariant> const&) () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#14 0x00007f7beb362c9d in ?? () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#15 0x00007f7beb3632d8 in KCModuleProxy::realModule() const () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#16 0x00007f7beb37809c in ?? () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#17 0x00007f7beb37887e in ?? () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#18 0x00007f7bea706312 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f7beb65fb96 in QAbstractButton::clicked(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f7beb65fe0e in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f7beb6619eb in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f7beb661c0b in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f7beb5aeb28 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f7beb56bc82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f7beb5741bd in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f7bea6cc7a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f7beb5724b2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f7beb5c7da1 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f7beb5cb12f in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f7beb56bc82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f7bea6cc7a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f7bead43bdb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#33 0x00007f7bead1762c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#34 0x00007f7be8764b74 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#35 0x00007f7be8f13b2c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f7be8f6f46f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f7be8f11d20 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f7bea727daa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007f7bea6cb15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f7bea6d3904 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x000055e834726560 in ?? ()
#42 0x00007f7be9c280d0 in __libc_start_call_main (main=main@entry=0x55e834725a50, argc=argc@entry=1, argv=argv@entry=0x7ffd36ff1df8) at ../sysdeps/nptl/libc_start_call_main.h:58
#43 0x00007f7be9c28189 in __libc_start_main_impl (main=0x55e834725a50, argc=1, argv=0x7ffd36ff1df8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd36ff1de8) at ../csu/libc-start.c:360
#44 0x000055e834726eb5 in ?? ()
[Inferior 1 (process 12171) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2025-10-09 16:49:12 UTC
Hello from KDE's bug team! The KDE Connect page in System Settings was recently removed, in favor of a new standalone app used to configure KDE Connect. As such, this Bugzilla ticket is no longer relevant due to the software it's about no longer existing. Please open new bug reports for the desktop ap at https://bugs.kde.org/enter_bug.cgi?product=kdeconnect&component=desktop-application.

Thanks!