Bug 424150

Summary: KRunner immediatly crashes on entering non white-space characters
Product: [Plasma] krunner Reporter: Fabian <tonymt00>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.19.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fabian 2020-07-13 11:41:30 UTC
Application: krunner (5.19.3)

Qt Version: 5.14.2
Frameworks Version: 5.72.0
Operating System: Linux 5.7.8-050708-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.19

-- Information about the crash:
- What I was doing when the application crashed:
I just started to type a non white space character. Everytime I do, KRunner crashes.
- Custom settings of the application:
I'm using Latte Dock git version.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007ff12eaf60f4 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/krunner_ktp_contacts.so
#6  0x00007ff1662e94b9 in doActivate<false> (sender=0x55fb34d56ee0, signal_index=3, argv=0x7fff53b2b460) at kernel/qobject.cpp:3882
#7  0x00007ff1662e3f92 in QMetaObject::activate (sender=sender@entry=0x55fb34d56ee0, m=m@entry=0x7ff13a8c06a0 <Plasma::AbstractRunner::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3930
#8  0x00007ff13a696ce0 in Plasma::AbstractRunner::prepare (this=this@entry=0x55fb34d56ee0) at ./obj-x86_64-linux-gnu/src/KF5Runner_autogen/include/moc_abstractrunner.cpp:225
#9  0x00007ff13a6b5aa8 in Plasma::RunnerManagerPrivate::loadInstalledRunner (this=this@entry=0x55fb32e73fc0, pluginMetaData=...) at ./src/runnermanager.cpp:401
#10 0x00007ff13a6b6f9b in Plasma::RunnerManagerPrivate::loadRunners (this=0x55fb32e73fc0) at ./src/runnermanager.cpp:270
#11 0x00007ff13a6b362d in Plasma::RunnerManager::launchQuery (this=0x55fb32e73210, untrimmedTerm=..., runnerName=...) at ./src/runnermanager.cpp:913
#12 0x00007ff13a6b37a7 in Plasma::RunnerManager::launchQuery (this=<optimized out>, term=...) at ./src/runnermanager.cpp:883
#13 0x00007ff13ab1c96d in Milou::RunnerResultsModel::setQueryString (this=0x55fb32e73e60, queryString=...) at ./lib/runnerresultsmodel.cpp:194
#14 0x00007ff13ab1932d in Milou::ResultsModel::setQueryString (this=<optimized out>, queryString=...) at ./lib/resultsmodel.cpp:370
#15 0x00007ff13ab26c6a in Milou::ResultsModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/lib/milou_autogen/EWIEGA46WW/moc_resultsmodel.cpp:228
#16 0x00007ff1690add1f in QQmlPropertyData::writeProperty (flags=..., value=0x7fff53b2b868, target=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:286
#17 GenericBinding<10>::doStore<QString> (flags=..., pd=<optimized out>, value=..., this=0x55fb32e87f80) at qml/qqmlbinding.cpp:334
#18 GenericBinding<10>::write (this=0x55fb32e87f80, result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:315
#19 0x00007ff1690ae44a in QQmlNonbindingBinding::doUpdate (this=0x55fb32e87f80, watcher=..., flags=..., scope=...) at qml/qqmlbinding.cpp:250
#20 0x00007ff1690ab032 in QQmlBinding::update (this=0x55fb32e87f80, flags=...) at qml/qqmlbinding.cpp:186
#21 0x00007ff169084322 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:104
#22 0x00007ff169032119 in QQmlData::signalEmitted (object=0x55fb32d9b8c0, index=<optimized out>, a=0x0) at qml/qqmlengine.cpp:858
#23 0x00007ff1662e9314 in doActivate<false> (sender=0x55fb32d9b8c0, signal_index=32, argv=0x0) at kernel/qobject.cpp:3762
#24 0x00007ff16902d851 in QQmlVMEMetaObject::metaCall (this=0x55fb32d59940, o=<optimized out>, c=<optimized out>, _id=<optimized out>, a=<optimized out>) at qml/qqmlvmemetaobject.cpp:782
#25 0x00007ff168f7585d in QV4::QObjectWrapper::setProperty (engine=engine@entry=0x55fb32cb6370, object=object@entry=0x55fb32d9b8c0, property=0x7ff1341f7fe8, value=...) at jsruntime/qv4qobjectwrapper.cpp:542
#26 0x00007ff168f75b4e in QV4::QObjectWrapper::setQmlProperty (engine=0x55fb32cb6370, qmlContext=<optimized out>, object=0x55fb32d9b8c0, name=<optimized out>, revisionMode=QV4::QObjectWrapper::IgnoreRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:435
#27 0x00007ff168f75c9b in QV4::QObjectWrapper::virtualPut (m=0x7ff140d09668, id=..., value=..., receiver=0x7ff140d09668) at jsruntime/qv4qobjectwrapper.cpp:721
#28 0x00007ff168f3b8a9 in QV4::Object::put (receiver=0x7ff140d09668, v=..., id=..., this=0x7ff140d09668) at jsruntime/qv4object_p.h:324
#29 QV4::Object::virtualResolveLookupSetter (object=0x7ff140d09668, engine=0x55fb32cb6370, lookup=0x55fb32e158c0, value=...) at jsruntime/qv4object.cpp:804
#30 0x00007ff168f8e978 in QV4::Moth::VME::interpret (frame=0x7fff53b2d910, engine=0x55fb32cb6370, code=0x7ff15407deff ".FM|") at jsruntime/qv4vme_moth.cpp:653
#31 0x00007ff168f93686 in QV4::Moth::VME::exec (frame=frame@entry=0x7fff53b2d910, engine=engine@entry=0x55fb32cb6370) at jsruntime/qv4vme_moth.cpp:463
#32 0x00007ff168f25faa in QV4::Function::call (this=this@entry=0x55fb32dae140, thisObject=thisObject@entry=0x7ff140d095f0, argv=argv@entry=0x7ff140d09608, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:69
#33 0x00007ff1690a3e57 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x55fb32d02710, callData=callData@entry=0x7ff140d095d8, isUndefined=isUndefined@entry=0x0) at qml/qqmljavascriptexpression.cpp:211
#34 0x00007ff16904df69 in QQmlBoundSignalExpression::evaluate (this=this@entry=0x55fb32d02710, a=a@entry=0x0) at qml/qqmlboundsignal.cpp:223
#35 0x00007ff16904f1bb in QQmlBoundSignal_callback (e=0x55fb32d3b6b0, a=0x0) at qml/qqmlboundsignal.cpp:356
#36 0x00007ff169084322 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:104
#37 0x00007ff169032119 in QQmlData::signalEmitted (object=0x55fb32d98a80, index=<optimized out>, a=0x0) at qml/qqmlengine.cpp:858
#38 0x00007ff1662e9314 in doActivate<false> (sender=0x55fb32d98a80, signal_index=61, argv=argv@entry=0x0) at kernel/qobject.cpp:3762
#39 0x00007ff1662e4169 in QMetaObject::activate (sender=<optimized out>, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=argv@entry=0x0) at kernel/qobject.cpp:3943
#40 0x00007ff16902bfe5 in QQmlVMEMetaObject::activate (this=<optimized out>, object=<optimized out>, index=<optimized out>, args=args@entry=0x0) at qml/qqmlvmemetaobject.cpp:1212
#41 0x00007ff16902c188 in QQmlVMEMetaObjectEndpoint::tryConnect (this=0x55fb32cb7460) at qml/qqmlvmemetaobject.cpp:155
#42 0x00007ff169084322 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:104
#43 0x00007ff169032119 in QQmlData::signalEmitted (object=0x55fb32d985d0, index=<optimized out>, a=0x0) at qml/qqmlengine.cpp:858
#44 0x00007ff1662e9314 in doActivate<false> (sender=0x55fb32d985d0, signal_index=30, argv=0x0) at kernel/qobject.cpp:3762
#45 0x00007ff1662e3f92 in QMetaObject::activate (sender=sender@entry=0x55fb32d985d0, m=m@entry=0x7ff169d74b40 <QQuickTextInput::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3930
#46 0x00007ff169917060 in QQuickTextInput::textChanged (this=this@entry=0x55fb32d985d0) at .moc/moc_qquicktextinput_p.cpp:1314
#47 0x00007ff16991fec3 in QQuickTextInputPrivate::finishChange (this=this@entry=0x55fb32d0d440, validateFromState=validateFromState@entry=-1, update=update@entry=true, edited=edited@entry=false) at items/qquicktextinput.cpp:3614
#48 0x00007ff16992164c in QQuickTextInputPrivate::internalSetText (this=this@entry=0x55fb32d0d440, txt=..., pos=pos@entry=-1, edited=edited@entry=false) at items/qquicktextinput.cpp:3670
#49 0x00007ff169924266 in QQuickTextInput::setText (this=<optimized out>, s=...) at items/qquicktextinput.cpp:148
#50 0x00007ff169925172 in QQuickTextInput::qt_static_metacall (_o=_o@entry=0x55fb32d985d0, _c=_c@entry=QMetaObject::WriteProperty, _id=_id@entry=0, _a=_a@entry=0x7fff53b316e0) at .moc/moc_qquicktextinput_p.cpp:1204
#51 0x00007ff169925713 in QQuickTextInput::qt_metacall (this=0x55fb32d985d0, _c=QMetaObject::WriteProperty, _id=0, _a=0x7fff53b316e0) at .moc/moc_qquicktextinput_p.cpp:1294
#52 0x00007ff16902d3b2 in QQmlVMEMetaObject::metaCall (this=0x55fb32d5edf0, o=<optimized out>, c=QMetaObject::WriteProperty, _id=44, a=0x7fff53b316e0) at qml/qqmlvmemetaobject.cpp:947
#53 0x00007ff16902e539 in QQmlVMEMetaObject::metaCall (this=0x55fb32d37e50, o=<optimized out>, c=QMetaObject::WriteProperty, _id=<optimized out>, a=0x7fff53b316e0) at qml/qqmlvmemetaobject.cpp:856
#54 0x00007ff16902d5a9 in QQmlVMEMetaObject::metaCall (this=0x55fb32cb6bc0, o=<optimized out>, c=QMetaObject::WriteProperty, _id=73, a=0x7fff53b316e0) at qml/qqmlvmemetaobject.cpp:945
#55 0x00007ff16902d5a9 in QQmlVMEMetaObject::metaCall (this=0x55fb32cb69b0, o=<optimized out>, c=QMetaObject::WriteProperty, _id=73, a=0x7fff53b316e0) at qml/qqmlvmemetaobject.cpp:945
#56 0x00007ff168f7585d in QV4::QObjectWrapper::setProperty (engine=engine@entry=0x55fb32cb6370, object=object@entry=0x55fb32d98a80, property=0x7ff13418c1c8, value=...) at jsruntime/qv4qobjectwrapper.cpp:542
#57 0x00007ff168f75b4e in QV4::QObjectWrapper::setQmlProperty (engine=0x55fb32cb6370, qmlContext=<optimized out>, object=0x55fb32d98a80, name=<optimized out>, revisionMode=QV4::QObjectWrapper::IgnoreRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:435
#58 0x00007ff168f75c9b in QV4::QObjectWrapper::virtualPut (m=0x7ff140d09570, id=..., value=..., receiver=0x7ff140d09570) at jsruntime/qv4qobjectwrapper.cpp:721
#59 0x00007ff168f3b8a9 in QV4::Object::put (receiver=0x7ff140d09570, v=..., id=..., this=0x7ff140d09570) at jsruntime/qv4object_p.h:324
#60 QV4::Object::virtualResolveLookupSetter (object=0x7ff140d09570, engine=0x55fb32cb6370, lookup=0x55fb32e18170, value=...) at jsruntime/qv4object.cpp:804
#61 0x00007ff168f8e978 in QV4::Moth::VME::interpret (frame=0x7fff53b31a80, engine=0x55fb32cb6370, code=0x7ff15407f672 "/\037\001") at jsruntime/qv4vme_moth.cpp:653
#62 0x00007ff168f93686 in QV4::Moth::VME::exec (frame=frame@entry=0x7fff53b31a80, engine=engine@entry=0x55fb32cb6370) at jsruntime/qv4vme_moth.cpp:463
#63 0x00007ff168f25faa in QV4::Function::call (this=this@entry=0x55fb32dad600, thisObject=thisObject@entry=0x7ff140d094f0, argv=argv@entry=0x7ff140d09508, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:69
#64 0x00007ff1690a3e57 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x55fb32ea2b00, callData=callData@entry=0x7ff140d094d8, isUndefined=isUndefined@entry=0x0) at qml/qqmljavascriptexpression.cpp:211
#65 0x00007ff16904df69 in QQmlBoundSignalExpression::evaluate (this=this@entry=0x55fb32ea2b00, a=a@entry=0x7fff53b337f0) at qml/qqmlboundsignal.cpp:223
#66 0x00007ff16904f1bb in QQmlBoundSignal_callback (e=0x55fb32ea2570, a=0x7fff53b337f0) at qml/qqmlboundsignal.cpp:356
#67 0x00007ff169084322 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x7fff53b337f0) at qml/qqmlnotifier.cpp:104
#68 0x00007ff169032119 in QQmlData::signalEmitted (object=0x55fb32ebdac0, index=<optimized out>, a=0x7fff53b337f0) at qml/qqmlengine.cpp:858
#69 0x00007ff1662e9314 in doActivate<false> (sender=0x55fb32ebdac0, signal_index=5, argv=0x7fff53b337f0) at kernel/qobject.cpp:3762
#70 0x00007ff1662e3f92 in QMetaObject::activate (sender=sender@entry=0x55fb32ebdac0, m=m@entry=0x7ff169d6dd20 <QQuickKeysAttached::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff53b337f0) at kernel/qobject.cpp:3930
#71 0x00007ff16989b761 in QQuickKeysAttached::pressed (_t1=<optimized out>, this=0x55fb32ebdac0) at .moc/moc_qquickitem_p.cpp:2072
#72 QQuickKeysAttached::keyPressed (this=0x55fb32ebdac0, event=0x7fff53b340e0, post=<optimized out>) at items/qquickitem.cpp:1411
#73 0x00007ff16989a55f in QQuickItemPrivate::filterKeyEvent (this=this@entry=0x55fb32ea0910, e=e@entry=0x7fff53b340e0, post=post@entry=false) at items/qquickitem.cpp:5188
#74 0x00007ff1698a9065 in QQuickItemPrivate::deliverKeyEvent (this=0x55fb32ea0910, e=0x7fff53b340e0) at items/qquickitem.cpp:5200
#75 0x00007ff1698a93b5 in QQuickItem::event (this=0x55fb32ea0850, ev=0x7fff53b340e0) at items/qquickitem.cpp:8114
#76 0x00007ff16742d9ac in QApplicationPrivate::notify_helper (this=this@entry=0x55fb327e5300, receiver=receiver@entry=0x55fb32ea0850, e=e@entry=0x7fff53b340e0) at kernel/qapplication.cpp:3685
#77 0x00007ff167434bb0 in QApplication::notify (this=0x7fff53b344c0, receiver=0x55fb32ea0850, e=0x7fff53b340e0) at kernel/qapplication.cpp:3431
#78 0x00007ff1662ae4a8 in QCoreApplication::notifyInternal2 (receiver=0x55fb32ea0850, event=0x7fff53b340e0) at kernel/qcoreapplication.cpp:1075
#79 0x00007ff1662ae67e in QCoreApplication::sendEvent (receiver=receiver@entry=0x55fb32ea0850, event=event@entry=0x7fff53b340e0) at kernel/qcoreapplication.cpp:1470
#80 0x00007ff1698b613f in QQuickWindowPrivate::deliverKeyEvent (this=this@entry=0x55fb32858ab0, e=e@entry=0x7fff53b340e0) at items/qquickwindow.cpp:1806
#81 0x00007ff1698bb5bf in QQuickWindow::keyPressEvent (this=<optimized out>, e=0x7fff53b340e0) at items/qquickwindow.cpp:1782
#82 0x00007ff1668b6c05 in QWindow::event (this=this@entry=0x7fff53b34520, ev=ev@entry=0x7fff53b340e0) at kernel/qwindow.cpp:2363
#83 0x00007ff1698c6975 in QQuickWindow::event (this=this@entry=0x7fff53b34520, e=e@entry=0x7fff53b340e0) at items/qquickwindow.cpp:1773
#84 0x00007ff16a41c18b in PlasmaQuick::Dialog::event (this=0x7fff53b34520, event=0x7fff53b340e0) at ./src/plasmaquick/dialog.cpp:1363
#85 0x000055fb3090f41f in View::event (this=0x7fff53b34520, event=0x7fff53b340e0) at ./krunner/view.cpp:173
#86 0x00007ff16742d9ac in QApplicationPrivate::notify_helper (this=this@entry=0x55fb327e5300, receiver=receiver@entry=0x7fff53b34520, e=e@entry=0x7fff53b340e0) at kernel/qapplication.cpp:3685
#87 0x00007ff167434bb0 in QApplication::notify (this=0x7fff53b344c0, receiver=0x7fff53b34520, e=0x7fff53b340e0) at kernel/qapplication.cpp:3431
#88 0x00007ff1662ae4a8 in QCoreApplication::notifyInternal2 (receiver=0x7fff53b34520, event=0x7fff53b340e0) at kernel/qcoreapplication.cpp:1075
#89 0x00007ff1662ae68e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x7fff53b34520, event=event@entry=0x7fff53b340e0) at kernel/qcoreapplication.cpp:1482
#90 0x00007ff1668a805b in QGuiApplicationPrivate::processKeyEvent (e=0x55fb348813f0) at kernel/qguiapplication.cpp:2335
#91 0x00007ff1668ac9c5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55fb348813f0) at kernel/qguiapplication.cpp:1941
#92 0x00007ff1668851cb in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1170
#93 0x00007ff15871bf9a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#94 0x00007ff1605b9417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#95 0x00007ff1605b9650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#96 0x00007ff1605b96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#97 0x00007ff16630d7ac in QEventDispatcherGlib::processEvents (this=0x55fb32853270, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#98 0x00007ff1662acd2a in QEventLoop::exec (this=this@entry=0x7fff53b343e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#99 0x00007ff1662b64a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#100 0x000055fb3090ddad in main (argc=<optimized out>, argv=<optimized out>) at ./krunner/main.cpp:120

The reporter indicates this bug may be a duplicate of or related to bug 423003.

Possible duplicates by query: bug 424122, bug 423891, bug 423729, bug 423610, bug 423132.

Reported using DrKonqi
Comment 1 Christoph Feck 2020-07-13 12:07:02 UTC

*** This bug has been marked as a duplicate of bug 423003 ***
Comment 2 Fabian 2020-07-14 11:27:27 UTC
I‘ve just disabled the PIM Contacts Search plugin but KRunner is still crashing on my side. I‘ve tried yesterday with only the Applications plugin enabled. This worked fine. 

After that, I enabled one plugin after another and tried again. I do had the cruel behavior that re enabling the plugins didn‘t have an effect. E.g. after enabling the web shortcuts plugin I wasn‘t able to trigger a web search as usual. 

After log out and log in again, I have again the problem that KRunner is crashing all the time.