Bug 452002 - KDE Connect reports an error when logging into the system.
Summary: KDE Connect reports an error when logging into the system.
Status: RESOLVED DUPLICATE of bug 449276
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-03-28 15:34 UTC by bialyikar
Modified: 2022-07-01 10:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.82 KB, text/plain)
2022-07-01 10:09 UTC, ironman466
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bialyikar 2022-03-28 15:34:26 UTC
Application: kdeconnectd (21.12.3)

Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.13.0-37-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.24
DrKonqi: 5.24.3 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I started my computer and logged into my user account.
Almost every time I start my computer and log into my account, KDE Connect reports an error. Subsequent attempts to connect to the phone are now successful. Until the computer restarts again. The fault does not happen all the time, but very often.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Usługa KDE Connect (kdeconnectd), signal: Segmentation fault

[New LWP 9038]
[New LWP 9057]
[New LWP 9082]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f71fb78a9cf in __GI___poll (fds=0x7ffd6b61c0f8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f71f79c72c0 (LWP 9015))]

Thread 4 (Thread 0x7f71f4983700 (LWP 9082)):
#0  __GI___libc_read (nbytes=16, buf=0x7f71f49829d0, fd=10) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=10, buf=0x7f71f49829d0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f71fa139b2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f71fa0f0ebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f71fa0f1312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f71fa0f14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f71fbd5d65b in QEventDispatcherGlib::processEvents (this=0x7f71e4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f71fbd0187b in QEventLoop::exec (this=this@entry=0x7f71f4982be0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f71fbb1b442 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f71fbb1c623 in QThreadPrivate::start (arg=0x55c4de5ce6b0) at thread/qthread_unix.cpp:331
#10 0x00007f71fab0c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f71fb797163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f71f5184700 (LWP 9057)):
#0  0x00007f71fb78a9cf in __GI___poll (fds=0x7f71e8073480, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f71fa0f136e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f71fa0f14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f71fbd5d65b in QEventDispatcherGlib::processEvents (this=0x7f71e8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f71fbd0187b in QEventLoop::exec (this=this@entry=0x7f71f5183bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f71fbb1b442 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f71fc68ef4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f71fbb1c623 in QThreadPrivate::start (arg=0x7f71fc712d80) at thread/qthread_unix.cpp:331
#8  0x00007f71fab0c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f71fb797163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f71f6bdd700 (LWP 9038)):
#0  0x00007f71fb78a9cf in __GI___poll (fds=0x7f71f6bdcae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f71f9deac1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f71f9dec90a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f71f731b1a8 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f71fbb1c623 in QThreadPrivate::start (arg=0x55c4de4e3670) at thread/qthread_unix.cpp:331
#5  0x00007f71fab0c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f71fb797163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f71f79c72c0 (LWP 9015)):
[KCrash Handler]
#4  0x00007f71fbd4ca44 in (anonymous namespace)::constData (d=...) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/kernel/qmetatype_p.h:64
#5  qVariantToHelper<QMap<QString, QVariant> > (handlerManager=..., d=...) at kernel/qvariant.cpp:2669
#6  QVariant::toMap (this=0x55c4de9314f8) at kernel/qvariant.cpp:2721
#7  0x00007f71eeffe681 in ConnectivityReportPlugin::receivePacket (this=0x55c4de73df20, np=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:424
#8  0x00007f71fd3305e0 in Device::privateReceivedPacket (this=<optimized out>, np=...) at ./core/device.cpp:398
#9  0x00007f71fbd39dfe in QtPrivate::QSlotObjectBase::call (a=0x7ffd6b61cf60, r=0x55c4de6ee9c0, this=0x55c4de73ac30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x55c4de73a670, signal_index=7, argv=0x7ffd6b61cf60) at kernel/qobject.cpp:3886
#11 0x00007f71fbd331c7 in QMetaObject::activate (sender=sender@entry=0x55c4de73a670, m=m@entry=0x7f71fd34aa40 <DeviceLink::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffd6b61cf60) at kernel/qobject.cpp:3946
#12 0x00007f71fd2e7e19 in DeviceLink::receivedPacket (this=this@entry=0x55c4de73a670, _t1=...) at ./obj-x86_64-linux-gnu/core/kdeconnectcore_autogen/CSWKE6ESUK/moc_devicelink.cpp:225
#13 0x00007f71fd300e8a in LanDeviceLink::dataReceived (this=0x55c4de73a670) at ./core/backends/lan/landevicelink.cpp:135
#14 0x00007f71fbd39dfe in QtPrivate::QSlotObjectBase::call (a=0x7ffd6b61d110, r=0x55c4de73a670, this=0x55c4de73a6f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x55c4de725be0, signal_index=3, argv=0x7ffd6b61d110) at kernel/qobject.cpp:3886
#16 0x00007f71fbd331c7 in QMetaObject::activate (sender=sender@entry=0x55c4de725be0, m=m@entry=0x7f71fd34a900 <SocketLineReader::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#17 0x00007f71fd2e7934 in SocketLineReader::readyRead (this=this@entry=0x55c4de725be0) at ./obj-x86_64-linux-gnu/core/kdeconnectcore_autogen/T4CFMAPE73/moc_socketlinereader.cpp:139
#18 0x00007f71fd30b084 in SocketLineReader::dataReceived (this=0x55c4de725be0) at ./core/backends/lan/socketlinereader.cpp:29
#19 0x00007f71fbd39dfe in QtPrivate::QSlotObjectBase::call (a=0x7ffd6b61d220, r=0x55c4de725be0, this=0x55c4de722d40) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false> (sender=0x55c4de715080, signal_index=3, argv=0x7ffd6b61d220) at kernel/qobject.cpp:3886
#21 0x00007f71fbd331c7 in QMetaObject::activate (sender=sender@entry=0x55c4de715080, m=m@entry=0x7f71fbf9b300 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#22 0x00007f71fbc333a4 in QIODevice::readyRead (this=this@entry=0x55c4de715080) at .moc/moc_qiodevice.cpp:190
#23 0x00007f71fb4f692f in QSslSocketBackendPrivate::transmit (this=0x55c4de692c20) at ssl/qsslsocket_openssl.cpp:1161
#24 0x00007f71fb4c8fc0 in QSslSocket::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ssl/qsslsocket.h:227
#25 0x00007f71fbd39e30 in doActivate<false> (sender=0x55c4de69b490, signal_index=3, argv=0x7ffd6b61e3e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#26 0x00007f71fbd331c7 in QMetaObject::activate (sender=sender@entry=0x55c4de69b490, m=m@entry=0x7f71fbf9b300 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#27 0x00007f71fbc333a4 in QIODevice::readyRead (this=this@entry=0x55c4de69b490) at .moc/moc_qiodevice.cpp:190
#28 0x00007f71fb48cb94 in QAbstractSocketPrivate::emitReadyRead (this=this@entry=0x55c4de6a9fd0, channel=channel@entry=0) at socket/qabstractsocket.cpp:1323
#29 0x00007f71fb48cc29 in QAbstractSocketPrivate::canReadNotification (this=0x55c4de6a9fd0) at socket/qabstractsocket.cpp:748
#30 0x00007f71fb49ef39 in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1274
#31 0x00007f71fc881dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55c4de4e1de0, receiver=receiver@entry=0x55c4de714fd0, e=e@entry=0x7ffd6b61e6f0) at kernel/qapplication.cpp:3637
#32 0x00007f71fc88abd8 in QApplication::notify (this=0x7ffd6b61e9c0, receiver=0x55c4de714fd0, e=0x7ffd6b61e6f0) at kernel/qapplication.cpp:3161
#33 0x00007f71fbd02d7a in QCoreApplication::notifyInternal2 (receiver=0x55c4de714fd0, event=0x7ffd6b61e6f0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#34 0x00007f71fbd5e245 in socketNotifierSourceDispatch (source=0x55c4de5997a0) at kernel/qeventdispatcher_glib.cpp:107
#35 0x00007f71fa0f117d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f71fa0f1400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f71fa0f14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f71fbd5d65b in QEventDispatcherGlib::processEvents (this=0x55c4de598eb0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#39 0x00007f71fbd0187b in QEventLoop::exec (this=this@entry=0x7ffd6b61e900, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#40 0x00007f71fbd09a24 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#41 0x000055c4dd7d3f87 in main (argc=<optimized out>, argv=<optimized out>) at ./daemon/kdeconnectd.cpp:178
[Inferior 1 (process 9015) detached]

