Bug 349408 - Krunner crash - Calculator
Summary: Krunner crash - Calculator
Status: RESOLVED WORKSFORME
Alias: None
Product: krunner
Classification: Plasma
Component: calculator (show other bugs)
Version: 5.3.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-20 10:49 UTC by Gennady Uraltsev
Modified: 2018-12-01 03:48 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gennady Uraltsev 2015-06-20 10:49:48 UTC
Application: systemsettings5 (5.3.1)

Qt Version: 5.4.2
Operating System: Linux 4.0.5-1-desktop x86_64
Distribution: "openSUSE 20150612 (Tumbleweed) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Trying to access the "Search" option from kde system settings causes the system settings to crash. This is possibly related to the reason for which krunner crashes when trying to type anything with:
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
kf5.kservice.sycoca: Trying to open ksycoca from "/home/guraltsev/.cache/ksycoca5"
org.kde.krunner: Loading runner:  "PowerDevil"
Error contacting the daemon!
org.kde.krunner: Loaded: "PowerDevil"
org.kde.krunner: Loading runner:  "Kill Runner"
org.kde.krunner: Loaded: "Kill Runner"
org.kde.krunner: Loading runner:  "Spell Checker"
org.kde.krunner: Loading runner:  "services"
org.kde.krunner: Loaded: "services"
org.kde.krunner: Loading runner:  "places"
org.kde.krunner: Loaded: "places"
org.kde.krunner: Loading runner:  "org.kde.datetime"
org.kde.krunner: Loaded: "org.kde.datetime"
org.kde.krunner: Loading runner:  "calculator"
KCrash: Attempting to start /usr/bin/krunner from kdeinit
sock_file=/run/user/1000/kdeinit5__0
KCrash: Application 'krunner' crashing...
[2]    1820 alarm      krunner

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f023ced8780 (LWP 24438))]

