Bug 438876 - KDE Connect Crashes upon startup/system startup
Summary: KDE Connect Crashes upon startup/system startup
Status: RESOLVED DUPLICATE of bug 438844
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-06-18 15:55 UTC by Danny Medina
Modified: 2021-06-19 15:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Medina 2021-06-18 15:55:11 UTC
Application: kdeconnectd (21.04.2)

Qt Version: 5.15.2
Frameworks Version: 5.83.0
Operating System: Linux 5.12.10-1-default x86_64
Windowing System: Wayland
Drkonqi Version: 5.22.0
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
I just rebooted my system and i see that it segfaults. Everytime i log into the system it does it. It happened out of nowhere weather X11 or wayland it doesnt matter, It still happens.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Connect Daemon (kdeconnectd), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fd8c4288d00 (LWP 2508))]
[KCrash Handler]
#6  QCA::Certificate::Certificate (this=<optimized out>, opts=..., key=..., provider=..., this=<optimized out>, opts=..., key=..., provider=...) at /usr/src/debug/qca-qt5-2.3.3-2.1.x86_64/src/qca_cert.cpp:1466
#7  0x00007fd8c812d681 in KdeConnectConfig::generateCertificate (this=this@entry=0x7fd8c814bdf0 <KdeConnectConfig::instance()::kcc>, certPath=...) at /usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/core/kdeconnectconfig.cpp:347
#8  0x00007fd8c812dbfc in KdeConnectConfig::loadCertificate (this=this@entry=0x7fd8c814bdf0 <KdeConnectConfig::instance()::kcc>) at /usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/core/kdeconnectconfig.cpp:287
#9  0x00007fd8c812e01c in KdeConnectConfig::KdeConnectConfig (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/core/kdeconnectconfig.cpp:92
#10 0x00007fd8c812e1d5 in KdeConnectConfig::instance () at /usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/core/kdeconnectconfig.cpp:65
#11 KdeConnectConfig::instance () at /usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/core/kdeconnectconfig.cpp:65
#12 0x00007fd8c81312b2 in Daemon::init (this=0x7ffe30419520) at /usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/core/daemon.cpp:89
#13 0x00007fd8c6bb009e in QObject::event (this=0x7ffe30419520, e=0x55b6500e3ba0) at kernel/qobject.cpp:1314
#14 0x00007fd8c77d3a5f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7ffe30419520, e=0x55b6500e3ba0) at kernel/qapplication.cpp:3632
#15 0x00007fd8c6b83aaa in QCoreApplication::notifyInternal2 (receiver=0x7ffe30419520, event=0x55b6500e3ba0) at kernel/qcoreapplication.cpp:1063
#16 0x00007fd8c6b86af7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55b6500808a0) at kernel/qcoreapplication.cpp:1817
#17 0x00007fd8c6bdba73 in postEventSourceDispatch (s=s@entry=0x55b6500b5a30) at kernel/qeventdispatcher_glib.cpp:277
#18 0x00007fd8c505e80f in g_main_dispatch (context=0x55b6500d4f40) at ../glib/gmain.c:3337
#19 g_main_context_dispatch (context=0x55b6500d4f40) at ../glib/gmain.c:4055
#20 0x00007fd8c505eb98 in g_main_context_iterate (context=context@entry=0x55b6500d4f40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#21 0x00007fd8c505ec4f in g_main_context_iteration (context=0x55b6500d4f40, may_block=1) at ../glib/gmain.c:4196
#22 0x00007fd8c6bdb0f4 in QEventDispatcherGlib::processEvents (this=0x55b6500b99d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007fd8c6b824bb in QEventLoop::exec (this=this@entry=0x7ffe30419410, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#24 0x00007fd8c6b8a790 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x00007fd8c6fe11fc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#26 0x00007fd8c77d39d5 in QApplication::exec () at kernel/qapplication.cpp:2824
#27 0x000055b64ec9fa47 in main (argc=<optimized out>, argv=0x7ffe304194c0) at /usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/daemon/kdeconnectd.cpp:174
[Inferior 1 (process 2508) detached]

Reported using DrKonqi
Comment 1 martin@piwany.com 2021-06-19 15:17:31 UTC
Hello Danny,

I think this might be duplicate. I marked it as such, do not hesitate to change it if you feel like it's not the case.

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