Bug 449638 - KDE Connect crashes when discovering paired device
Summary: KDE Connect crashes when discovering paired device
Status: RESOLVED DUPLICATE of bug 449529
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-02-05 04:55 UTC by Maxx
Modified: 2022-02-05 16:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxx 2022-02-05 04:55:37 UTC
Application: kdeconnectd (21.12.1)

Qt Version: 5.15.3
Frameworks Version: 5.90.0
Operating System: Linux 5.13.0-28-generic x86_64
Windowing System: X11
Distribution: KDE neon User - Plasma 25th Anniversary Edition
DrKonqi: 5.23.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Simply waking a mobile device that is paired (which presumably wakes KDE Connect on the device) crashes kdeconnectd. I do get the occasional crash on startup but this happens more often. This usually occurs regardless of what applications are running, but the crash happens almost immediately after waking a paired device. Doesn't happen every time, but has happened enough to be notable. I am on KDE Neon, but this sometimes happens on stock Ubuntu as well.

The crash can be reproduced sometimes.

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

[New LWP 6028]
[New LWP 6029]
[New LWP 6030]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fc85e64eaff in __GI___poll (fds=0x7ffde49594b8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7fc85a8992c0 (LWP 6027))]

Thread 4 (Thread 0x7fc8521af700 (LWP 6030)):
#0  0x00007fc85e64eaff in __GI___poll (fds=0x7fc844004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc85cfc236e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc85cfc24a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc85ec1ea0b in QEventDispatcherGlib::processEvents (this=0x7fc844000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fc85ebc2c9b in QEventLoop::exec (this=this@entry=0x7fc8521aebe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fc85e9dc362 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fc85e9dd543 in QThreadPrivate::start (arg=0x5593b8e30180) at thread/qthread_unix.cpp:331
#7  0x00007fc85d9e4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fc85e65b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fc8533c0700 (LWP 6029)):
#0  0x00007fc85e64eaff in __GI___poll (fds=0x7fc84c0140b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc85cfc236e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc85cfc24a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc85ec1ea0b in QEventDispatcherGlib::processEvents (this=0x7fc84c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fc85ebc2c9b in QEventLoop::exec (this=this@entry=0x7fc8533bfbb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fc85e9dc362 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fc85f54af4b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fc85e9dd543 in QThreadPrivate::start (arg=0x7fc85f5ced80) at thread/qthread_unix.cpp:331
#8  0x00007fc85d9e4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fc85e65b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fc859a9f700 (LWP 6028)):
#0  0x00007fc85e64eaff in __GI___poll (fds=0x7fc859a9eae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc85ccbbc1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fc85ccbd90a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fc85a1dcf98 in QXcbEventQueue::run (this=0x5593b8a94600) at qxcbeventqueue.cpp:228
#4  0x00007fc85e9dd543 in QThreadPrivate::start (arg=0x5593b8a94600) at thread/qthread_unix.cpp:331
#5  0x00007fc85d9e4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fc85e65b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fc85a8992c0 (LWP 6027)):
[KCrash Handler]
#4  0x00007fc85ec0ddf4 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=0x5593b921ba88) at kernel/qvariant.cpp:2721
#7  0x00007fc851472681 in ConnectivityReportPlugin::receivePacket (this=0x5593b920c630, np=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:424
#8  0x00007fc8601e55e0 in Device::privateReceivedPacket (this=<optimized out>, np=...) at ./core/device.cpp:398
#9  0x00007fc85ebfb1be in QtPrivate::QSlotObjectBase::call (a=0x7ffde495a320, r=0x5593b8e90650, this=0x5593b9233c90) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x5593b8f88090, signal_index=7, argv=0x7ffde495a320) at kernel/qobject.cpp:3886
#11 0x00007fc85ebf4587 in QMetaObject::activate (sender=sender@entry=0x5593b8f88090, m=m@entry=0x7fc8601ffa40 <DeviceLink::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffde495a320) at kernel/qobject.cpp:3946
#12 0x00007fc86019ce19 in DeviceLink::receivedPacket (this=this@entry=0x5593b8f88090, _t1=...) at ./obj-x86_64-linux-gnu/core/kdeconnectcore_autogen/CSWKE6ESUK/moc_devicelink.cpp:225
#13 0x00007fc8601b5e8a in LanDeviceLink::dataReceived (this=0x5593b8f88090) at ./core/backends/lan/landevicelink.cpp:135
#14 0x00007fc85ebfb1be in QtPrivate::QSlotObjectBase::call (a=0x7ffde495a4d0, r=0x5593b8f88090, this=0x5593b922d0c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x5593b8fbced0, signal_index=3, argv=0x7ffde495a4d0) at kernel/qobject.cpp:3886
#16 0x00007fc85ebf4587 in QMetaObject::activate (sender=sender@entry=0x5593b8fbced0, m=m@entry=0x7fc8601ff900 <SocketLineReader::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#17 0x00007fc86019c934 in SocketLineReader::readyRead (this=this@entry=0x5593b8fbced0) at ./obj-x86_64-linux-gnu/core/kdeconnectcore_autogen/T4CFMAPE73/moc_socketlinereader.cpp:139
#18 0x00007fc8601c0084 in SocketLineReader::dataReceived (this=0x5593b8fbced0) at ./core/backends/lan/socketlinereader.cpp:29
#19 0x00007fc85ebfb1be in QtPrivate::QSlotObjectBase::call (a=0x7ffde495a5e0, r=0x5593b8fbced0, this=0x5593b8fabf00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false> (sender=0x5593b91ddd70, signal_index=3, argv=0x7ffde495a5e0) at kernel/qobject.cpp:3886
#21 0x00007fc85ebf4587 in QMetaObject::activate (sender=sender@entry=0x5593b91ddd70, m=m@entry=0x7fc85ee5d300 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#22 0x00007fc85eaf4634 in QIODevice::readyRead (this=this@entry=0x5593b91ddd70) at .moc/moc_qiodevice.cpp:190
#23 0x00007fc85e3b791f in QSslSocketBackendPrivate::transmit (this=0x5593b909eea0) at ssl/qsslsocket_openssl.cpp:1161
#24 0x00007fc85e389fb0 in QSslSocket::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ssl/qsslsocket.h:227
#25 0x00007fc85ebfb1f0 in doActivate<false> (sender=0x5593b901e470, signal_index=3, argv=0x7ffde495b7a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#26 0x00007fc85ebf4587 in QMetaObject::activate (sender=sender@entry=0x5593b901e470, m=m@entry=0x7fc85ee5d300 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#27 0x00007fc85eaf4634 in QIODevice::readyRead (this=this@entry=0x5593b901e470) at .moc/moc_qiodevice.cpp:190
#28 0x00007fc85e34dba4 in QAbstractSocketPrivate::emitReadyRead (this=this@entry=0x5593b8fbb440, channel=channel@entry=0) at socket/qabstractsocket.cpp:1323
#29 0x00007fc85e34dc39 in QAbstractSocketPrivate::canReadNotification (this=0x5593b8fbb440) at socket/qabstractsocket.cpp:748
#30 0x00007fc85e35ff49 in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1274
#31 0x00007fc85f73ddc3 in QApplicationPrivate::notify_helper (this=this@entry=0x5593b8a92dd0, receiver=receiver@entry=0x5593b8faf110, e=e@entry=0x7ffde495bab0) at kernel/qapplication.cpp:3632
#32 0x00007fc85f746bb8 in QApplication::notify (this=0x7ffde495bd80, receiver=0x5593b8faf110, e=0x7ffde495bab0) at kernel/qapplication.cpp:3156
#33 0x00007fc85ebc419a in QCoreApplication::notifyInternal2 (receiver=0x5593b8faf110, event=0x7ffde495bab0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#34 0x00007fc85ec1f5f5 in socketNotifierSourceDispatch (source=0x5593b8bb2dc0) at kernel/qeventdispatcher_glib.cpp:107
#35 0x00007fc85cfc217d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fc85cfc2400 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fc85cfc24a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fc85ec1ea0b in QEventDispatcherGlib::processEvents (this=0x5593b8bbafd0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#39 0x00007fc85ebc2c9b in QEventLoop::exec (this=this@entry=0x7ffde495bcc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#40 0x00007fc85ebcae44 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#41 0x00005593b7b7ff87 in main (argc=<optimized out>, argv=<optimized out>) at ./daemon/kdeconnectd.cpp:178
[Inferior 1 (process 6027) detached]

The reporter indicates this bug may be a duplicate of or related to bug 438721.

Possible duplicates by query: bug 449534, bug 449529, bug 449276, bug 448005, bug 447060.

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-02-05 16:20:28 UTC

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