Bug 428939

Summary: Krunner crashes when entering text
Product: [Plasma] krunner Reporter: Norbert Papke <kdebugs>
Component: generalAssignee: Alexander Lohnau <alexander.lohnau>
Status: RESOLVED DUPLICATE    
Severity: crash CC: alexander.lohnau, eldin00, nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.19.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Norbert Papke 2020-11-10 17:53:21 UTC
Application: krunner (5.19.5)

Qt Version: 5.15.1
Frameworks Version: 5.73.0
Operating System: Linux 5.8.18-300.fc33.x86_64 x86_64
Windowing system: X11
Distribution: "Fedora release 33 (Thirty Three)"

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

I had opened krunner via Alt+Space.  Crash occurs immediately when I start to type.

Note: While these symptoms are the same as other bug reports, my backtrace is different.

The crash can be reproduced every time.

-- Backtrace:
Application: krunner (krunner), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f7ef3961fcc in __strchr_avx2 () from /lib64/libc.so.6
#5  0x00007f7ef59798ee in KDisplayManager::KDisplayManager() () from /lib64/libkworkspace5.so.5
#6  0x00007f7ec7d24be9 in QObject* KPluginFactory::createInstance<SessionRunner, QObject>(QWidget*, QObject*, QList<QVariant> const&) () from /usr/lib64/qt5/plugins/krunner_sessions.so
#7  0x00007f7ef4e48e42 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /lib64/libKF5CoreAddons.so.5
#8  0x00007f7ed8025fb2 in Plasma::RunnerManagerPrivate::loadInstalledRunner(KPluginMetaData const&) () from /lib64/libKF5Runner.so.5
#9  0x00007f7ed8026fac in Plasma::RunnerManagerPrivate::loadRunners() () from /lib64/libKF5Runner.so.5
#10 0x00007f7ed8029518 in Plasma::RunnerManager::launchQuery(QString const&, QString const&) () from /lib64/libKF5Runner.so.5
#11 0x00007f7ed8029729 in Plasma::RunnerManager::launchQuery(QString const&) () from /lib64/libKF5Runner.so.5
#12 0x00007f7ed80494d5 in Milou::ResultsModel::setQueryString(QString const&) () from /lib64/libmilou.so.5
#13 0x00007f7ef5244571 in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const () from /lib64/libQt5Qml.so.5
#14 0x00007f7ef52982af in GenericBinding<10>::write(QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) () from /lib64/libQt5Qml.so.5
#15 0x00007f7ef52a05fe in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () from /lib64/libQt5Qml.so.5
#16 0x00007f7ef52a13bc in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () from /lib64/libQt5Qml.so.5
#17 0x00007f7ef527f63d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#18 0x00007f7ef3e3c1d2 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#19 0x00007f7ef5240a1a in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libQt5Qml.so.5
#20 0x00007f7ef518828a in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () from /lib64/libQt5Qml.so.5
#21 0x00007f7ef5188778 in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) () from /lib64/libQt5Qml.so.5
#22 0x00007f7ef518890f in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) () from /lib64/libQt5Qml.so.5
#23 0x00007f7ef51612e9 in QV4::Object::virtualResolveLookupSetter(QV4::Object*, QV4::ExecutionEngine*, QV4::Lookup*, QV4::Value const&) () from /lib64/libQt5Qml.so.5
#24 0x00007f7ef51a0725 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#26 0x00007f7ef51465ed in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#27 0x00007f7ef529e2f1 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#28 0x00007f7ef525aff1 in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#29 0x00007f7ef525ca23 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#30 0x00007f7ef527f63d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#31 0x00007f7ef3e3c1d2 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#32 0x00007f7ef527f63d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#33 0x00007f7ef3e3c1d2 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#34 0x00007f7ef56aad36 in QQuickTextInputPrivate::finishChange(int, bool, bool) () from /lib64/libQt5Quick.so.5
#35 0x00007f7ef56adaad in QQuickTextInputPrivate::processKeyEvent(QKeyEvent*) () from /lib64/libQt5Quick.so.5
#36 0x00007f7ef56a053a in QQuickTextInput::keyPressEvent(QKeyEvent*) () from /lib64/libQt5Quick.so.5
#37 0x00007f7ef565bb8e in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () from /lib64/libQt5Quick.so.5
#38 0x00007f7ef5664b88 in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#39 0x00007f7ef488b15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#40 0x00007f7ef3e0dbf8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#41 0x00007f7ef56730cf in QQuickWindowPrivate::deliverKeyEvent(QKeyEvent*) () from /lib64/libQt5Quick.so.5
#42 0x00007f7ef420ebd5 in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#43 0x00005626dbe1ae0f in View::event(QEvent*) ()
#44 0x00007f7ef488b15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#45 0x00007f7ef3e0dbf8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#46 0x00007f7ef4200112 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /lib64/libQt5Gui.so.5
#47 0x00007f7ef41e594b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#48 0x00007f7ee21b22aa in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#49 0x00007f7ef24dbfd7 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#50 0x00007f7ef252cd88 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#51 0x00007f7ef24d941f in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#52 0x00007f7ef3e58a2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#53 0x00007f7ef3e0c65b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#54 0x00007f7ef3e14020 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#55 0x00005626dbe19977 in main ()
[Inferior 1 (process 1311244) detached]

Possible duplicates by query: bug 428459, bug 428403, bug 427983, bug 427384, bug 427132.

Reported using DrKonqi
Comment 1 eldin00 2020-11-11 08:01:01 UTC
Created attachment 133215 [details]
New crash information added by DrKonqi

krunner (5.19.5) using Qt 5.15.1

- What I was doing when the application crashed:

Begin typing in the krunner search box, whether it was brought up with the hotkey, or the search box at the top of the application launcher. krunner crashes about 1 second after first character is typed.

-- Backtrace (Reduced):
#5  0x00007fc0ba57d8ee in KDisplayManager::KDisplayManager() () from /lib64/libkworkspace5.so.5
#6  0x00007fc080276be9 in QObject* KPluginFactory::createInstance<SessionRunner, QObject>(QWidget*, QObject*, QList<QVariant> const&) () from /usr/lib64/qt5/plugins/krunner_sessions.so
#7  0x00007fc0b9a4ce42 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /lib64/libKF5CoreAddons.so.5
#8  0x00007fc09c198fb2 in Plasma::RunnerManagerPrivate::loadInstalledRunner(KPluginMetaData const&) () from /lib64/libKF5Runner.so.5
#9  0x00007fc09c199fac in Plasma::RunnerManagerPrivate::loadRunners() () from /lib64/libKF5Runner.so.5
Comment 2 Nate Graham 2020-11-11 21:31:59 UTC
Alexander, is this one of the crashes you fixed in Plasma 5.20?
Comment 3 Alexander Lohnau 2020-11-11 21:37:46 UTC
No, I don't think it is.
Comment 4 Alexander Lohnau 2020-11-11 21:38:01 UTC

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