Bug 438164 - Crash when trying to pair an Android 9 phone to my KDE neon computer
Summary: Crash when trying to pair an Android 9 phone to my KDE neon computer
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-06 15:49 UTC by Maxwell175
Modified: 2021-06-17 09:08 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 Maxwell175 2021-06-06 15:49:33 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 tapped "Request Pairing" on my phone and nearly instantly got a message that this crash occurred. After a while my phone would show "Timed out"

The reporter is unsure if this crash is reproducible.

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

[New LWP 9813]
[New LWP 9952]
[New LWP 10019]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007feeb72e5aff in __GI___poll (fds=0x7fff1371d6a8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7feeb34f09c0 (LWP 9780))]

Thread 4 (Thread 0x7feeab5ef700 (LWP 10019)):
#0  __GI___libc_read (nbytes=16, buf=0x7feeab5ee9d0, fd=11) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=11, buf=0x7feeab5ee9d0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007feeb5debb2f in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feeb5da2ebe in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007feeb5da3312 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007feeb5da34a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007feeb78b3b3b in QEventDispatcherGlib::processEvents (this=0x7feea0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007feeb7857dcb in QEventLoop::exec (this=this@entry=0x7feeab5eebe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007feeb7671bb2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007feeb7672d4c in QThreadPrivate::start (arg=0x558e3ea917c0) at thread/qthread_unix.cpp:329
#10 0x00007feeb67fb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007feeb72f2293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7feeb0bc2700 (LWP 9952)):
#0  0x00007feeb72e5aff in __GI___poll (fds=0x7feea4012900, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007feeb5da336e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feeb5da34a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feeb78b3b3b in QEventDispatcherGlib::processEvents (this=0x7feea4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007feeb7857dcb in QEventLoop::exec (this=this@entry=0x7feeb0bc1bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007feeb7671bb2 in QThread::exec (this=this@entry=0x7feeb8260d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007feeb81dcf4b in QDBusConnectionManager::run (this=0x7feeb8260d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007feeb7672d4c in QThreadPrivate::start (arg=0x7feeb8260d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#8  0x00007feeb67fb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007feeb72f2293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7feeb2709700 (LWP 9813)):
#0  0x00007feeb72e5aff in __GI___poll (fds=0x7feeb2708ae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007feeb590fc1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007feeb591190a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007feeb2e1fe88 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007feeb7672d4c in QThreadPrivate::start (arg=0x558e3e8ece80) at thread/qthread_unix.cpp:329
#5  0x00007feeb67fb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007feeb72f2293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7feeb34f09c0 (LWP 9780)):
[KCrash Handler]
#4  0x00007feeb8e451ff in Device::reloadPlugins() () from /usr/lib/x86_64-linux-gnu/libkdeconnectcore.so.21
#5  0x00007feeb8e45990 in Device::pairStatusChanged(DeviceLink::PairStatus) () from /usr/lib/x86_64-linux-gnu/libkdeconnectcore.so.21
#6  0x00007feeb78902ee in QtPrivate::QSlotObjectBase::call (a=0x7fff1371e120, r=0x558e3e9430d0, this=0x558e3ec00600) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false> (sender=0x558e3ebff9c0, signal_index=5, argv=0x7fff1371e120) at kernel/qobject.cpp:3886
#8  0x00007feeb8dfbaa5 in ?? () from /usr/lib/x86_64-linux-gnu/libkdeconnectcore.so.21
#9  0x00007feeb8e157bf in LanDeviceLink::setPairStatus(DeviceLink::PairStatus) () from /usr/lib/x86_64-linux-gnu/libkdeconnectcore.so.21
#10 0x00007feeb8e1715d in ?? () from /usr/lib/x86_64-linux-gnu/libkdeconnectcore.so.21
#11 0x00007feeb8e420d2 in Device::acceptPairing() () from /usr/lib/x86_64-linux-gnu/libkdeconnectcore.so.21
#12 0x00007feeb78902ee in QtPrivate::QSlotObjectBase::call (a=0x7fff1371e350, r=0x558e3e9430d0, this=0x558e3ebcadf0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false> (sender=0x558e3eb8f540, signal_index=6, argv=0x7fff1371e350) at kernel/qobject.cpp:3886
#14 0x00007feeb78896b7 in QMetaObject::activate (sender=sender@entry=0x558e3eb8f540, m=m@entry=0x7feeb8c78560 <KNotification::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#15 0x00007feeb8c2b007 in KNotification::action1Activated (this=this@entry=0x558e3eb8f540) at ./obj-x86_64-linux-gnu/src/KF5Notifications_autogen/EWIEGA46WW/moc_knotification.cpp:277
#16 0x00007feeb8c30330 in KNotification::activate (this=this@entry=0x558e3eb8f540, action=1) at ./src/knotification.cpp:327
#17 0x00007feeb8c38507 in KNotificationManager::notificationActivated (this=0x7feeb8c79fb0 <(anonymous namespace)::Q_QGS_s_self::innerFunction()::holder>, id=<optimized out>, action=<optimized out>) at ./src/knotificationmanager.cpp:236
#18 0x00007feeb78902ee in QtPrivate::QSlotObjectBase::call (a=0x7fff1371e560, r=0x7feeb8c79fb0 <(anonymous namespace)::Q_QGS_s_self::innerFunction()::holder>, this=0x558e3e985d20) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false> (sender=0x558e3ec00450, signal_index=4, argv=0x7fff1371e560) at kernel/qobject.cpp:3886
#20 0x00007feeb78896b7 in QMetaObject::activate (sender=sender@entry=0x558e3ec00450, m=m@entry=0x7feeb8c784e0 <KNotificationPlugin::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff1371e560) at kernel/qobject.cpp:3946
#21 0x00007feeb8c2b283 in KNotificationPlugin::actionInvoked (this=this@entry=0x558e3ec00450, _t1=<optimized out>, _t2=<optimized out>, _t2@entry=1) at ./obj-x86_64-linux-gnu/src/KF5Notifications_autogen/EWIEGA46WW/moc_knotificationplugin.cpp:167
#22 0x00007feeb8c500a9 in NotifyByPopup::onNotificationActionInvoked (this=0x558e3ec00450, notificationId=<optimized out>, actionKey=...) at ./src/notifybypopup.cpp:112
#23 0x00007feeb78902ee in QtPrivate::QSlotObjectBase::call (a=0x7fff1371e7f0, r=0x558e3ec00450, this=0x7feea401dc90) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#24 doActivate<false> (sender=0x558e3ec00488, signal_index=3, argv=0x7fff1371e7f0) at kernel/qobject.cpp:3886
#25 0x00007feeb78896b7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7feeb8c78b60 <OrgFreedesktopNotificationsInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff1371e7f0) at kernel/qobject.cpp:3946
#26 0x00007feeb8c64213 in OrgFreedesktopNotificationsInterface::ActionInvoked (_t2=..., _t1=<optimized out>, this=<optimized out>) at ./obj-x86_64-linux-gnu/src/notifications_interface.moc:213
#27 OrgFreedesktopNotificationsInterface::qt_static_metacall (_o=_o@entry=0x558e3ec00488, _id=_id@entry=0, _a=_a@entry=0x7fff1371e950, _c=QMetaObject::InvokeMetaMethod) at ./obj-x86_64-linux-gnu/src/notifications_interface.moc:128
#28 0x00007feeb8c65281 in OrgFreedesktopNotificationsInterface::qt_static_metacall (_a=0x7fff1371e950, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x558e3ec00488) at ./obj-x86_64-linux-gnu/src/notifications_interface.moc:199
#29 OrgFreedesktopNotificationsInterface::qt_metacall (this=0x558e3ec00488, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff1371e950) at ./obj-x86_64-linux-gnu/src/notifications_interface.moc:199
#30 0x00007feeb81e955b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:1001
#31 0x00007feeb7886e69 in QObject::event (this=0x558e3ec00488, e=0x7feea4006ce0) at kernel/qobject.cpp:1314
#32 0x00007feeb83cfdc3 in QApplicationPrivate::notify_helper (this=this@entry=0x558e3e8eb2c0, receiver=receiver@entry=0x558e3ec00488, e=e@entry=0x7feea4006ce0) at kernel/qapplication.cpp:3632
#33 0x00007feeb83d8bb8 in QApplication::notify (this=0x7fff1371f020, receiver=0x558e3ec00488, e=0x7feea4006ce0) at kernel/qapplication.cpp:3156
#34 0x00007feeb78592ca in QCoreApplication::notifyInternal2 (receiver=0x558e3ec00488, event=0x7feea4006ce0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#35 0x00007feeb785bbd1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x558e3e8cf4b0) at kernel/qcoreapplication.cpp:1821
#36 0x00007feeb78b44c7 in postEventSourceDispatch (s=0x558e3ea21350) at kernel/qeventdispatcher_glib.cpp:277
#37 0x00007feeb5da317d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007feeb5da3400 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007feeb5da34a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007feeb78b3b22 in QEventDispatcherGlib::processEvents (this=0x558e3ea1ca60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#41 0x00007feeb7857dcb in QEventLoop::exec (this=this@entry=0x7fff1371ef50, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#42 0x00007feeb785ff84 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#43 0x0000558e3dfce016 in ?? ()
#44 0x00007feeb71f70b3 in __libc_start_main (main=0x558e3dfcdb20, argc=1, argv=0x7fff1371f1b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1371f1a8) at ../csu/libc-start.c:308
#45 0x0000558e3dfce2ee in _start ()
[Inferior 1 (process 9780) detached]

Possible duplicates by query: bug 437773, bug 435992, bug 434725, bug 434192, bug 433252.

Reported using DrKonqi
Comment 1 Maxwell175 2021-06-06 15:54:01 UTC
I'd like to add that this crash is indeed perfectly reproducible every time.

Also, just to be clear, the crash occurred *after* I accepted the pairing.

I have also tried pairing the other way around, from my computer to my phone and as soon as I accept from my phone, I get the crash notification again.
Comment 2 Nicolas Fella 2021-06-17 09:08:13 UTC

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