https://bugs.kde.org/show_bug.cgi?id=438922

            Bug ID: 438922
           Summary: KDE-Connect crashes with segfault after update
           Product: kdeconnect
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: tbp...@gmx.de
  Target Milestone: ---

Application: kdeconnectd (21.04.2)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.12.10-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.0
Distribution: openSUSE Tumbleweed

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

I updated my system via zypper dup and rebooted. 
After logging in and KDE starting normally, an error notification showed up
telling me that KDEconnect is not able to write the private key to
~/.config/kdeconnect/privatekey.pem.
I rebootet the system again, since then KDEconnect simply crashes every time I
try to start it.

I backed up and changed the name of ~/.config/kdeconnect/ to force KDEconnect
to create a new configuration but this did not change the behaviour.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007fb7cf2881eb in QCA::Certificate::Certificate(QCA::CertificateOptions
const&, QCA::PrivateKey const&, QString const&) () from /lib64/libqca-qt5.so.2
#5  0x00007fb7d0f85681 in KdeConnectConfig::generateCertificate
(this=this@entry=0x7fb7d0fa3df0 <KdeConnectConfig::instance()::kcc>,
certPath=...) at
/usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/core/kdeconnectconfig.cpp:347
#6  0x00007fb7d0f85bfc in KdeConnectConfig::loadCertificate
(this=this@entry=0x7fb7d0fa3df0 <KdeConnectConfig::instance()::kcc>) at
/usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/core/kdeconnectconfig.cpp:287
#7  0x00007fb7d0f8601c 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
#8  0x00007fb7d0f861d5 in KdeConnectConfig::instance () at
/usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/core/kdeconnectconfig.cpp:65
#9  KdeConnectConfig::instance () at
/usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/core/kdeconnectconfig.cpp:65
#10 0x00007fb7d0f892b2 in Daemon::init (this=0x7ffd1a3d9f00) at
/usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/core/daemon.cpp:89
#11 0x00007fb7cfa0b09e in QObject::event (this=0x7ffd1a3d9f00,
e=0x5610c1e38320) at kernel/qobject.cpp:1314
#12 0x00007fb7d062ea5f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x7ffd1a3d9f00, e=0x5610c1e38320) at
kernel/qapplication.cpp:3632
#13 0x00007fb7cf9deaaa in QCoreApplication::notifyInternal2
(receiver=0x7ffd1a3d9f00, event=0x5610c1e38320) at
kernel/qcoreapplication.cpp:1063
#14 0x00007fb7cf9e1af7 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x5610c1d2c380) at
kernel/qcoreapplication.cpp:1817
#15 0x00007fb7cfa36a73 in postEventSourceDispatch (s=s@entry=0x5610c1e04690) at
kernel/qeventdispatcher_glib.cpp:277
#16 0x00007fb7cdf8280f in g_main_dispatch (context=0x7fb7c4005000) at
../glib/gmain.c:3337
#17 g_main_context_dispatch (context=0x7fb7c4005000) at ../glib/gmain.c:4055
#18 0x00007fb7cdf82b98 in g_main_context_iterate
(context=context@entry=0x7fb7c4005000, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#19 0x00007fb7cdf82c4f in g_main_context_iteration (context=0x7fb7c4005000,
may_block=1) at ../glib/gmain.c:4196
#20 0x00007fb7cfa360f4 in QEventDispatcherGlib::processEvents
(this=0x5610c1e07cd0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0x00007fb7cf9dd4bb in QEventLoop::exec (this=this@entry=0x7ffd1a3d9df0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#22 0x00007fb7cf9e5790 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#23 0x00007fb7cfe3c1fc in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1867
#24 0x00007fb7d062e9d5 in QApplication::exec () at kernel/qapplication.cpp:2824
#25 0x00005610c1158a47 in main (argc=<optimized out>, argv=0x7ffd1a3d9ea0) at
/usr/src/debug/kdeconnect-kde-21.04.2-1.1.x86_64/daemon/kdeconnectd.cpp:174
[Inferior 1 (process 1647) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to