Bug 411217 - kdeconnect crash when replying to Threema message
Summary: kdeconnect crash when replying to Threema message
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (other bugs)
Version First Reported In: 1.3.5
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-08-23 19:29 UTC by weltqgel
Modified: 2020-11-20 08:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description weltqgel 2019-08-23 19:29:40 UTC
Application: kdeconnectd (1.3.5)

Qt Version: 5.12.3
Frameworks Version: 5.61.0
Operating System: Linux 4.15.0-55-generic x86_64
Distribution: KDE neon User Edition 5.16

-- Information about the crash:
- What I was doing when the application crashed:
Replying to a Threema Message via the Popup presented when clicking on a kdeconnect notification.

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

Thread 4 (Thread 0x7ff9a47cc700 (LWP 5577)):
#0  0x00007ff9cdf3e9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5635489b66d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5635489b6688, cond=0x5635489b66b0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5635489b66b0, mutex=0x5635489b6688) at pthread_cond_wait.c:655
#3  0x00007ff9a53af0aa in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff9a53aedd7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff9cdf386db in start_thread (arg=0x7ff9a47cc700) at pthread_create.c:463
#6  0x00007ff9d127e88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff9b91c9700 (LWP 4765)):
#0  0x00007ff9d126d0b4 in __GI___libc_read (fd=9, buf=0x7ff9b91c8b90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007ff9cbde02d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff9cbd9b0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff9cbd9b570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff9cbd9b6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff9d1bb4dcb in QEventDispatcherGlib::processEvents (this=0x7ff9ac000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007ff9d1b5603a in QEventLoop::exec (this=this@entry=0x7ff9b91c8da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007ff9d197d4ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007ff9d197ec72 in QThreadPrivate::start (arg=0x56354884fd10) at thread/qthread_unix.cpp:361
#9  0x00007ff9cdf386db in start_thread (arg=0x7ff9b91c9700) at pthread_create.c:463
#10 0x00007ff9d127e88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff9b99ca700 (LWP 4758)):
#0  0x00007ff9d1271bf9 in __GI___poll (fds=0x7ff9b4004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff9cbd9b5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff9cbd9b6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff9d1bb4dcb in QEventDispatcherGlib::processEvents (this=0x7ff9b4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff9d1b5603a in QEventLoop::exec (this=this@entry=0x7ff9b99c9d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007ff9d197d4ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007ff9d2023015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ff9d197ec72 in QThreadPrivate::start (arg=0x7ff9d229ad80) at thread/qthread_unix.cpp:361
#8  0x00007ff9cdf386db in start_thread (arg=0x7ff9b99ca700) at pthread_create.c:463
#9  0x00007ff9d127e88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff9d43c3800 (LWP 4723)):
[KCrash Handler]
#6  0x00007ff9d3fb64dc in KdeConnectPlugin::sendPacket(NetworkPacket&) const () from /usr/lib/x86_64-linux-gnu/libkdeconnectcore.so.1
#7  0x00007ff9abdf5924 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kdeconnect/kdeconnect_notifications.so
#8  0x00007ff9d1b8798f in QtPrivate::QSlotObjectBase::call (a=0x7fff6b24b1b0, r=0x5635489b5320, this=0x563548b99f10) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#9  QMetaObject::activate (sender=0x5635489de930, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3776
#10 0x00007ff9abdf9207 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kdeconnect/kdeconnect_notifications.so
#11 0x00007ff9abdf86ab in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kdeconnect/kdeconnect_notifications.so
#12 0x00007ff9d1b8798f in QtPrivate::QSlotObjectBase::call (a=0x7fff6b24b2c0, r=0x5635489de930, this=0x563548ba71d0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#13 QMetaObject::activate (sender=sender@entry=0x5635489de930, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3776
#14 0x00007ff9d1b87f47 in QMetaObject::activate (sender=sender@entry=0x5635489de930, m=m@entry=0x7ff9d35699a0 <QDialog::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3648
#15 0x00007ff9d3070b43 in QDialog::accepted (this=this@entry=0x5635489de930) at .moc/moc_qdialog.cpp:235
#16 0x00007ff9d3070f1c in QDialogPrivate::finalize (this=<optimized out>, resultCode=1, dialogCode=<optimized out>) at dialogs/qdialog.cpp:176
#17 0x00007ff9d1b87875 in QMetaObject::activate (sender=sender@entry=0x563548b8f550, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3795
#18 0x00007ff9d1b87f47 in QMetaObject::activate (sender=sender@entry=0x563548b8f550, m=m@entry=0x7ff9d3562960 <QDialogButtonBox::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3648
#19 0x00007ff9d300b323 in QDialogButtonBox::accepted (this=this@entry=0x563548b8f550) at .moc/moc_qdialogbuttonbox.cpp:286
#20 0x00007ff9d300b940 in QDialogButtonBoxPrivate::_q_handleButtonClicked (this=<optimized out>) at widgets/qdialogbuttonbox.cpp:864
#21 0x00007ff9d1b87875 in QMetaObject::activate (sender=sender@entry=0x563548b8f760, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff6b24b570) at kernel/qobject.cpp:3795
#22 0x00007ff9d1b87f47 in QMetaObject::activate (sender=sender@entry=0x563548b8f760, m=m@entry=0x7ff9d3559840 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff6b24b570) at kernel/qobject.cpp:3648
#23 0x00007ff9d2f68202 in QAbstractButton::clicked (this=this@entry=0x563548b8f760, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:312
#24 0x00007ff9d2f6841a in QAbstractButtonPrivate::emitClicked (this=0x56354897a5e0) at widgets/qabstractbutton.cpp:414
#25 0x00007ff9d2f697fa in QAbstractButtonPrivate::click (this=0x56354897a5e0) at widgets/qabstractbutton.cpp:407
#26 0x00007ff9d2f699ed in QAbstractButton::mouseReleaseEvent (this=0x563548b8f760, e=0x7fff6b24bae0) at widgets/qabstractbutton.cpp:1011
#27 0x00007ff9d2ec09c8 in QWidget::event (this=0x563548b8f760, event=0x7fff6b24bae0) at kernel/qwidget.cpp:9322
#28 0x00007ff9d2e8065c in QApplicationPrivate::notify_helper (this=this@entry=0x5635487cd1f0, receiver=receiver@entry=0x563548b8f760, e=e@entry=0x7fff6b24bae0) at kernel/qapplication.cpp:3736
#29 0x00007ff9d2e88a58 in QApplication::notify (this=<optimized out>, receiver=0x563548b8f760, e=0x7fff6b24bae0) at kernel/qapplication.cpp:3197
#30 0x00007ff9d1b57d18 in QCoreApplication::notifyInternal2 (receiver=0x563548b8f760, event=0x7fff6b24bae0) at kernel/qcoreapplication.cpp:1060
#31 0x00007ff9d1b57efe in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x563548b8f760, event=event@entry=0x7fff6b24bae0) at kernel/qcoreapplication.cpp:1462
#32 0x00007ff9d2e8705f in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x563548b8f760, event=event@entry=0x7fff6b24bae0, alienWidget=0x563548b8f760, nativeWidget=0x5635489de930, buttonDown=buttonDown@entry=0x7ff9d35838d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2683
#33 0x00007ff9d2edb8a1 in QWidgetWindow::handleMouseEvent (this=this@entry=0x563548bfd1c0, event=event@entry=0x7fff6b24bf70) at kernel/qwidgetwindow.cpp:662
#34 0x00007ff9d2ede6fa in QWidgetWindow::event (this=0x563548bfd1c0, event=0x7fff6b24bf70) at kernel/qwidgetwindow.cpp:281
#35 0x00007ff9d2e8065c in QApplicationPrivate::notify_helper (this=this@entry=0x5635487cd1f0, receiver=receiver@entry=0x563548bfd1c0, e=e@entry=0x7fff6b24bf70) at kernel/qapplication.cpp:3736
#36 0x00007ff9d2e87b90 in QApplication::notify (this=0x7fff6b24c3d0, receiver=0x563548bfd1c0, e=0x7fff6b24bf70) at kernel/qapplication.cpp:3483
#37 0x00007ff9d1b57d18 in QCoreApplication::notifyInternal2 (receiver=0x563548bfd1c0, event=0x7fff6b24bf70) at kernel/qcoreapplication.cpp:1060
#38 0x00007ff9d264e1fb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#39 0x00007ff9d264f365 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#40 0x00007ff9d2627b4b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#41 0x00007ff9c53f659a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#42 0x00007ff9cbd9b417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007ff9cbd9b650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007ff9cbd9b6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007ff9d1bb4daf in QEventDispatcherGlib::processEvents (this=0x563548838710, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#46 0x00007ff9d1b5603a in QEventLoop::exec (this=this@entry=0x7fff6b24c310, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#47 0x00007ff9d1b5f170 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1363
#48 0x000056354699ae64 in ?? ()
#49 0x00007ff9d117eb97 in __libc_start_main (main=0x56354699aa30, argc=1, argv=0x7fff6b24c538, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6b24c528) at ../csu/libc-start.c:310
#50 0x000056354699b06a in _start ()

Reported using DrKonqi
Comment 1 Justin Zobel 2020-11-20 05:32:27 UTC
Thanks for the report. I've been using KDEconnect to reply to messages lately and I haven't been able to replicate this issue.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 2 weltqgel 2020-11-20 08:00:08 UTC
(In reply to Justin Zobel from comment #1)
> Thanks for the report. I've been using KDEconnect to reply to messages
> lately and I haven't been able to replicate this issue.
> 
> Can you please test and confirm if this issue is still occurring or if this
> bug report can be marked as resolved. I've set the bug status to "needsinfo"
> pending your response, please change back to "reported" or "resolved" when
> you respond, thanks.

Thanks for your reply. I am unable to reproduce the issue, mainly because the KDE Neon installation does no longer exist. With Manjaro (stable), kernel 4.19.157 I experienced no issue. 

Technically, I should leave it with needsinfo, but since I cannot furnish the info I mark it as resolved (by time).