Bug 357201

Summary: Kdeconnrct crashes on attempt to pair (LG G4)
Product: [Applications] kdeconnect Reporter: Steve <stevewhorwood>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: crash CC: aleixpol, stevewhorwood
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Steve 2015-12-27 04:35:26 UTC
Application: kdeconnectd (0.1)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 4.3.3-3.g10b7cff-default x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
This happens consistently. when I try to pair with an Lg G4. If I try to pair from the G4, the app does not connect and no indication occurs on the desktop.

The crash can be reproduced every time.

-- Backtrace:
Application: kdeconnect (kdeconnectd), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7effd2f147c0 (LWP 22512))]

Thread 3 (Thread 0x7effc0efe700 (LWP 22513)):
#0  0x00007effd0667c5d in poll () from /lib64/libc.so.6
#1  0x00007effcce6ebe4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007effcce6ecec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007effd0dea0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007effd0dbbe6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007effd0dbc165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007effd0cb90bf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007effd0cbb79f in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007effd1dee0a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007effd067008d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7effbab05700 (LWP 22514)):
#0  0x00007effd0667c5d in poll () from /lib64/libc.so.6
#1  0x00007effcce6ebe4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007effcce6ecec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007effd0dea0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007effd0dbbe6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007effd0dbc165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007effd0cb90bf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007effd0d9d783 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007effd0cbb79f in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007effd1dee0a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007effd067008d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7effd2f147c0 (LWP 22512)):
[KCrash Handler]
#5  0x00007effcf8cc750 in QCA::Provider::Context::provider() const () from /usr/lib64/libqca.so.2
#6  0x00007effcf8e48bd in QCA::PublicKey::toPEM() const () from /usr/lib64/libqca.so.2
#7  0x00007effd2b45eb3 in Device::sendOwnPublicKey (this=this@entry=0x1332820) at /usr/src/debug/kdeconnect-kde-0.8b/core/device.cpp:422
#8  0x00007effd2b46280 in Device::requestPair (this=0x1332820) at /usr/src/debug/kdeconnect-kde-0.8b/core/device.cpp:202
#9  0x00007effd2b32755 in Device::qt_static_metacall (_o=_o@entry=0x1332820, _id=_id@entry=6, _a=_a@entry=0x7ffe84c53f90, _c=QMetaObject::InvokeMetaMethod) at /usr/src/debug/kdeconnect-kde-0.8b/build/core/moc_device.cpp:98
#10 0x00007effd2b33333 in qt_static_metacall (_a=0x7ffe84c53f90, _id=6, _c=QMetaObject::InvokeMetaMethod, _o=0x1332820) at /usr/src/debug/kdeconnect-kde-0.8b/build/core/moc_device.cpp:155
#11 Device::qt_metacall (this=0x1332820, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7ffe84c53f90) at /usr/src/debug/kdeconnect-kde-0.8b/build/core/moc_device.cpp:156
#12 0x00007effcf601d4d in ?? () from /usr/lib64/libQtDBus.so.4
#13 0x00007effcf602ed9 in ?? () from /usr/lib64/libQtDBus.so.4
#14 0x00007effcf60365f in ?? () from /usr/lib64/libQtDBus.so.4
#15 0x00007effcf603a8b in ?? () from /usr/lib64/libQtDBus.so.4
#16 0x00007effd0dd559e in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#17 0x00007effd130276c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007effd1308cad in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007effd2700e0a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007effd0dbd2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#21 0x00007effd0dc057d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#22 0x00007effd0dea8fe in ?? () from /usr/lib64/libQtCore.so.4
#23 0x00007effcce6ea04 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007effcce6ec48 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007effcce6ecec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007effd0dea0be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#27 0x00007effd139f676 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007effd0dbbe6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#29 0x00007effd0dbc165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x00007effd0dc15b9 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#31 0x000000000040126e in main (argc=1, argv=0x7ffe84c54a48) at /usr/src/debug/kdeconnect-kde-0.8b/kded/kdeconnectd.cpp:85

Reported using DrKonqi
Comment 1 Steve 2015-12-27 04:40:35 UTC
Created attachment 96311 [details]
New crash information added by DrKonqi

kdeconnectd (0.1) on KDE Platform 4.14.9 using Qt 4.8.6

The crash occured when T attempted to accept a pair request fro my LG G4 on the dektop.

-- Backtrace (Reduced):
#5  0x00007feba7f0d750 in QCA::Provider::Context::provider() const () from /usr/lib64/libqca.so.2
#6  0x00007feba7f258bd in QCA::PublicKey::toPEM() const () from /usr/lib64/libqca.so.2
#7  0x00007febab186eb3 in Device::sendOwnPublicKey (this=this@entry=0x12a1760) at /usr/src/debug/kdeconnect-kde-0.8b/core/device.cpp:422
#8  0x00007febab1881b9 in Device::acceptPairing (this=0x12a1760) at /usr/src/debug/kdeconnect-kde-0.8b/core/device.cpp:447
#9  0x00007febab173725 in Device::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdeconnect-kde-0.8b/build/core/moc_device.cpp:101
Comment 2 Aleix Pol 2018-01-16 23:46:19 UTC
QCA isn't used for this anymore.