Bug 425602

Summary: Krunner crashes after the last upgrade on Kde Neon
Product: [Plasma] krunner Reporter: David Tejada <tejada.c7>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: claus_chr, mcgillowen, plasma-bugs, sitter, yo
Priority: NOR Keywords: drkonqi
Version: 5.19.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description David Tejada 2020-08-20 16:39:20 UTC
Application: krunner (5.19.4)

Qt Version: 5.14.2
Frameworks Version: 5.73.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:

After an apgrade, every time I write on Krunner, crashes inmediatly. It does not work for nothing after the last upgrade.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  QReadWriteLock::tryLockForRead (this=0x563ef06de010, timeout=-1) at thread/qreadwritelock.cpp:263
#5  0x00007fdf8db49b72 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=0x563ef0d32690) at ./src/querymatch.cpp:264
#8  0x00007fdf8db372ac in Plasma::AbstractRunner::mimeDataForMatch (this=<optimized out>, match=...) at ./src/abstractrunner.cpp:225
#9  0x00007fdf8db577ba in Plasma::RunnerManagerPrivate::loadInstalledRunner (this=this@entry=0x563ef0b21970, pluginMetaData=...) at ./src/runnermanager.cpp:410
#10 0x00007fdf8db5911d in Plasma::RunnerManagerPrivate::loadRunners (this=0x563ef0b21970) at ./src/runnermanager.cpp:281
#11 0x00007fdf8db552ab in Plasma::RunnerManager::launchQuery (this=0x563ef0b20c10, untrimmedTerm=..., runnerName=...) at ./src/runnermanager.cpp:932
#12 0x00007fdf8db5591b in Plasma::RunnerManager::launchQuery (this=<optimized out>, term=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:257
#13 0x00007fdf9c0348c5 in Milou::RunnerResultsModel::setQueryString (this=0x563ef0b21810, queryString=...) at ./lib/runnerresultsmodel.cpp:194
#14 0x00007fdf9c031081 in Milou::ResultsModel::setQueryString (this=<optimized out>, queryString=...) at ./lib/resultsmodel.cpp:370
#15 0x00007fdf9c02bd0e in Milou::ResultsModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffef7ea2b10) at ./obj-x86_64-linux-gnu/lib/milou_autogen/EWIEGA46WW/moc_resultsmodel.cpp:228
#16 0x00007fdfa6dd16cf in QQmlPropertyData::writeProperty (flags=..., value=0x7ffef7ea2ae8, 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=0x563ef0b54130) at qml/qqmlbinding.cpp:334
#18 GenericBinding<10>::write (this=0x563ef0b54130, result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:315
#19 0x00007fdfa6dd1e93 in QQmlNonbindingBinding::doUpdate (this=0x563ef0b54130, watcher=..., flags=..., scope=...) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4scopedvalue_p.h:239
#20 0x00007fdfa6dcec52 in QQmlBinding::update (this=0x563ef0b54130, flags=...) at qml/qqmlbinding.cpp:186
#21 0x00007fdfa6da93dd in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:104
#22 0x00007fdfa6d51294 in QQmlData::signalEmitted (object=0x563ef09c92c0, index=32, a=0x0) at qml/qqmlengine.cpp:858
#23 0x00007fdfa574b0a5 in doActivate<false> (sender=0x563ef09c92c0, signal_index=32, argv=0x0) at kernel/qobject_p.h:110
#24 0x00007fdfa6d4ca68 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:375
#25 0x00007fdfa572274b in QMetaProperty::write (this=this@entry=0x7ffef7ea4890, object=object@entry=0x563ef09c92c0, value=...) at kernel/qmetaobject.cpp:3240
#26 0x00007fdfa574a19e in QObject::setProperty (this=this@entry=0x563ef09c92c0, name=name@entry=0x563eef9b7aa1 "query", value=...) at kernel/qobject.cpp:4054
#27 0x0000563eef9b50e6 in View::query (this=0x7ffef7ea5570, term=...) at ./krunner/view.cpp:314
#28 0x0000563eef9b6861 in AppAdaptor::qt_static_metacall (_a=0x7ffef7ea4a60, _id=3, _c=QMetaObject::InvokeMetaMethod, _o=0x563ef09bae80) at ./obj-x86_64-linux-gnu/krunner/appadaptor.moc:151
#29 AppAdaptor::qt_metacall (this=0x563ef09bae80, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffef7ea4a60) at ./obj-x86_64-linux-gnu/krunner/appadaptor.moc:151
#30 0x00007fdfa60e04ab in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:1001
#31 0x00007fdfa60e5937 in QDBusConnectionPrivate::activateCall (this=this@entry=0x7fdf90003a00, object=0x563ef09bae80, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:904
#32 0x00007fdfa60e61de in QDBusConnectionPrivate::activateCall (msg=..., flags=273, object=<optimized out>, this=0x7fdf90003a00) at qdbusintegrator.cpp:853
#33 QDBusConnectionPrivate::activateObject (pathStartPos=<optimized out>, msg=..., node=..., this=0x7fdf90003a00) at qdbusintegrator.cpp:1486
#34 QDBusConnectionPrivate::activateObject (this=0x7fdf90003a00, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1436
#35 0x00007fdfa60e8f2c in QDBusActivateObjectEvent::placeMetaCall (this=0x563ef074a890) at qdbusintegrator.cpp:1606
#36 0x00007fdfa57432a9 in QObject::event (this=this@entry=0x7ffef7ea5570, e=0x563ef074a890) at kernel/qobject.cpp:1339
#37 0x00007fdfa5b4394a in QWindow::event (this=this@entry=0x7ffef7ea5570, ev=ev@entry=0x563ef074a890) at kernel/qwindow.cpp:2379
#38 0x00007fdfa7222e49 in QQuickWindow::event (this=this@entry=0x7ffef7ea5570, e=e@entry=0x563ef074a890) at items/qquickwindow.cpp:1773
#39 0x00007fdfa75a6753 in PlasmaQuick::Dialog::event (this=0x7ffef7ea5570, event=0x563ef074a890) at ./src/plasmaquick/dialog.cpp:1363
#40 0x0000563eef9b4553 in View::event (this=0x7ffef7ea5570, event=0x563ef074a890) at ./krunner/view.cpp:173
#41 0x00007fdfa62c5cc3 in QApplicationPrivate::notify_helper (this=this@entry=0x563ef06fc610, receiver=receiver@entry=0x7ffef7ea5570, e=e@entry=0x563ef074a890) at kernel/qapplication.cpp:3685
#42 0x00007fdfa62cef40 in QApplication::notify (this=0x7ffef7ea5510, receiver=0x7ffef7ea5570, e=0x563ef074a890) at kernel/qapplication.cpp:3431
#43 0x00007fdfa571578a in QCoreApplication::notifyInternal2 (receiver=0x7ffef7ea5570, event=0x563ef074a890) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#44 0x00007fdfa5717f74 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x563ef06f9e80) at kernel/qcoreapplication.cpp:1815
#45 0x00007fdfa576eb87 in postEventSourceDispatch (s=0x563ef074a9e0) at kernel/qeventdispatcher_glib.cpp:277
#46 0x00007fdfa3c05fbd in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fdfa3c06240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007fdfa3c062e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fdfa576e1e2 in QEventDispatcherGlib::processEvents (this=0x563ef075bb30, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#50 0x00007fdfa571424b in QEventLoop::exec (this=this@entry=0x7ffef7ea5430, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#51 0x00007fdfa571c296 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#52 0x0000563eef9b2abf in main (argc=<optimized out>, argv=<optimized out>) at ./krunner/main.cpp:120
[Inferior 1 (process 10488) detached]