Possible duplicates by query: bug 451937, bug 451414, bug 451190, bug 450907, bug 450135.

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-03-28 22:24:52 UTC

*** This bug has been marked as a duplicate of bug 449276 ***
Comment 2 ironman466 2022-07-01 10:09:04 UTC
Created attachment 150319 [details]
New crash information added by DrKonqi

kdeconnectd (21.12.3) using Qt 5.15.3

KDE Connect crashes on startup, not always, but very often. Although restarting KDE Connect afterward works fine

-- Backtrace (Reduced):
#4  0x00007f4386708d34 in (anonymous namespace)::constData (d=...) at kernel/qvariant.cpp:361
#5  qVariantToHelper<QMap<QString, QVariant> > (handlerManager=<optimized out>, d=<optimized out>) at kernel/qvariant.cpp:2669
#6  QVariant::toMap() const (this=0x5612ec6d54f8) at kernel/qvariant.cpp:2721
#7  0x00007f437857f7a8 in ConnectivityReportPlugin::receivePacket(NetworkPacket const&) (np=<optimized out>, this=<optimized out>) at ./plugins/connectivity-report/connectivity_reportplugin.cpp:44
#8  ConnectivityReportPlugin::receivePacket(NetworkPacket const&) (this=<optimized out>, np=<optimized out>) at ./plugins/connectivity-report/connectivity_reportplugin.cpp:40