Bug 387803 - Plasma crashes when closing a Kwrite file when there are many Kwrite files open
Summary: Plasma crashes when closing a Kwrite file when there are many Kwrite files open
Status: RESOLVED DUPLICATE of bug 381317
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.6
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-12-11 19:21 UTC by Ouissal Benameur
Modified: 2017-12-19 09:06 UTC (History)
1 user (show)

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 Ouissal Benameur 2017-12-11 19:21:07 UTC
Application: plasmashell (5.8.6)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.87-18.29-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:
I tried closing a Kwrite file (right click => close) while a few other Kwrites were open.
It crashes also when trying to close multiple Kwrite files at once, but this time I only closed one, that's why I didn't mark it as a duplicate.

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

Thread 7 (Thread 0x7f0531fe5700 (LWP 3173)):
#0  0x00007f05f23ab8f0 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f05f23ac230 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f05f23ac42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f05f65f133b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f052c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f05f659efeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0531fe4c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f05f63d9f1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007f053340e8f7 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#7  0x00007f05f63de9e9 in QThreadPrivate::start(void*) (arg=0x58f0450) at thread/qthread_unix.cpp:341
#8  0x00007f05f54ed744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f05f5cecaad in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f054410b700 (LWP 3011)):
#0  0x00007f05f5ce420d in poll () at /lib64/libc.so.6
#1  0x00007f05f23ac314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f05f23ac42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f05f65f133b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f053c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f05f659efeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f054410ac70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f05f63d9f1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007f05fa26a632 in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007f05f63de9e9 in QThreadPrivate::start(void*) (arg=0x2d50bd0) at thread/qthread_unix.cpp:341
#8  0x00007f05f54ed744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f05f5cecaad in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f05d2da6700 (LWP 2910)):
#0  0x00007f05f54f20bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f05fbeb193b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f05fbeb1969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f05f54ed744 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f05f5cecaad in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f05d8a7a700 (LWP 2897)):
#0  0x00007f05f65f1840 in timerSourceCheck(GSource*) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:168
#1  0x00007f05f23abda1 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f05f23ac2a8 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f05f23ac42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f05f65f133b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f05cc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f05f659efeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f05d8a79cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f05f63d9f1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#7  0x00007f05f96e79d8 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f05f63de9e9 in QThreadPrivate::start(void*) (arg=0x251e600) at thread/qthread_unix.cpp:341
#9  0x00007f05f54ed744 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f05f5cecaad in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f05da454700 (LWP 2867)):
#0  0x00007f05f5ce420d in poll () at /lib64/libc.so.6
#1  0x00007f05f23ac314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f05f23ac42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f05f65f133b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f05d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f05f659efeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f05da453cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f05f63d9f1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007f05f96e79d8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f05f63de9e9 in QThreadPrivate::start(void*) (arg=0x2430d20) at thread/qthread_unix.cpp:341
#8  0x00007f05f54ed744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f05f5cecaad in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f05e9962700 (LWP 2791)):
#0  0x00007f05f5ce028d in read () at /lib64/libc.so.6
#1  0x00007f05f23ec670 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f05f23abe49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f05f23ac2a8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f05f23ac42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f05f65f133b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f05e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#6  0x00007f05f659efeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f05e9961ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f05f63d9f1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#8  0x00007f05f715a295 in  () at /usr/lib64/libQt5DBus.so.5
#9  0x00007f05f63de9e9 in QThreadPrivate::start(void*) (arg=0x7f05f73c3ce0) at thread/qthread_unix.cpp:341
#10 0x00007f05f54ed744 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f05f5cecaad in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f05fc7d1900 (LWP 2783)):
[KCrash Handler]
#6  0x00007f05f656c1c0 in QSortFilterProxyModelPrivate::updateChildrenMapping(QModelIndex const&, QSortFilterProxyModelPrivate::Mapping*, Qt::Orientation, int, int, int, bool) (this=this@entry=0x4b4e0d0, source_parent=..., parent_mapping=parent_mapping@entry=0x4c7edb0, start=start@entry=0, end=end@entry=0, delta_item_count=delta_item_count@entry=1, remove=remove@entry=true, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:969
#7  0x00007f05f656c49f in QSortFilterProxyModelPrivate::_q_sourceRowsRemoved(QModelIndex const&, int, int) (orient=Qt::Vertical, end=<optimized out>, start=0, source_parent=..., this=0x4b4e0d0) at itemmodels/qsortfilterproxymodel.cpp:911
#8  0x00007f05f656c49f in QSortFilterProxyModelPrivate::_q_sourceRowsRemoved(QModelIndex const&, int, int) (this=0x4b4e0d0, source_parent=..., start=0, end=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1416
#9  0x00007f05f6573339 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:211
#10 0x00007f05f65cabc1 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x4b82bb0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7ffc8e1c88c0) at kernel/qobject.cpp:3730
#11 0x00007f05f65cb727 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x4b82bb0, m=m@entry=0x7f05f69e6ca0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7ffc8e1c88c0) at kernel/qobject.cpp:3595
#12 0x00007f05f6641284 in QAbstractItemModel::rowsRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x4b82bb0, _t1=..., _t2=0, _t3=0) at .moc/moc_qabstractitemmodel.cpp:615
#13 0x00007f05f654fb31 in QAbstractItemModel::endRemoveRows() (this=0x4b82bb0) at itemmodels/qabstractitemmodel.cpp:2678
#14 0x00007f0540a9e55f in TaskManager::TaskGroupingProxyModel::Private::sourceRowsAboutToBeRemoved(QModelIndex const&, int, int) () at /usr/lib64/libtaskmanager.so.6
#15 0x00007f0540aa10e9 in  () at /usr/lib64/libtaskmanager.so.6
#16 0x00007f05f65cabc1 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x4b82cf0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffc8e1c8bf0) at kernel/qobject.cpp:3730
#17 0x00007f05f65cb727 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x4b82cf0, m=m@entry=0x7f05f69e6ca0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffc8e1c8bf0) at kernel/qobject.cpp:3595
#18 0x00007f05f6641234 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x4b82cf0, _t1=..., _t2=_t2@entry=9, _t3=_t3@entry=9) at .moc/moc_qabstractitemmodel.cpp:608
#19 0x00007f05f654f2b4 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (this=0x4b82cf0, parent=..., first=9, last=9) at itemmodels/qabstractitemmodel.cpp:2661
#20 0x00007f05f656de1d in QSortFilterProxyModelPrivate::remove_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) (emit_signal=true, orient=Qt::Vertical, proxy_parent=..., proxy_end=9, proxy_start=9, proxy_to_source=..., source_to_proxy=..., this=0x4b834c0) at itemmodels/qsortfilterproxymodel.cpp:577
#21 0x00007f05f656de1d in QSortFilterProxyModelPrivate::remove_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) (this=this@entry=0x4b834c0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=emit_signal@entry=true) at itemmodels/qsortfilterproxymodel.cpp:559
#22 0x00007f05f657164c in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=0x4b834c0, source_top_left=..., source_bottom_right=..., roles=...) at itemmodels/qsortfilterproxymodel.cpp:1200
#23 0x00007f05f65731e8 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
#24 0x00007f05f65cabc1 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x4b77730, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8e1c9040) at kernel/qobject.cpp:3730
#25 0x00007f05f65cb727 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f05f69e6ca0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8e1c9040) at kernel/qobject.cpp:3595
#26 0x00007f05f664105c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:566
#27 0x00007f0542535d12 in  () at /usr/lib64/libKF5ItemModels.so.5
#28 0x00007f0542536c88 in  () at /usr/lib64/libKF5ItemModels.so.5
#29 0x00007f05f65cabc1 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x4b4dfc0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8e1c9270) at kernel/qobject.cpp:3730
#30 0x00007f05f65cb727 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x4b4dfc0, m=m@entry=0x7f05f69e6ca0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8e1c9270) at kernel/qobject.cpp:3595
#31 0x00007f05f664105c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x4b4dfc0, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:566
#32 0x00007f05f6567510 in QIdentityProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (roles=..., bottomRight=..., topLeft=..., this=<optimized out>) at itemmodels/qidentityproxymodel.cpp:480
#33 0x00007f05f6567510 in QIdentityProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qidentityproxymodel.cpp:160
#34 0x00007f05f65cabc1 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x49d75c0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8e1c9460) at kernel/qobject.cpp:3730
#35 0x00007f05f65cb727 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f05f69e6ca0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8e1c9460) at kernel/qobject.cpp:3595
#36 0x00007f05f664105c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:566
#37 0x00007f0540ab69f7 in TaskManager::XWindowTasksModel::Private::dataChanged(unsigned long long, QVector<int> const&) () at /usr/lib64/libtaskmanager.so.6
#38 0x00007f0540ab9122 in TaskManager::XWindowTasksModel::Private::windowChanged(unsigned long long, QFlags<NET::Property>, QFlags<NET::Property2>) () at /usr/lib64/libtaskmanager.so.6
#39 0x00007f0540ab943b in  () at /usr/lib64/libtaskmanager.so.6
#40 0x00007f05f65cb1d3 in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffc8e1c9700, r=0x49d75c0, this=0x4acd340) at ../../src/corelib/kernel/qobject_impl.h:124
#41 0x00007f05f65cb1d3 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7f05f9412c00, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffc8e1c9700) at kernel/qobject.cpp:3715
#42 0x00007f05f9204458 in KWindowSystem::windowChanged(unsigned long long, QFlags<NET::Property>, QFlags<NET::Property2>) () at /usr/lib64/libKF5WindowSystem.so.5
#43 0x00007f05da875101 in  () at /usr/lib64/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
#44 0x00007f05f659e280 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=0x7f05dc00ccf0, result=0x7ffc8e1c9848) at kernel/qabstracteventdispatcher.cpp:460
#45 0x00007f05e8c7ebe4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#46 0x00007f05e8c80c3b in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#47 0x00007f05f65cc176 in QObject::event(QEvent*) (this=0x2318730, e=<optimized out>) at kernel/qobject.cpp:1256
#48 0x00007f05f7529e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x2318730, e=0x7f05dc008090) at kernel/qapplication.cpp:3804
#49 0x00007f05f752e49a in QApplication::notify(QObject*, QEvent*) (this=0x7ffc8e1ca050, receiver=0x2318730, e=0x7f05dc008090) at kernel/qapplication.cpp:3561
#50 0x00007f05f65a0fd5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x2318730, event=event@entry=0x7f05dc008090) at kernel/qcoreapplication.cpp:1015
#51 0x00007f05f65a2dba in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7f05dc008090, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#52 0x00007f05f65a2dba in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2316c60) at kernel/qcoreapplication.cpp:1650
#53 0x00007f05f65a3368 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#54 0x00007f05f65f1c93 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x235e800) at kernel/qeventdispatcher_glib.cpp:270
#55 0x00007f05f23ac134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#56 0x00007f05f23ac388 in  () at /usr/lib64/libglib-2.0.so.0
#57 0x00007f05f23ac42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#58 0x00007f05f65f133b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x2360820, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#59 0x00007f05f659efeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc8e1c9ed0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#60 0x00007f05f65a6ed6 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#61 0x000000000041ee0f in  ()
#62 0x00007f05f5c236e5 in __libc_start_main () at /lib64/libc.so.6
#63 0x000000000041f079 in _start ()

Possible duplicates by query: bug 387501, bug 384503, bug 384360, bug 383647, bug 381974.

Reported using DrKonqi
Comment 1 David Edmundson 2017-12-19 09:06:34 UTC

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