Possible duplicates by query: bug 425556, bug 425517, bug 425490, bug 425481, bug 425477.

Reported using DrKonqi
Comment 1 Claus Christensen 2020-08-20 19:36:16 UTC
Created attachment 131057 [details]
New crash information added by DrKonqi

krunner (5.19.4) using Qt 5.14.2

- What I was doing when the application crashed:
Having opened Krunner (using Alt+Spacebar) Krunner came up, but crashed as soon as I started typing

-- Backtrace (Reduced):
#4  QReadWriteLock::tryLockForRead (this=0x55c5400f9010, timeout=-1) at thread/qreadwritelock.cpp:263
#5  0x00007ff094064b72 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=0x55c54084ff30) at ./src/querymatch.cpp:264
#8  0x00007ff0940522ac in Plasma::AbstractRunner::mimeDataForMatch (this=<optimized out>, match=...) at ./src/abstractrunner.cpp:225
Comment 2 yo 2020-08-21 06:13:02 UTC
Created attachment 131068 [details]
New crash information added by DrKonqi

krunner (5.19.4) using Qt 5.14.2

- What I was doing when the application crashed:

It crashes as soon as I type a letter. I don't know why it happens.

- Unusual behavior I noticed:

- Custom settings of the application:

-- Backtrace (Reduced):
#4  QReadWriteLock::tryLockForRead (this=0x55f965679010, timeout=-1) at thread/qreadwritelock.cpp:263
#5  0x00007f0c5848daf2 in Plasma::QueryMatch::urls() const () from /usr/lib/x86_64-linux-gnu/libKF5Runner.so.5
#6  0x00007f0c5847b22c in Plasma::AbstractRunner::mimeDataForMatch(Plasma::QueryMatch const&) () from /usr/lib/x86_64-linux-gnu/libKF5Runner.so.5
[...]
#9  0x00007f0c5849922b in Plasma::RunnerManager::launchQuery(QString const&, QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5Runner.so.5
#10 0x00007f0c5849989b in Plasma::RunnerManager::launchQuery(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5Runner.so.5
Comment 3 mcgillowen 2020-08-21 09:35:48 UTC
Created attachment 131072 [details]
New crash information added by DrKonqi

krunner (5.19.4) using Qt 5.14.2

- What I was doing when the application crashed:
I was trying to open an application using KRunner and with the first character it crashes.

-- Backtrace (Reduced):
#4  QReadWriteLock::tryLockForRead (this=0x562228b6c010, timeout=-1) at thread/qreadwritelock.cpp:263
#5  0x00007f6da3307b72 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=0x562229065ce0) at ./src/querymatch.cpp:264
#8  0x00007f6da32f52ac in Plasma::AbstractRunner::mimeDataForMatch (this=<optimized out>, match=...) at ./src/abstractrunner.cpp:225
Comment 4 Harald Sitter 2020-08-21 09:36:29 UTC

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