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

            Bug ID: 438065
           Summary: kdeconnectd crashes on connection attempt from another
                    device
           Product: kdeconnect
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: poomk...@yahoo.com
  Target Milestone: ---

Application: kdeconnectd (21.04.1)

Qt Version: 5.15.3
Frameworks Version: 5.82.0
Operating System: Linux 5.4.0-74-generic x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: KDE neon User Edition 5.21

-- Information about the crash:
- What I was doing when the application crashed:
Made the phone app attempt to connect to the computer by pressing "refresh" on
the "add new devices" page. The daemon crashes instantly afterwards.

The crash can be reproduced every time.

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

[New LWP 5905]
[New LWP 5906]
[New LWP 5907]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f8939e2faff in __GI___poll (fds=0x7ffe84430be8, nfds=1, timeout=1000) at
../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f8936302d40 (LWP 5904))]

Thread 4 (Thread 0x7f892e755700 (LWP 5907)):
#0  __libc_enable_asynccancel () at
../sysdeps/unix/sysv/linux/x86_64/cancellation.S:54
#1  0x00007f8939e2fae7 in __GI___poll (fds=0x7f8920004a60, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#2  0x00007f893892436e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f89389244a3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f893a3fdb3b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f893a3a1dcb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f893a1bbbb2 in QThread::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f893a1bcd4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f8939345609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007f8939e3c293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f892f966700 (LWP 5906)):
#0  0x00007f8939e2faff in __GI___poll (fds=0x7f8928013290, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f893892436e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f89389244a3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f893a3fdb3b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f893a3a1dcb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f893a1bbbb2 in QThread::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f893ad26f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f893a1bcd4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f8939345609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007f8939e3c293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f8935501700 (LWP 5905)):
#0  0x00007f8939e2faff in __GI___poll (fds=0x7f8935500be8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8938490c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f893849290a in xcb_wait_for_event () from
/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f8935c43e88 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f893a1bcd4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8939345609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f8939e3c293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f8936302d40 (LWP 5904)):
[KCrash Handler]
#4  Device::reloadPlugins (this=this@entry=0x5568718e4d30) at
./core/device.cpp:192
#5  0x00007f893b990562 in Device::addLink (this=this@entry=0x5568718e4d30,
identityPacket=..., link=<optimized out>, link@entry=0x55687190a8f0) at
./core/device.cpp:302
#6  0x00007f893b983b73 in Daemon::onNewDeviceLink (this=0x7ffe84433a40,
identityPacket=..., dl=0x55687190a8f0) at ./core/daemon.cpp:206
#7  0x00007f893a3da2ee in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f893b945e48 in LinkProvider::onConnectionReceived
(this=this@entry=0x556871858b30, _t1=..., _t2=<optimized out>,
_t2@entry=0x55687190a8f0) at
./obj-x86_64-linux-gnu/core/kdeconnectcore_autogen/CSWKE6ESUK/moc_linkprovider.cpp:169
#9  0x00007f893b955ad8 in LanLinkProvider::addLink
(this=this@entry=0x556871858b30, deviceId=..., socket=<optimized out>,
receivedPacket=receivedPacket@entry=0x556871903c50,
connectionOrigin=connectionOrigin@entry=LanDeviceLink::Remotely) at
./core/backends/lan/lanlinkprovider.cpp:627
#10 0x00007f893b95632f in LanLinkProvider::encrypted (this=0x556871858b30) at
./core/backends/lan/lanlinkprovider.cpp:372
#11 0x00007f893a3da2ee in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f8939b91923 in QSslSocketBackendPrivate::continueHandshake
(this=0x55687191f380) at ssl/qsslsocket_openssl.cpp:1995
#13 0x00007f8939b98100 in QSslSocketBackendPrivate::startHandshake
(this=this@entry=0x55687191f380) at ssl/qsslsocket_openssl.cpp:1440
#14 0x00007f8939b98656 in QSslSocketBackendPrivate::transmit
(this=0x55687191f380) at ssl/qsslsocket_openssl.cpp:1114
#15 0x00007f8939b6acf0 in QSslSocket::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
ssl/qsslsocket.h:227
#16 0x00007f893a3da320 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f8939b2e8e4 in QAbstractSocketPrivate::emitReadyRead
(this=0x556871934a50, channel=0) at socket/qabstractsocket.cpp:1323
#18 0x00007f8939b2e979 in QAbstractSocketPrivate::canReadNotification
(this=0x556871934a50) at socket/qabstractsocket.cpp:748
#19 0x00007f8939b40c89 in QReadNotifier::event (this=<optimized out>,
e=<optimized out>) at socket/qnativesocketengine.cpp:1274
#20 0x00007f893af19dc3 in QApplicationPrivate::notify_helper
(this=this@entry=0x55687174c7b0, receiver=receiver@entry=0x556871908dd0,
e=e@entry=0x7ffe84433720) at kernel/qapplication.cpp:3632
#21 0x00007f893af22bb8 in QApplication::notify (this=0x7ffe84433a00,
receiver=0x556871908dd0, e=0x7ffe84433720) at kernel/qapplication.cpp:3156
#22 0x00007f893a3a32ca in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f893a3fe725 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f893892417d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f8938924400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f89389244a3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f893a3fdb3b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f893a3a1dcb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f893a3a9f84 in QCoreApplication::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x0000556870f09016 in main (argc=<optimized out>, argv=<optimized out>) at
./daemon/kdeconnectd.cpp:174
[Inferior 1 (process 5904) detached]

Reported using DrKonqi

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

Reply via email to