Bug 358819

Summary: Plasmashell - very frequent SIGSEGV when closing any windows
Product: [Plasma] plasmashell Reporter: Michał <mcv>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.5.4   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michał 2016-01-31 11:02:47 UTC
Application: plasmashell (5.5.4)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.2.5-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

Just closed a window. Or it was closed by an application. Generally closing windows triggers this bug.

I saw many duplicates posted here, but they didn't have full debugging information, so I complied plasmashell from AUR (in Arch) to help with debugging.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plazma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f95ae528800 (LWP 13063))]

Thread 7 (Thread 0x7f95a5b39700 (LWP 13067)):
#0  0x00007f95bc15918d in poll () from /usr/lib/libc.so.6
#1  0x00007f95b90d2fbc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f95b90d30cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f95bca7c54f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f95bca2357a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f95bc83fbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f95bf158055 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007f95bc844b8e in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f95bb9614a4 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f95bc16213d in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f959d39c700 (LWP 13068)):
#0  0x00007f95bc15918d in poll () from /usr/lib/libc.so.6
#1  0x00007f95b90d2fbc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f95b90d30cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f95bca7c54f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f95bca2357a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f95bc83fbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f95bf158055 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007f95bc844b8e in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f95bb9614a4 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f95bc16213d in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f959760c700 (LWP 13069)):
#0  0x00007f95bc15918d in poll () from /usr/lib/libc.so.6
#1  0x00007f95b90d2fbc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f95b90d30cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f95bca7c54f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f95bca2357a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f95bc83fbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f95bf158055 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007f95bc844b8e in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f95bb9614a4 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f95bc16213d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f9595d2f700 (LWP 13070)):
#0  0x00007f95bb96707f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f95c1580934 in ?? () from /usr/lib/libQt5Script.so.5
#2  0x00007f95c1580979 in ?? () from /usr/lib/libQt5Script.so.5
#3  0x00007f95bb9614a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f95bc16213d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f950f20f700 (LWP 13071)):
#0  0x00007f95bc15918d in poll () from /usr/lib/libc.so.6
#1  0x00007f95b90d2fbc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f95b90d30cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f95bca7c56b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f95bca2357a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f95bc83fbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f95bfb08136 in ?? () from /usr/lib/libQt5Quick.so.5
#7  0x00007f95bc844b8e in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f95bb9614a4 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f95bc16213d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f94fd636700 (LWP 13083)):
#0  0x00007f95bc15918d in poll () from /usr/lib/libc.so.6
#1  0x00007f95b90d2fbc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f95b90d30cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f95bca7c54f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f95bca2357a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f95bc83fbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f94ffb3cbc7 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#7  0x00007f95bc844b8e in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f95bb9614a4 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f95bc16213d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f95ae528800 (LWP 13063)):
[KCrash Handler]
#5  0x00007f95bef23078 in ?? () from /usr/lib/libQt5Qml.so.5
#6  0x00007f95bf19989a in QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) () from /usr/lib/libQt5Qml.so.5
#7  0x00007f95bf1c0f0c in ?? () from /usr/lib/libQt5Qml.so.5
#8  0x00007f95bf1c16f8 in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQt5Qml.so.5
#9  0x00007f95bca544d0 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#10 0x00007f95bcad0e1c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib/libQt5Core.so.5
#11 0x00007f9504fd6bef in TaskManager::TasksModelPrivate::itemChanged (changes=..., this=0x2d5aa50) at /home/mcv/+abs/plasma-workspace/src/plasma-workspace-5.5.4/libtaskmanager/tasksmodel.cpp:521
#12 TaskManager::TasksModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/mcv/+abs/plasma-workspace/src/build/libtaskmanager/moc_tasksmodel.cpp:214
#13 0x00007f95bca5431a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#14 0x00007f9504fe0248 in TaskManager::AbstractGroupableItem::changed (this=<optimized out>, _t1=...) at /home/mcv/+abs/plasma-workspace/src/build/libtaskmanager/moc_abstractgroupableitem.cpp:223
#15 0x00007f9504fc8f28 in TaskManager::TaskItemPrivate::filterChange (change=..., this=<optimized out>) at /home/mcv/+abs/plasma-workspace/src/plasma-workspace-5.5.4/libtaskmanager/taskitem.cpp:73
#16 TaskManager::TaskItem::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/mcv/+abs/plasma-workspace/src/build/libtaskmanager/moc_taskitem.cpp:147
#17 0x00007f95bca5431a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#18 0x00007f9504fe0438 in TaskManager::Task::changed (this=this@entry=0x2d13ee0, _t1=...) at /home/mcv/+abs/plasma-workspace/src/build/libtaskmanager/moc_task.cpp:359
#19 0x00007f9504fb0dbb in TaskManager::Task::setActive (this=0x2d13ee0, a=<optimized out>) at /home/mcv/+abs/plasma-workspace/src/plasma-workspace-5.5.4/libtaskmanager/task.cpp:178
#20 0x00007f9504fcfc49 in TaskManager::TaskManager::activeWindowChanged (this=0x7f95051ff850 <TaskManager::(anonymous namespace)::Q_QGS_privateTaskManagerSelf::innerFunction()::holder>, w=<optimized out>) at /home/mcv/+abs/plasma-workspace/src/plasma-workspace-5.5.4/libtaskmanager/taskmanager.cpp:412
#21 0x00007f95bca541a7 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#22 0x00007f95bec6b8e2 in KWindowSystem::activeWindowChanged(unsigned long long) () from /usr/lib/libKF5WindowSystem.so.5
#23 0x00007f95a5d4ebc3 in ?? () from /usr/lib/qt/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
#24 0x00007f95bca2270f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /usr/lib/libQt5Core.so.5
#25 0x00007f95ae22adc4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib/libQt5XcbQpa.so.5
#26 0x00007f95ae22bb73 in QXcbConnection::processXcbEvents() () from /usr/lib/libQt5XcbQpa.so.5
#27 0x00007f95bca551e1 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007f95bd5299ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#29 0x00007f95bd52ee86 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#30 0x00007f95bca25bab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#31 0x00007f95bca27fa6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#32 0x00007f95bca7c143 in ?? () from /usr/lib/libQt5Core.so.5
#33 0x00007f95b90d2dc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007f95b90d3020 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007f95b90d30cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007f95bca7c54f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#37 0x00007f95bca2357a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#38 0x00007f95bca2b53c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#39 0x000000000043138a in main (argc=3, argv=<optimized out>) at /home/mcv/+abs/plasma-workspace/src/plasma-workspace-5.5.4/shell/main.cpp:181

Possible duplicates by query: bug 358803, bug 358790, bug 358749, bug 358748, bug 358720.

Reported using DrKonqi
Comment 1 David Edmundson 2016-02-01 18:53:05 UTC

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