Thread 2 (Thread 0x7f022a6b8700 (LWP 24439)):
#0  0x00007f0238ccb4cd in poll () at /lib64/libc.so.6
#1  0x00007f02358d2322 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f02358d3def in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f022cc49ee9 in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#4  0x00007f02393b6a7f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f0235059484 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f0238cd3a4d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f023ced8780 (LWP 24438)):
[KCrash Handler]
#5  0x00007f0238c203c7 in raise () at /lib64/libc.so.6
#6  0x00007f0238c2179a in abort () at /lib64/libc.so.6
#7  0x00007f0238c5dcc4 in  () at /lib64/libc.so.6
#8  0x00007f0238c630be in malloc_printerr () at /lib64/libc.so.6
#9  0x00007f0238c63de6 in _int_free () at /lib64/libc.so.6
#10 0x00007f023444cf5b in inflateEnd () at /lib64/libz.so.1
#11 0x00007f0234450fa9 in gzclose_r () at /lib64/libz.so.1
#12 0x00007f0216e8a649 in  () at /usr/lib64/libxml2.so.2
#13 0x00007f0216e8b94b in xmlFreeParserInputBuffer () at /usr/lib64/libxml2.so.2
#14 0x00007f0216e5f7a6 in xmlFreeInputStream () at /usr/lib64/libxml2.so.2
#15 0x00007f0216e60310 in xmlFreeParserCtxt () at /usr/lib64/libxml2.so.2
#16 0x00007f0216eced4e in xmlParseCatalogFile () at /usr/lib64/libxml2.so.2
#17 0x00007f0216eceef9 in  () at /usr/lib64/libxml2.so.2
#18 0x00007f0216ecf370 in  () at /usr/lib64/libxml2.so.2
#19 0x00007f0216ed028f in xmlACatalogResolve () at /usr/lib64/libxml2.so.2
#20 0x00007f0216e8b0b3 in  () at /usr/lib64/libxml2.so.2
#21 0x00007f0216e8d814 in  () at /usr/lib64/libxml2.so.2
#22 0x00007f0216e8d6b7 in xmlLoadExternalEntity () at /usr/lib64/libxml2.so.2
#23 0x00007f0216e73a45 in xmlCreateURLParserCtxt () at /usr/lib64/libxml2.so.2
#24 0x00007f0216e75f6c in xmlSAXParseFileWithData () at /usr/lib64/libxml2.so.2
#25 0x00007f0217504f4f in Calculator::loadDefinitions(char const*, bool) () at /usr/lib64/libqalculate.so.5
#26 0x00007f0217528141 in Calculator::loadGlobalDefinitions() () at /usr/lib64/libqalculate.so.5
#27 0x00007f0217bcd287 in  () at /usr/lib64/qt5/plugins/krunner_calculatorrunner.so
#28 0x00007f0217bce5f9 in  () at /usr/lib64/qt5/plugins/krunner_calculatorrunner.so
#29 0x00007f0217bd0308 in  () at /usr/lib64/qt5/plugins/krunner_calculatorrunner.so
#30 0x00007f0239a111c0 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () at /usr/lib64/libKF5CoreAddons.so.5
#31 0x00007f02197cc06c in  () at /usr/lib64/libKF5Runner.so.5
#32 0x00007f02197cca56 in  () at /usr/lib64/libKF5Runner.so.5
#33 0x00007f02197c79e6 in Plasma::RunnerManager::reloadConfiguration() () at /usr/lib64/libKF5Runner.so.5
#34 0x00007f0219a19ff1 in  () at /usr/lib64/qt5/plugins/kcm_plasmasearch.so
#35 0x00007f0219a1df1b in  () at /usr/lib64/qt5/plugins/kcm_plasmasearch.so
#36 0x00007f0239a111c0 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () at /usr/lib64/libKF5CoreAddons.so.5
#37 0x00007f023c8de4cc in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () at /usr/lib64/libKF5KCMUtils.so.5
#38 0x00007f023c8e4a2c in  () at /usr/lib64/libKF5KCMUtils.so.5
#39 0x00007f023c8e5234 in  () at /usr/lib64/libKF5KCMUtils.so.5
#40 0x00007f023c8e5605 in KCModuleProxy::realModule() const () at /usr/lib64/libKF5KCMUtils.so.5
#41 0x00007f023c8e5b33 in KCModuleProxy::showEvent(QShowEvent*) () at /usr/lib64/libKF5KCMUtils.so.5
#42 0x00007f023b09db12 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#43 0x00007f023b05dbac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#44 0x00007f023b062a00 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#45 0x00007f02395914b5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#46 0x00007f023b09ad3b in QWidgetPrivate::show_helper() () at /usr/lib64/libQt5Widgets.so.5
#47 0x00007f023b09ac7a in QWidgetPrivate::showChildren(bool) () at /usr/lib64/libQt5Widgets.so.5
#48 0x00007f023b09acff in QWidgetPrivate::show_helper() () at /usr/lib64/libQt5Widgets.so.5
#49 0x00007f023b09cd77 in QWidget::setVisible(bool) () at /usr/lib64/libQt5Widgets.so.5
#50 0x00007f023b09ac90 in QWidgetPrivate::showChildren(bool) () at /usr/lib64/libQt5Widgets.so.5
#51 0x00007f023b09acff in QWidgetPrivate::show_helper() () at /usr/lib64/libQt5Widgets.so.5
#52 0x00007f023b09cd77 in QWidget::setVisible(bool) () at /usr/lib64/libQt5Widgets.so.5
#53 0x00007f023b0825bf in QStackedLayout::setCurrentIndex(int) () at /usr/lib64/libQt5Widgets.so.5
#54 0x00007f023b0827b4 in QStackedLayout::setCurrentWidget(QWidget*) () at /usr/lib64/libQt5Widgets.so.5
#55 0x00007f023b1ec081 in QStackedWidget::setCurrentWidget(QWidget*) () at /usr/lib64/libQt5Widgets.so.5
#56 0x00007f023b849c3c in  () at /usr/lib64/libKF5WidgetsAddons.so.5
#57 0x00007f02395c0d46 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#58 0x00007f0239546957 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib64/libQt5Core.so.5
#59 0x00007f023954c6ba in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib64/libQt5Core.so.5
#60 0x00007f023954d554 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQt5Core.so.5
#61 0x00007f023954844c in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQt5Core.so.5
#62 0x00007f0239546c3b in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQt5Core.so.5
#63 0x00007f023b848d07 in  () at /usr/lib64/libKF5WidgetsAddons.so.5
#64 0x00007f023b849ab5 in  () at /usr/lib64/libKF5WidgetsAddons.so.5
#65 0x00007f02395c0d46 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#66 0x00007f023963be66 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () at /usr/lib64/libQt5Core.so.5
#67 0x00007f023b84f8d7 in KPageWidgetModel::addPage(KPageWidgetItem*) () at /usr/lib64/libKF5WidgetsAddons.so.5
#68 0x00007f023cb16827 in ModuleView::addModule(KCModuleInfo*) () at /usr/lib64/libsystemsettingsview.so.3
#69 0x00007f023cb16b88 in ModuleView::loadModule(QModelIndex) () at /usr/lib64/libsystemsettingsview.so.3
#70 0x00007f021b511b50 in  () at /usr/lib64/qt5/plugins/icon_mode.so
#71 0x00007f02395c0d46 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#72 0x00007f023b2a00d5 in QAbstractItemView::activated(QModelIndex const&) () at /usr/lib64/libQt5Widgets.so.5
#73 0x00007f023b2a801e in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#74 0x00007f023b2caace in QListView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#75 0x00007f02386bc853 in KCategorizedView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libKF5ItemViews.so.5
#76 0x00007f023b09d911 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#77 0x00007f023b19492e in QFrame::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#78 0x00007f023b2adc2b in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#79 0x00007f02395916f3 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#80 0x00007f023b05db8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#81 0x00007f023b0634ab in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#82 0x00007f02395914b5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#83 0x00007f023b061ef1 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQt5Widgets.so.5
#84 0x00007f023b0b4f26 in  () at /usr/lib64/libQt5Widgets.so.5
#85 0x00007f023b0b6e3b in  () at /usr/lib64/libQt5Widgets.so.5
#86 0x00007f023b05dbac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#87 0x00007f023b062a00 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#88 0x00007f02395914b5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#89 0x00007f023a8d390a in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#90 0x00007f023a8d5135 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#91 0x00007f023a8bb998 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#92 0x00007f022cc73300 in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#93 0x00007f0234b3cc74 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#94 0x00007f0234b3cec8 in  () at /usr/lib64/libglib-2.0.so.0
#95 0x00007f0234b3cf6c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#96 0x00007f02395e87fc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#97 0x00007f023958f40b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#98 0x00007f0239596a96 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#99 0x000000000041030f in main ()

