Bug 330683 - kdeconnect 0.4.2 crashes kded after opening Devices in System Settings
Summary: kdeconnect 0.4.2 crashes kded after opening Devices in System Settings
Status: RESOLVED DUPLICATE of bug 330657
Alias: None
Product: kdeconnect
Classification: Applications
Component: kcm (show other bugs)
Version: 0.4.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-02 23:17 UTC by Vadym Krevs
Modified: 2014-02-03 05:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadym Krevs 2014-02-02 23:17:29 UTC
Application: kded4 (4.12.1)
KDE Platform Version: 4.12.1
Qt Version: 4.8.5
Operating System: Linux 3.11.6-4-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

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

Opened system settings and went to "Devices" in the hardware section. It was empty (even though I had paired my nexus 5 using a previous version of kdeconnect. kded did not crash with the previous version of kdeconnect-kde.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Dæmon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd5f6312780 (LWP 1728))]

Thread 5 (Thread 0x7fd5ce60d700 (LWP 1798)):
#0  0x00007fd5f3939b3d in poll () from /lib64/libc.so.6
#1  0x00007fd5f0a53604 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd5f0a5370c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd5f4f9cd76 in QEventDispatcherGlib::processEvents (this=0x7fd5ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007fd5f4f6ed0f in QEventLoop::processEvents (this=this@entry=0x7fd5ce60ce20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd5f4f6f005 in QEventLoop::exec (this=this@entry=0x7fd5ce60ce20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd5f4e6dfef in QThread::exec (this=this@entry=0x16b64b0) at thread/qthread.cpp:536
#7  0x00007fd5f4f50513 in QInotifyFileSystemWatcherEngine::run (this=0x16b64b0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fd5f4e7068f in QThreadPrivate::start (arg=0x16b64b0) at thread/qthread_unix.cpp:338
#9  0x00007fd5f4bd90db in start_thread () from /lib64/libpthread.so.0
#10 0x00007fd5f394290d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fd5cdc05700 (LWP 1806)):
#0  0x00007fd5f0a92ffa in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fd5f0a932b9 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd5f0a531f9 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd5f0a53668 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd5f0a5370c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fd5f4f9cd76 in QEventDispatcherGlib::processEvents (this=0x7fd5a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007fd5f4f6ed0f in QEventLoop::processEvents (this=this@entry=0x7fd5cdc04e20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd5f4f6f005 in QEventLoop::exec (this=this@entry=0x7fd5cdc04e20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd5f4e6dfef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x00007fd5da19a297 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#10 0x00007fd5f4e7068f in QThreadPrivate::start (arg=0x14c1ad0) at thread/qthread_unix.cpp:338
#11 0x00007fd5f4bd90db in start_thread () from /lib64/libpthread.so.0
#12 0x00007fd5f394290d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fd5cd404700 (LWP 1807)):
#0  0x00007fd5f4bdb3e9 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fd5f0a93291 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd5f0a52cb9 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd5f0a53523 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd5f0a5370c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fd5f4f9cd76 in QEventDispatcherGlib::processEvents (this=0x7fd5a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007fd5f4f6ed0f in QEventLoop::processEvents (this=this@entry=0x7fd5cd403e60, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd5f4f6f005 in QEventLoop::exec (this=this@entry=0x7fd5cd403e60, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd5f4e6dfef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x00007fd5f4e7068f in QThreadPrivate::start (arg=0x15da770) at thread/qthread_unix.cpp:338
#10 0x00007fd5f4bd90db in start_thread () from /lib64/libpthread.so.0
#11 0x00007fd5f394290d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd5d5452700 (LWP 2766)):
#0  0x00007fd5f4bdb3e9 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fd5f0a93291 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd5f0a52750 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd5f0a534c5 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd5f0a5370c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fd5f4f9cd76 in QEventDispatcherGlib::processEvents (this=0x7fd5b4002400, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007fd5f4f6ed0f in QEventLoop::processEvents (this=this@entry=0x7fd5d5451e60, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd5f4f6f005 in QEventLoop::exec (this=this@entry=0x7fd5d5451e60, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd5f4e6dfef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x00007fd5f4e7068f in QThreadPrivate::start (arg=0x196a100) at thread/qthread_unix.cpp:338
#10 0x00007fd5f4bd90db in start_thread () from /lib64/libpthread.so.0
#11 0x00007fd5f394290d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd5f6312780 (LWP 1728)):
[KCrash Handler]
#5  Device::reloadPlugins (this=this@entry=0x19501f0) at /usr/src/debug/kdeconnect-kde-0.4.2/kded/device.cpp:114
#6  0x00007fd5d403e944 in Device::addLink (this=0x19501f0, identityPackage=..., link=link@entry=0x182ef50) at /usr/src/debug/kdeconnect-kde-0.4.2/kded/device.cpp:224
#7  0x00007fd5d4039085 in Daemon::onNewDeviceLink (this=0x19466e0, identityPackage=..., dl=0x182ef50) at /usr/src/debug/kdeconnect-kde-0.4.2/kded/daemon.cpp:152
#8  0x00007fd5d402d7c8 in Daemon::qt_static_metacall (_o=0x0, _id=1, _a=0x180fad0, _c=<optimized out>) at /usr/src/debug/kdeconnect-kde-0.4.2/build/kded/moc_daemon.cpp:79
#9  0x00007fd5f4f83d68 in QMetaObject::activate (sender=sender@entry=0x1948ba0, m=m@entry=0x7fd5d4247aa0 <LinkProvider::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffa1dd49f0) at kernel/qobject.cpp:3556
#10 0x00007fd5d402d604 in LinkProvider::onConnectionReceived (this=this@entry=0x1948ba0, _t1=..., _t2=_t2@entry=0x182ef50) at /usr/src/debug/kdeconnect-kde-0.4.2/build/kded/moc_linkprovider.cpp:108
#11 0x00007fd5d4030e1d in LanLinkProvider::connected (this=0x1948ba0) at /usr/src/debug/kdeconnect-kde-0.4.2/kded/backends/lan/lanlinkprovider.cpp:187
#12 0x00007fd5f4f83d68 in QMetaObject::activate (sender=sender@entry=0x172ff10, m=m@entry=0x7fd5f2ef8c80 <QAbstractSocket::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3556
#13 0x00007fd5f2c7ce33 in QAbstractSocket::connected (this=this@entry=0x172ff10) at .moc/release-shared/moc_qabstractsocket.cpp:226
#14 0x00007fd5f2c7cf9f in QAbstractSocketPrivate::fetchConnectionParameters (this=this@entry=0x1704960) at socket/qabstractsocket.cpp:1205
#15 0x00007fd5f2c83d18 in QAbstractSocketPrivate::_q_testConnection (this=0x1704960) at socket/qabstractsocket.cpp:1064
#16 0x00007fd5f2c8b545 in QWriteNotifier::event (this=0x193d040, e=<optimized out>) at socket/qnativesocketengine.cpp:1181
#17 0x00007fd5f40ef8ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007fd5f40f5e70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007fd5f5d1438a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007fd5f4f700ad in QCoreApplication::notifyInternal (this=0x7fffa1dd52c0, receiver=0x193d040, event=event@entry=0x7fffa1dd4f40) at kernel/qcoreapplication.cpp:949
#21 0x00007fd5f4f9d9b0 in sendEvent (event=0x7fffa1dd4f40, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#22 socketNotifierSourceDispatch (source=0x1329420) at kernel/qeventdispatcher_glib.cpp:110
#23 0x00007fd5f0a53316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fd5f0a53668 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fd5f0a5370c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007fd5f4f9cd76 in QEventDispatcherGlib::processEvents (this=0x12a0630, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#27 0x00007fd5f418c936 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007fd5f4f6ed0f in QEventLoop::processEvents (this=this@entry=0x7fffa1dd5190, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007fd5f4f6f005 in QEventLoop::exec (this=this@entry=0x7fffa1dd5190, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007fd5f4f7413b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#31 0x00007fd5e10c3fbb in kdemain () from /usr/lib64/libkdeinit4_kded4.so
#32 0x000000000040879e in _start ()

Report to https://bugs.kde.org/

Reproducible: Always

Actual Results:  
Crash.
Comment 1 Jekyll Wu 2014-02-03 05:29:38 UTC

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