Bug 394955

Summary: Systemsettings crashes when opening Plasma Search
Product: [Applications] systemsettings Reporter: naraesk <mail>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 5.12.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description naraesk 2018-06-02 13:33:50 UTC
Application: systemsettings5 (5.12.5)

Qt Version: 5.11.0
Frameworks Version: 5.46.0
Operating System: Linux 4.16.13-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
Open Systemsettings, go to "Search" , go to "Plasma Search"
Then, the window freezes and crashes when clicking somewhere
- Unusual behavior I noticed:
I cannot open the configuration dialog of krunner
When starting krunner from console, the output is
"kcmshell5 with modules ' "org.kde.kcmshell_plasmasearch" ' is already running."

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f18a5f65800 (LWP 11660))]

Thread 9 (Thread 0x7f182ea4e700 (LWP 11981)):
#0  0x00007f189db293f6 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f18a20ff22d in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f18a20f6c54 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f18a20feb95 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f189db23075 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f18a19ee53f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f18300da700 (LWP 11979)):
#0  0x00007f18a19e3ea9 in poll () at /usr/lib/libc.so.6
#1  0x00007f189b4bb523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f189b4bb63e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f18a22ffe64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f18a22ab85c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f18a20f4ac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f18a20feb95 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f189db23075 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f18a19ee53f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f183ca0d700 (LWP 11935)):
#0  0x00007f18a19e3ea9 in poll () at /usr/lib/libc.so.6
#1  0x00007f189b4bb523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f189b4bb63e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f18a22ffe64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f18a22ab85c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f18a20f4ac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f189fbdc559 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f18a20feb95 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f189db23075 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f18a19ee53f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f184fbb7700 (LWP 11897)):
#0  0x00007f18a19e3ea9 in poll () at /usr/lib/libc.so.6
#1  0x00007f189b4bb523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f189b4bb63e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f18a22ffe64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f18a22ab85c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f18a20f4ac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f183ef572ea in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#7  0x00007f18a20feb95 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f189db23075 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f18a19ee53f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f186b7fe700 (LWP 11703)):
#0  0x00007f18a19e3ea9 in poll () at /usr/lib/libc.so.6
#1  0x00007f189b4bb523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f189b4bb8e2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007f18696e4348 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007f189b4e3a2a in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f189db23075 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f18a19ee53f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f186bfff700 (LWP 11702)):
#0  0x00007f18a19e3ea9 in poll () at /usr/lib/libc.so.6
#1  0x00007f189b4bb523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f189b4bb63e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f189b4bb692 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f189b4e3a2a in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f189db23075 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f18a19ee53f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f18897ad700 (LWP 11663)):
#0  0x00007f18a19e3ea9 in poll () at /usr/lib/libc.so.6
#1  0x00007f189b4bb523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f189b4bb63e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f18a22ffe64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f18a22ab85c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f18a20f4ac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f18a3c1d976 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f18a20feb95 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f189db23075 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f18a19ee53f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f189284b700 (LWP 11661)):
#0  0x00007f18a19e3ea9 in poll () at /usr/lib/libc.so.6
#1  0x00007f189d6ae180 in  () at /usr/lib/libxcb.so.1
#2  0x00007f189d6afe4b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f18955f9f1a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f18a20feb95 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f189db23075 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f18a19ee53f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f18a5f65800 (LWP 11660)):
[KCrash Handler]
#6  0x000000000004004c in  ()
#7  0x00007f18a22b6049 in QMetaObject::cast(QObject const*) const () at /usr/lib/libQt5Core.so.5
#8  0x00007f18360e74f0 in  () at /usr/lib/libKF5Runner.so.5
#9  0x00007f18360e8fb8 in  () at /usr/lib/libKF5Runner.so.5
#10 0x00007f18360e3c73 in Plasma::RunnerManager::reloadConfiguration() () at /usr/lib/libKF5Runner.so.5
#11 0x00007f18362f7ee6 in  () at /usr/lib/qt/plugins/kcm_plasmasearch.so
#12 0x00007f18362f866c in  () at /usr/lib/qt/plugins/kcm_plasmasearch.so
#13 0x00007f18a2780719 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () at /usr/lib/libKF5CoreAddons.so.5
#14 0x00007f18a5769780 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () at /usr/lib/libKF5KCMUtils.so.5
#15 0x00007f18a5770a2f in  () at /usr/lib/libKF5KCMUtils.so.5
#16 0x00007f18a5770cec in  () at /usr/lib/libKF5KCMUtils.so.5
#17 0x00007f18a57710ab in KCModuleProxy::realModule() const () at /usr/lib/libKF5KCMUtils.so.5
#18 0x00007f18a57715d4 in KCModuleProxy::showEvent(QShowEvent*) () at /usr/lib/libKF5KCMUtils.so.5
#19 0x00007f18a32f3058 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007f18a32b3984 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007f18a32bb25b in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f18a22acbc9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#23 0x00007f18a32ef8dd in QWidgetPrivate::show_helper() () at /usr/lib/libQt5Widgets.so.5
#24 0x00007f18a32ef834 in QWidgetPrivate::showChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f18a32ef8b2 in QWidgetPrivate::show_helper() () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f18a32f2bd5 in QWidget::setVisible(bool) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007f18a32ef849 in QWidgetPrivate::showChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007f18a32ef8b2 in QWidgetPrivate::show_helper() () at /usr/lib/libQt5Widgets.so.5
#29 0x00007f18a32f2bd5 in QWidget::setVisible(bool) () at /usr/lib/libQt5Widgets.so.5
#30 0x00007f18a32d6516 in QStackedLayout::setCurrentIndex(int) () at /usr/lib/libQt5Widgets.so.5
#31 0x00007f18a32d67c9 in QStackedLayout::setCurrentWidget(QWidget*) () at /usr/lib/libQt5Widgets.so.5
#32 0x00007f18a3466276 in QStackedWidget::setCurrentWidget(QWidget*) () at /usr/lib/libQt5Widgets.so.5
#33 0x00007f18a48f49ac in  () at /usr/lib/libKF5WidgetsAddons.so.5
#34 0x00007f18a22d6a0c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#35 0x00007f18a226d5e9 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/libQt5Core.so.5
#36 0x00007f18a22731ae in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/libQt5Core.so.5
#37 0x00007f18a2275b56 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/libQt5Core.so.5
#38 0x00007f18a227018d in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/libQt5Core.so.5
#39 0x00007f18a226d9cd in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/libQt5Core.so.5
#40 0x00007f18a48f3a90 in  () at /usr/lib/libKF5WidgetsAddons.so.5
#41 0x00007f18a48f47d2 in  () at /usr/lib/libKF5WidgetsAddons.so.5
#42 0x00007f18a22d6a0c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#43 0x00007f18a225fb37 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () at /usr/lib/libQt5Core.so.5
#44 0x00007f18a48fad74 in KPageWidgetModel::addPage(KPageWidgetItem*) () at /usr/lib/libKF5WidgetsAddons.so.5
#45 0x00007f18a5bb85b4 in ModuleView::addModule(KCModuleInfo*) () at /usr/lib/libsystemsettingsview.so.3
#46 0x00007f18a5bb8990 in ModuleView::loadModule(QModelIndex) () at /usr/lib/libsystemsettingsview.so.3
#47 0x00007f187d1b085d in  () at /usr/lib/qt/plugins/systemsettings_sidebar_mode.so
#48 0x00007f187d1b7a68 in  () at /usr/lib/qt/plugins/systemsettings_sidebar_mode.so
#49 0x00007f187d1b7fab in  () at /usr/lib/qt/plugins/systemsettings_sidebar_mode.so
#50 0x00007f189faf4055 in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () at /usr/lib/libQt5Qml.so.5
#51 0x00007f189faf4ddf in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) () at /usr/lib/libQt5Qml.so.5
#52 0x00007f189faf4ed6 in QV4::QObjectWrapper::put(QV4::Managed*, QV4::String*, QV4::Value const&) () at /usr/lib/libQt5Qml.so.5
#53 0x00007f189fb080dc in QV4::Runtime::method_storeProperty(QV4::ExecutionEngine*, QV4::Value const&, int, QV4::Value const&) () at /usr/lib/libQt5Qml.so.5
#54 0x00007f189fb13cfa in  () at /usr/lib/libQt5Qml.so.5
#55 0x00007f1870367a0b in  ()
#56 0x00007f187a87c340 in  ()
#57 0x00007f187a87c350 in  ()
#58 0x0000557103c6c480 in  ()
#59 0x0000000000000000 in  ()

Reported using DrKonqi
Comment 1 naraesk 2018-06-14 17:44:42 UTC
This was caused by a buggy inofficial krunner plugin