Reported using DrKonqi
Comment 1 Gennady Uraltsev 2015-06-21 19:41:58 UTC
I found the culprit. It is 
krunner_calculatorrunner.so

removing it from /usr/lib64/qt5/plugins makes the search config not crash any more and also makes krunner not crash anymore (it was also crashing due to the same reason). 

I am running plasma5-workspace version 5.3.1-2.1 on OpenSUSE Tumbleweed
Comment 2 Hrvoje Senjan 2015-06-23 09:22:00 UTC
Should be re-assigned to krunner/calculator product/component
Comment 3 seleko 2015-12-11 08:30:29 UTC
looks like now1 worried. same error it 5.5
krunner: symbol lookup error: /usr/lib64/qt5/plugins/krunner_calculatorrunner.so: undefined symbol: _ZN10Calculator9calculateENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK17EvaluationOptionsP13MathStructureSA_b
Comment 4 seleko 2015-12-11 09:29:42 UTC
(In reply to seleko from comment #3)
> looks like now1 worried. same error it 5.5
> krunner: symbol lookup error:
> /usr/lib64/qt5/plugins/krunner_calculatorrunner.so: undefined symbol:
> _ZN10Calculator9calculateENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE
> ERK17EvaluationOptionsP13MathStructureSA_b

looks like its very libqalculate5 dependent. played around and libqalculate5-0.9.7-19.14.x86_64 made feel happy. dunno should it be solved at Opensuse dependencies level.
Comment 5 Wolfgang Bauer 2015-12-22 15:02:45 UTC
(In reply to seleko from comment #3)
> looks like now1 worried. same error it 5.5
> krunner: symbol lookup error:
> /usr/lib64/qt5/plugins/krunner_calculatorrunner.so: undefined symbol:
> _ZN10Calculator9calculateENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE
> ERK17EvaluationOptionsP13MathStructureSA_b

This is not at all the "same error".

(In reply to seleko from comment #4)
> looks like its very libqalculate5 dependent. played around and
> libqalculate5-0.9.7-19.14.x86_64 made feel happy. dunno should it be solved
> at Opensuse dependencies level.

Why are you reporting it here then and not at openSUSE's bugzilla?
But make sure first that your system is fully up-to-date, and that you don't use incompatible repos.
Comment 6 Andrew Crouthamel 2018-11-01 13:47:28 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2018-11-16 11:34:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2018-12-01 03:48:50 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!