Bug 438052 - KDE Connect stopped working
Summary: KDE Connect stopped working
Status: RESOLVED DUPLICATE of bug 438065
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: 2021-06-03 19:08 UTC by Kedar Apte
Modified: 2021-06-04 09:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
segfault dump from my pc (6.48 KB, text/plain)
2021-06-03 23:42 UTC, Mike Simms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kedar Apte 2021-06-03 19:08:47 UTC
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:
I was using KDE connect. I got a message saying there are updates. When I installed the updates, it asked for a restart, installed the updates and since then KD connect is crashing.

The crash can be reproduced every time.

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

[New LWP 1319]
[New LWP 1329]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f5b11915aff in __GI___poll (fds=0x7fff06a26f28, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f5b0dde8d40 (LWP 1277))]

Thread 3 (Thread 0x7f5b06279700 (LWP 1329)):
#0  0x00007f5b11915aff in __GI___poll (fds=0x7f5af8004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5b1040a36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5b1040a4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5b11ee3b3b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5b11e87dcb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5b11ca1bb2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f5b11ca2d4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5b10e2b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f5b11922293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5b0748a700 (LWP 1319)):
#0  __GI___libc_read (nbytes=16, buf=0x7f5b07489aa0, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=0x7f5b07489aa0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f5b10452b2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5b10409ebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5b1040a312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5b1040a4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f5b11ee3b3b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5b11e87dcb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f5b11ca1bb2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f5b1280cf4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007f5b11ca2d4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f5b10e2b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f5b11922293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5b0dde8d40 (LWP 1277)):
[KCrash Handler]
#4  Device::reloadPlugins (this=this@entry=0x560c82628ed0) at ./core/device.cpp:192
#5  0x00007f5b13475990 in Device::pairStatusChanged (this=0x560c82628ed0, status=DeviceLink::Paired) at ./core/device.cpp:249
#6  0x00007f5b11ec02ee in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5b1342baa5 in DeviceLink::pairStatusChanged (this=this@entry=0x560c82629050, _t1=<optimized out>, _t1@entry=DeviceLink::Paired) at ./obj-x86_64-linux-gnu/core/kdeconnectcore_autogen/CSWKE6ESUK/moc_devicelink.cpp:211
#8  0x00007f5b134555f8 in DeviceLink::setPairStatus (this=this@entry=0x560c82629050, status=status@entry=DeviceLink::Paired) at ./core/backends/devicelink.cpp:26
#9  0x00007f5b134457bf in LanDeviceLink::setPairStatus (this=0x560c82629050, status=<optimized out>) at ./core/backends/lan/landevicelink.cpp:164
#10 0x00007f5b1344715d in LanPairingHandler::acceptPairing (this=0x560c8261ab80) at ./core/backends/lan/lanpairinghandler.cpp:83
#11 0x00007f5b134720d2 in Device::acceptPairing (this=<optimized out>) at ./core/device.cpp:345
#12 0x00007f5b11ec02ee in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f5b13260330 in KNotification::activate(unsigned int) () from /lib/x86_64-linux-gnu/libKF5Notifications.so.5
#14 0x00007f5b13268507 in ?? () from /lib/x86_64-linux-gnu/libKF5Notifications.so.5
#15 0x00007f5b11ec02ee in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f5b1325b283 in KNotificationPlugin::actionInvoked(int, int) () from /lib/x86_64-linux-gnu/libKF5Notifications.so.5
#17 0x00007f5b132800a9 in ?? () from /lib/x86_64-linux-gnu/libKF5Notifications.so.5
#18 0x00007f5b11ec02ee in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f5b13294213 in ?? () from /lib/x86_64-linux-gnu/libKF5Notifications.so.5
#20 0x00007f5b13295281 in ?? () from /lib/x86_64-linux-gnu/libKF5Notifications.so.5
#21 0x00007f5b1281955b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#22 0x00007f5b11eb6e69 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f5b129ffdc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f5b12a08bb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f5b11e892ca in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f5b11e8bbd1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f5b11ee44c7 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f5b1040a17d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f5b1040a400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f5b1040a4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f5b11ee3b22 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f5b11e87dcb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f5b11e8ff84 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x0000560c81f12016 in main (argc=<optimized out>, argv=<optimized out>) at ./daemon/kdeconnectd.cpp:174
[Inferior 1 (process 1277) detached]

Reported using DrKonqi
Comment 1 Mike Simms 2021-06-03 23:42:03 UTC
Created attachment 138985 [details]
segfault dump from my pc

Also the same after today's updates applied. Crashes repeatedly when the smartphone is paired, doesn't produce a decent backtrace even with debug symbol packages installed.

Deleting the config stops the crash but as soon as the phone is re-paired it starts crashing again.
Comment 2 Nicolas Fella 2021-06-04 09:28:39 UTC

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