Bug 427705

Summary: kdeconnectd crash on SMS send
Product: [Applications] kdeconnect Reporter: Jonathan Sambrook <jonathan>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andrew.lainson, cwo.kde, nicolas.fella, voncloft
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Jonathan Sambrook 2020-10-14 16:18:55 UTC
Application: kdeconnectd (1.4.0)

Qt Version: 5.14.2
Frameworks Version: 5.70.0
Operating System: Linux 5.7.0-2-amd64 x86_64
Distribution: Debian GNU/Linux bullseye/sid

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

I was replying to an SMS. I had click Send and then the crash happend.


- Unusual behavior I noticed:

The KDE Connect SMS app's initial download never completes.

I had successfully sent the original text via  kdeconnect-cli --send-sms

-- Backtrace:
Application: KDE Connect Daemon (kdeconnectd), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa483218640 (LWP 596147))]

Thread 4 (Thread 0x7fa48143e700 (LWP 596150)):
#0  __GI___libc_read (nbytes=16, buf=0x7fa48143db50, fd=10) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=10, buf=0x7fa48143db50, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fa4861bedcf in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa4861728eb in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa486172d75 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa486172eef in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fa487b1e31b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa487ac74db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fa4878ee8de in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fa4878efa01 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fa486b1aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007fa487590eaf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa481c3f700 (LWP 596149)):
#0  0x00007fa4875864bf in __GI___poll (fds=0x7fa4740132a0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa486172dce in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa486172eef in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa487b1e31b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa487ac74db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa4878ee8de in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fa487d6fa27 in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fa4878efa01 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fa486b1aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa487590eaf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa48265f700 (LWP 596148)):
#0  0x00007fa4875864bf in __GI___poll (fds=0x7fa48265ec68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa485e43d02 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa485e4598a in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa482e1fb80 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fa4878efa01 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa486b1aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa487590eaf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa483218640 (LWP 596147)):
[KCrash Handler]
#4  0x00007fa488fc4af6 in KdeConnectPlugin::sendPacket(NetworkPacket&) const () at /lib/x86_64-linux-gnu/libkdeconnectcore.so.1
#5  0x00007fa48005a665 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kdeconnect/kdeconnect_notifications.so
#6  0x00007fa487afd8c6 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa480055db7 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kdeconnect/kdeconnect_notifications.so
#8  0x00007fa48005c84c in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kdeconnect/kdeconnect_notifications.so
#9  0x00007fa487afd8c6 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fa4887dfc78 in QDialogPrivate::finalize(int, int) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fa487afd900 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fa488778728 in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fa487afd900 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fa4886d6762 in QAbstractButton::clicked(bool) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fa4886d70ca in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fa4886d891f in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fa4886d8af1 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fa48862a52e in QWidget::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fa4885ea03f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fa4885ef781 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fa487ac8b62 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fa4885ee696 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fa48864295e in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fa4886457ae in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fa4885ea03f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fa487ac8b62 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fa487f1745b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#28 0x00007fa487eedc0b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#29 0x00007fa482e20b6a in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#30 0x00007fa486172b8b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fa486172e38 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fa486172eef in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fa487b1e2ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fa487ac74db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fa487acf782 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x000055a4b7319966 in  ()
#37 0x00007fa4874b9cca in __libc_start_main (main=0x55a4b7319550, argc=1, argv=0x7ffd43a9ac38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd43a9ac28) at ../csu/libc-start.c:308
#38 0x000055a4b7319bca in _start ()
[Inferior 1 (process 596147) detached]

Possible duplicates by query: bug 427618, bug 427575, bug 427560, bug 427551, bug 427384.

Reported using DrKonqi
Comment 1 Nicolas Fella 2020-10-14 19:24:50 UTC
It would help a lot if you could install kdeconnect-dbgsym and get a new backtrace, otherwise it's hard to tell where it's crashing exactly
Comment 2 voncloft 2020-10-17 23:48:56 UTC
Do you have source code that you can compile this package from?
Comment 3 Andy 2021-01-05 10:50:42 UTC
Created attachment 134569 [details]
New crash information added by DrKonqi

kdeconnectd (1.4.0) using Qt 5.15.2

- What I was doing when the application crashed:

Spent several minutes crafting a 3 sentence reply and on clicking send the daemon crashed. I use signal as my default sms application.

-- Backtrace (Reduced):
#4  0x00007fbd8e6d80ec in KdeConnectPlugin::sendPacket(NetworkPacket&) const () from /lib64/libkdeconnectcore.so.1
#5  0x00007fbd781867a2 in NotificationsDbusInterface::sendReply(QString const&, QString const&) () from /usr/lib64/qt5/plugins/kdeconnect/kdeconnect_notifications.so
#6  0x00007fbd8d2c3386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#7  0x00007fbd7818c9cb in SendReplyDialog::sendButtonClicked() () from /usr/lib64/qt5/plugins/kdeconnect/kdeconnect_notifications.so
#8  0x00007fbd8d2c3386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
Comment 4 cwo 2024-08-01 15:43:00 UTC
Thank you for the bug report! Another bug report that seems to cover the same crash has a more informative stack trace, so I'm marking this 
as a duplicate of that one.

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