Bug 365037

Summary: 蓝牙连接失败时 Plasma 崩溃
Product: [Plasma] plasmashell Reporter: Liu Hao <liuhao.x64>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, kde, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.5.5   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Liu Hao 2016-07-03 13:51:58 UTC
Application: plasmashell (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.1.26-21-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
NM 中保存了以前连接过的蓝牙设备,当设备未开启时使用NM进行连接时,Plasma 会弹出连接错误提示或者发生崩溃

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3141ab17c0 (LWP 7652))]

Thread 7 (Thread 0x7f312b4a5700 (LWP 7654)):
#0  0x00007f313afbebbd in poll () at /lib64/libc.so.6
#1  0x00007f313ff12422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f313ff1400f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f312d5f63c9 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f313b6b932f in QThreadPrivate::start(void*) (arg=0x11b5040) at thread/qthread_unix.cpp:331
#5  0x00007f313a7c80a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f313afc6fed in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f3123fff700 (LWP 7670)):
#0  0x00007f313afbebbd in poll () at /lib64/libc.so.6
#1  0x00007f313769be64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f313769bf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f313b8ebd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f311c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f313b892d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3123ffedf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f313b6b461a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f313e9c8e18 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f313b6b932f in QThreadPrivate::start(void*) (arg=0x124beb0) at thread/qthread_unix.cpp:331
#8  0x00007f313a7c80a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f313afc6fed in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f3117087700 (LWP 7671)):
#0  0x00007f313afbebbd in poll () at /lib64/libc.so.6
#1  0x00007f313769be64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f313769bf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f313b8ebd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f31100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f313b892d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3117086df0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f313b6b461a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f313e9c8e18 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f313b6b932f in QThreadPrivate::start(void*) (arg=0x15a38a0) at thread/qthread_unix.cpp:331
#8  0x00007f313a7c80a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f313afc6fed in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f31158f0700 (LWP 7672)):
#0  0x00007f31376992a1 in  () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f313769b530 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f313769bd80 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f313769bf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f313b8ebd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f31080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f313b892d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f31158efdf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f313b6b461a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f313e9c8e18 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f313b6b932f in QThreadPrivate::start(void*) (arg=0x1683470) at thread/qthread_unix.cpp:331
#9  0x00007f313a7c80a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f313afc6fed in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f310fdf7700 (LWP 7673)):
#0  0x00007f313a7cc03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f314119786b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f3141197899 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f313a7c80a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f313afc6fed in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f3087b0e700 (LWP 7675)):
#0  0x00007f313afbebbd in poll () at /lib64/libc.so.6
#1  0x00007f313769be64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f313769bf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f313b8ebd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f30800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f313b892d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3087b0ddb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f313b6b461a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f313f564282 in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007f313b6b932f in QThreadPrivate::start(void*) (arg=0x1bbb040) at thread/qthread_unix.cpp:331
#8  0x00007f313a7c80a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f313afc6fed in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f3141ab17c0 (LWP 7652)):
[KCrash Handler]
#6  0x0000000000000000 in  ()
#7  0x00007f313b8c5307 in QMetaObject::activate(QObject*, int, void**) (sender=0x4e3f490, signal_index=6, argv=0x0) at kernel/qobject.cpp:3759
#8  0x00007f313e79a372 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f313ea08029 in QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f313ea0da61 in QQmlDelegateModel::_q_layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f313ea2fadf in  () at /usr/lib64/libQt5Qml.so.5
#12 0x00007f313ea3032b in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Qml.so.5
#13 0x00007f313b8c4dc1 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x4c90a00, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd17c47d80) at kernel/qobject.cpp:3728
#14 0x00007f313b8c52e7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x4c90a00, m=m@entry=0x7f313bce2e00 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd17c47d80) at kernel/qobject.cpp:3578
#15 0x00007f313b9438d6 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) (this=this@entry=0x4c90a00, _t1=..., _t2=_t2@entry=QAbstractItemModel::VerticalSortHint) at .moc/moc_qabstractitemmodel.cpp:562
#16 0x00007f313b8643c5 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=0x4a6e4c0, source_top_left=..., source_bottom_right=..., roles=...) at itemmodels/qsortfilterproxymodel.cpp:1207
#17 0x00007f313b866248 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:202
#18 0x00007f313b8c4cc6 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x1252680, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd17c480b0) at kernel/qobject.cpp:3713
#19 0x00007f313b8c52e7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f313bce2e00 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd17c480b0) at kernel/qobject.cpp:3578
#20 0x00007f313b94382c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:548
#21 0x00007f307cde1eef in NetworkModel::updateItem(NetworkModelItem*) () at /usr/lib64/libplasmanm_internal.so
#22 0x00007f307cde7a5d in NetworkModel::addActiveConnection(QSharedPointer<NetworkManager::ActiveConnection> const&) () at /usr/lib64/libplasmanm_internal.so
#23 0x00007f307cde7ff3 in NetworkModel::activeConnectionAdded(QString const&) () at /usr/lib64/libplasmanm_internal.so
#24 0x00007f313b8c473f in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffd17c483a0, r=0x1252680, this=0x43a26d0) at ../../src/corelib/kernel/qobject_impl.h:124
#25 0x00007f313b8c473f in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7f307cdc89e0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffd17c483a0) at kernel/qobject.cpp:3698
#26 0x00007f307cb79ee5 in NetworkManager::Notifier::activeConnectionAdded(QString const&) () at /usr/lib64/libKF5NetworkManagerQt.so.6
#27 0x00007f307cb024d3 in  () at /usr/lib64/libKF5NetworkManagerQt.so.6
#28 0x00007f313b8c473f in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffd17c486a0, r=0x7f307cdc89e0, this=0x41752a0) at ../../src/corelib/kernel/qobject_impl.h:124
#29 0x00007f313b8c473f in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7f307cdc8a00, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffd17c486a0) at kernel/qobject.cpp:3698
#30 0x00007f307cb83450 in  () at /usr/lib64/libKF5NetworkManagerQt.so.6
#31 0x00007f307cb8977b in  () at /usr/lib64/libKF5NetworkManagerQt.so.6
#32 0x00007f313c63cda4 in  () at /usr/lib64/libQt5DBus.so.5
#33 0x00007f313b8c5ac6 in QObject::event(QEvent*) (this=0x7f307cdc8a00, e=<optimized out>) at kernel/qobject.cpp:1239
#34 0x00007f313cc0fe7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#35 0x00007f313cc14cc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#36 0x00007f313b894e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffd17c49000, receiver=0x7f307cdc8a00, event=event@entry=0x4f23510) at kernel/qcoreapplication.cpp:965
#37 0x00007f313b897057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x4f23510, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#38 0x00007f313b897057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x118fac0) at kernel/qcoreapplication.cpp:1593
#39 0x00007f313b897608 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#40 0x00007f313b8ec8f3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x11dd070) at kernel/qeventdispatcher_glib.cpp:271
#41 0x00007f313769bc84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#42 0x00007f313769bed8 in  () at /usr/lib64/libglib-2.0.so.0
#43 0x00007f313769bf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#44 0x00007f313b8ebd6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x11de7d0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#45 0x00007f313b892d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd17c48e90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#46 0x00007f313b89a8f6 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#47 0x0000000000436b3d in main ()

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2016-07-03 14:04:44 UTC

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