Bug 425481

Summary: krunner crash wile typing 1st character after Alt-F2
Product: [Plasma] krunner Reporter: Hartmut Manz <manz>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: alexander.lohnau, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.19.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hartmut Manz 2020-08-18 07:19:39 UTC
Application: krunner (5.19.4)

Qt Version: 5.14.2
Frameworks Version: 5.72.0
Operating System: Linux 5.4.0-42-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:

Type Alt-F2
Now start typing the command like kpat

After typing the first character and before any character is shown in the krunner applet it crashs.

The crash can be reproduced every time.

-- Backtrace:
Application: krunner (krunner), signal: Bus error

[KCrash Handler]
#4  QReadWriteLock::tryLockForRead (this=0x55d014f2f010, timeout=-1) at thread/qreadwritelock.cpp:263
#5  0x00007f5f722c7af2 in QReadLocker::relock (this=<synthetic pointer>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qreadwritelock.h:113
#6  QReadLocker::QReadLocker (areadWriteLock=<optimized out>, this=<synthetic pointer>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qreadwritelock.h:125
#7  Plasma::QueryMatch::urls (this=this@entry=0x55d015160400) at ./src/querymatch.cpp:264
#8  0x00007f5f722b522c in Plasma::AbstractRunner::mimeDataForMatch (this=<optimized out>, match=...) at ./src/abstractrunner.cpp:226
#9  0x00007f5f722d553a in Plasma::RunnerManagerPrivate::loadInstalledRunner (this=this@entry=0x55d0154e7aa0, pluginMetaData=...) at ./src/runnermanager.cpp:399
#10 0x00007f5f722d6e9c in Plasma::RunnerManagerPrivate::loadRunners (this=0x55d0154e7aa0) at ./src/runnermanager.cpp:270
#11 0x00007f5f722d322b in Plasma::RunnerManager::launchQuery (this=0x55d01560a880, untrimmedTerm=..., runnerName=...) at ./src/runnermanager.cpp:913
#12 0x00007f5f722d389b in Plasma::RunnerManager::launchQuery (this=<optimized out>, term=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:257
#13 0x00007f5f723458c5 in Milou::RunnerResultsModel::setQueryString (this=0x55d0156a5200, queryString=...) at ./lib/runnerresultsmodel.cpp:194
#14 0x00007f5f72342081 in Milou::ResultsModel::setQueryString (this=<optimized out>, queryString=...) at ./lib/resultsmodel.cpp:370
#15 0x00007f5f7233cd0e in Milou::ResultsModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffca995f130) at ./obj-x86_64-linux-gnu/lib/milou_autogen/EWIEGA46WW/moc_resultsmodel.cpp:228
#16 0x00007f5f8292d6cf in QQmlPropertyData::writeProperty (flags=..., value=0x7ffca995f108, 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=0x55d0151b1ac0) at qml/qqmlbinding.cpp:334
#18 GenericBinding<10>::write (this=0x55d0151b1ac0, result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:315
#19 0x00007f5f8292de93 in QQmlNonbindingBinding::doUpdate (this=0x55d0151b1ac0, watcher=..., flags=..., scope=...) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4scopedvalue_p.h:239
#20 0x00007f5f8292ac52 in QQmlBinding::update (this=0x55d0151b1ac0, flags=...) at qml/qqmlbinding.cpp:186
#21 0x00007f5f829053dd in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:104
#22 0x00007f5f828ad294 in QQmlData::signalEmitted (object=0x55d01585bd40, index=32, a=0x0) at qml/qqmlengine.cpp:858
#23 0x00007f5f812a80a5 in doActivate<false> (sender=0x55d01585bd40, signal_index=32, argv=0x0) at kernel/qobject_p.h:110
#24 0x00007f5f828a8a68 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:375
#25 0x00007f5f827e588a in QV4::QObjectWrapper::setProperty (engine=0x55d0150e3870, object=0x55d01585bd40, property=0x7f5f68204ad8, value=...) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:196
#26 0x00007f5f827e61be in QV4::QObjectWrapper::setQmlProperty (engine=0x55d0150e3870, qmlContext=<optimized out>, object=0x55d01585bd40, name=<optimized out>, revisionMode=QV4::QObjectWrapper::IgnoreRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:435
#27 0x00007f5f827e6337 in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) () at /usr/include/c++/9/bits/atomic_base.h:413
#28 0x00007f5f827aa094 in QV4::Object::put (receiver=0x7f5f729b0560, v=..., id=..., this=0x7f5f729b0560) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/memory/qv4heap_p.h:73
#29 QV4::Object::virtualResolveLookupSetter (object=0x7f5f729b0560, engine=0x55d0150e3870, lookup=0x55d015a1f5d0, value=...) at jsruntime/qv4object.cpp:804
#30 0x00007f5f827fffc6 in QV4::Moth::VME::interpret (frame=0x7ffca99611a0, engine=0x55d0150e3870, code=0x7f5f78111eff ".FM|") at jsruntime/qv4vme_moth.cpp:653
#31 0x00007f5f828053ef in QV4::Moth::VME::exec (frame=frame@entry=0x7ffca99611a0, engine=engine@entry=0x55d0150e3870) at jsruntime/qv4vme_moth.cpp:463
#32 0x00007f5f82794dcd in QV4::Function::call (this=this@entry=0x55d0157c6b40, thisObject=<optimized out>, argv=argv@entry=0x7f5f729b0500, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:69
#33 0x00007f5f82923b47 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x55d01574f580, callData=callData@entry=0x7f5f729b04d0, isUndefined=isUndefined@entry=0x0) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:343
#34 0x00007f5f828ca8de in QQmlBoundSignalExpression::evaluate (this=<optimized out>, a=<optimized out>) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#35 0x00007f5f828cb978 in QQmlBoundSignal_callback (e=0x55d015170dd0, a=0x0) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#36 0x00007f5f829053dd in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:104
#37 0x00007f5f828ad294 in QQmlData::signalEmitted (object=0x55d015216950, index=61, a=0x0) at qml/qqmlengine.cpp:858
#38 0x00007f5f812a80a5 in doActivate<false> (sender=0x55d015216950, signal_index=61, argv=0x0) at kernel/qobject_p.h:110
#39 0x00007f5f828a6f40 in QQmlVMEMetaObjectEndpoint::tryConnect (this=0x55d0151d3570) at qml/qqmlvmemetaobject.cpp:155
#40 0x00007f5f829053dd in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:104
#41 0x00007f5f828ad294 in QQmlData::signalEmitted (object=0x55d015217380, index=30, a=0x0) at qml/qqmlengine.cpp:858
#42 0x00007f5f812a80a5 in doActivate<false> (sender=0x55d015217380, signal_index=30, argv=0x0) at kernel/qobject_p.h:110
#43 0x00007f5f812a2af7 in QMetaObject::activate (sender=sender@entry=0x55d015217380, m=m@entry=0x7f5f83044b40 <QQuickTextInput::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3930
#44 0x00007f5f82dd0fc4 in QQuickTextInput::textChanged (this=this@entry=0x55d015217380) at .moc/moc_qquicktextinput_p.cpp:1314
#45 0x00007f5f82dd9e0a in QQuickTextInputPrivate::finishChange (this=0x55d01529b640, validateFromState=<optimized out>, update=<optimized out>, edited=<optimized out>) at items/qquicktextinput.cpp:3614
#46 0x00007f5f82dde017 in QQuickTextInputPrivate::processKeyEvent (this=this@entry=0x55d01529b640, event=event@entry=0x7ffca9965250) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:60
#47 0x00007f5f82dde0ee in QQuickTextInput::keyPressEvent (this=0x55d015217380, ev=0x7ffca9965250) at items/qquicktextinput.cpp:1522
#48 0x00007f5f82d5c54b in QQuickItemPrivate::deliverKeyEvent (this=0x55d01529b640, e=0x7ffca9965250) at items/qquickitem.cpp:5206
#49 0x00007f5f82d5c80e in QQuickItem::event (this=0x55d015217380, ev=0x7ffca9965250) at items/qquickitem.cpp:8114
#50 0x00007f5f81e22cc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55d014f4d5d0, receiver=receiver@entry=0x55d015217380, e=e@entry=0x7ffca9965250) at kernel/qapplication.cpp:3685
#51 0x00007f5f81e2bf40 in QApplication::notify (this=0x7ffca9965630, receiver=0x55d015217380, e=0x7ffca9965250) at kernel/qapplication.cpp:3431
#52 0x00007f5f8127278a in QCoreApplication::notifyInternal2 (receiver=0x55d015217380, event=0x7ffca9965250) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#53 0x00007f5f82d695ff in QQuickWindowPrivate::deliverKeyEvent (this=this@entry=0x55d014fc6fb0, e=e@entry=0x7ffca9965250) at items/qquickwindow.cpp:1806
#54 0x00007f5f82d6eee3 in QQuickWindow::keyPressEvent (this=<optimized out>, e=0x7ffca9965250) at items/qquickwindow.cpp:1782
#55 0x00007f5f816a096d in QWindow::event (this=this@entry=0x7ffca9965690, ev=ev@entry=0x7ffca9965250) at kernel/qwindow.cpp:2363
#56 0x00007f5f82d7be49 in QQuickWindow::event (this=this@entry=0x7ffca9965690, e=e@entry=0x7ffca9965250) at items/qquickwindow.cpp:1773
#57 0x00007f5f830ff753 in PlasmaQuick::Dialog::event (this=0x7ffca9965690, event=0x7ffca9965250) at ./src/plasmaquick/dialog.cpp:1363
#58 0x000055d0130a0553 in View::event (this=0x7ffca9965690, event=0x7ffca9965250) at ./krunner/view.cpp:173
#59 0x00007f5f81e22cc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55d014f4d5d0, receiver=receiver@entry=0x7ffca9965690, e=e@entry=0x7ffca9965250) at kernel/qapplication.cpp:3685
#60 0x00007f5f81e2bf40 in QApplication::notify (this=0x7ffca9965630, receiver=0x7ffca9965690, e=0x7ffca9965250) at kernel/qapplication.cpp:3431
#61 0x00007f5f8127278a in QCoreApplication::notifyInternal2 (receiver=0x7ffca9965690, event=0x7ffca9965250) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#62 0x00007f5f816917bb in QGuiApplicationPrivate::processKeyEvent (e=e@entry=0x7f5f7400a260) at kernel/qguiapplication.cpp:2335
#63 0x00007f5f816969cb in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x7f5f7400a260) at kernel/qguiapplication.cpp:1941
#64 0x00007f5f8166ed6b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1170
#65 0x00007f5f7ccdc51e in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#66 0x00007f5f7f768fbd in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f5f7f769240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007f5f7f7692e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007f5f812cb1e2 in QEventDispatcherGlib::processEvents (this=0x55d014fa7170, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#70 0x00007f5f8127124b in QEventLoop::exec (this=this@entry=0x7ffca9965550, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#71 0x00007f5f81279296 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#72 0x000055d01309eabf in main (argc=<optimized out>, argv=<optimized out>) at ./krunner/main.cpp:120
[Inferior 1 (process 29593) detached]

Possible duplicates by query: bug 425477, bug 422593, bug 395597, bug 394320.

Reported using DrKonqi
Comment 1 Alexander Lohnau 2020-08-18 13:13:46 UTC

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