Bug 436441 - KDE Connect crashes with the remote control from an Android phone
Summary: KDE Connect crashes with the remote control from an Android phone
Status: RESOLVED DUPLICATE of bug 414913
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: 1.0
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-01 08:33 UTC by Andrei Dragomirescu
Modified: 2021-05-01 12:05 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 Andrei Dragomirescu 2021-05-01 08:33:40 UTC
SUMMARY

When trying to control a presentation in Okular on a Linux PC from an Android Phone via the remote control of KDE Connect, the KDE Connect daemon on the PC crashes.


STEPS TO REPRODUCE
1. Open some PDF presentation in Okular.
2. Start the remote control on the Android phone.
3. Press the remote control buttons for forward, backward, and pointer, as for an usual presentation.


OBSERVED RESULT

After a few button presses, the KDE Connect daemon on the PC crashes.


EXPECTED RESULT

The expected result would be to properly control Okular from the phone via the remote control without any daemon crash.


SOFTWARE/OS VERSIONS
Linux: Kubuntu 20.04.2 LTS x86_84, Kernel 5.8.0-50-generic
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8


ADDITIONAL INFORMATION

No additional information.
Comment 1 Andrei Dragomirescu 2021-05-01 08:34:23 UTC
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 0x7ff38e56dcc0 (LWP 1380))]

Thread 4 (Thread 0x7ff38506b700 (LWP 2902)):
#0  0x00007ff394ed1e6c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007ff3950f2c75 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ff3935a3da1 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff3935a4312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff3935a44a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff3950f2583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff3950994db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff394ed1785 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff387e651a9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007ff394ed29d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff394129609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007ff394b61293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff386797700 (LWP 1429)):
#0  0x00007ff394b54aff in __GI___poll (fds=0x7ff3780025e0, nfds=1, timeout=9728) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff3935a436e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff3935a44a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff3950f2583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff3950994db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff394ed1785 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff394ed29d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff394129609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007ff394b61293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff3879a8700 (LWP 1408)):
#0  0x00007ff3935f14dd in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff3935a38fa in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff3935a429b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff3935a44a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff3950f2583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff3950994db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff394ed1785 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff395374efa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007ff394ed29d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ff394129609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007ff394b61293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff38e56dcc0 (LWP 1380)):
[KCrash Handler]
#6  0x00007ff3950cedbb in QObject::setProperty(char const*, QVariant const&) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff38c00610f in PresenterPlugin::receivePacket(NetworkPacket const&) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kdeconnect/kdeconnect_presenter.so
#8  0x00007ff39658b570 in Device::privateReceivedPacket(NetworkPacket const&) () from /lib/x86_64-linux-gnu/libkdeconnectcore.so.1
#9  0x00007ff3950c6458 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff3965447f9 in ?? () from /lib/x86_64-linux-gnu/libkdeconnectcore.so.1
#11 0x00007ff39655db8a in LanDeviceLink::dataReceived() () from /lib/x86_64-linux-gnu/libkdeconnectcore.so.1
#12 0x00007ff3950c6458 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ff396567cf8 in SocketLineReader::dataReceived() () from /lib/x86_64-linux-gnu/libkdeconnectcore.so.1
#14 0x00007ff3950c6458 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ff3948cb032 in ?? () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#16 0x00007ff3948a4d73 in ?? () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#17 0x00007ff3950c6300 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ff394867854 in ?? () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#19 0x00007ff3948678ef in ?? () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#20 0x00007ff394879e29 in ?? () from /lib/x86_64-linux-gnu/libQt5Network.so.5
#21 0x00007ff395bfba66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ff395c050f0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ff39509a93a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007ff3950f31c5 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ff3935a417d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ff3935a4400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ff3935a44a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ff3950f2583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007ff3950994db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ff3950a1246 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00005607e6adce78 in ?? ()
#32 0x00007ff394a660b3 in __libc_start_main (main=0x5607e6adca00, argc=1, argv=0x7ffd5a32c048, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd5a32c038) at ../csu/libc-start.c:308
#33 0x00005607e6add14e in _start ()
[Inferior 1 (process 1380) detached]
Comment 2 Nicolas Fella 2021-05-01 12:05:46 UTC
Please install the qml-module-qtquick-particles2 package

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