Bug 453671 - Krunner segfaults everytime
Summary: Krunner segfaults everytime
Status: RESOLVED NOT A BUG
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.25.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-11 18:52 UTC by aronkvh
Modified: 2022-06-24 13:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (3.76 KB, text/plain)
2022-06-16 13:12 UTC, aronkvh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aronkvh 2022-05-11 18:52:16 UTC
Application: krunner (5.24.5)

Qt Version: 5.15.3
Frameworks Version: 5.93.0
Operating System: Linux 5.13.0-41-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.24
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
The shortcuts don't open Krunner and the search box doesn't appear from the terminal either. Search from Kickoff works fine.

The crash can be reproduced every time.

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

[New LWP 18320]
[New LWP 18321]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007ff16e3f699f in __GI___poll (fds=0x7fff844858b8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7ff16a154980 (LWP 18318))]

Thread 3 (Thread 0x7ff15bfff700 (LWP 18321)):
#0  0x00007ff16cdc32b8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff16cdc482b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff16cdc529b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff16cdc54a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff16e9c765b in QEventDispatcherGlib::processEvents (this=0x7ff154000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ff16e96b87b in QEventLoop::exec (this=this@entry=0x7ff15bffec00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007ff16e785442 in QThread::exec (this=this@entry=0x55a862d66650) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007ff1700edb39 in QQmlThreadPrivate::run (this=0x55a862d66650) at qml/ftw/qqmlthread.cpp:155
#8  0x00007ff16e786623 in QThreadPrivate::start (arg=0x55a862d66650) at thread/qthread_unix.cpp:331
#9  0x00007ff16d9bc609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007ff16e403133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff163fff700 (LWP 18320)):
#0  0x00007ff16e3f699f in __GI___poll (fds=0x7ff15c004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff16cdc536e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff16cdc54a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff16e9c765b in QEventDispatcherGlib::processEvents (this=0x7ff15c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007ff16e96b87b in QEventLoop::exec (this=this@entry=0x7ff163ffebf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007ff16e785442 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007ff16ecf2f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ff16e786623 in QThreadPrivate::start (arg=0x7ff16ed76d80) at thread/qthread_unix.cpp:331
#8  0x00007ff16d9bc609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007ff16e403133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff16a154980 (LWP 18318)):
[KCrash Handler]
#4  0x00007ff16e9a271e in qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) at kernel/qobject.cpp:4029
#5  QObject::d_func (this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:132
#6  QObject::setProperty (this=this@entry=0x0, name=name@entry=0x55a86243d7e0 "runner", value=...) at kernel/qobject.cpp:4030
#7  0x000055a86243b45a in View::query (this=0x7fff84486710, term=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:257
#8  0x000055a862438e4f in <lambda()>::operator() (__closure=0x7fff844866f0) at ./krunner/main.cpp:96
#9  main (argc=<optimized out>, argv=<optimized out>) at ./krunner/main.cpp:102
[Inferior 1 (process 18318) detached]

Possible duplicates by query: bug 448123, bug 447113, bug 425602, bug 423891, bug 402103.

Reported using DrKonqi
Comment 1 aronkvh 2022-06-16 13:12:38 UTC
Created attachment 149794 [details]
New crash information added by DrKonqi

krunner (5.25.0) using Qt 5.15.4

I updated to 5.25 and still happens. if I press alt+space nothing happens.

-- Backtrace (Reduced):
#6  QObject::setProperty (this=this@entry=0x0, name=name@entry=0x556cc4823872 "runner", value=...) at kernel/qobject.cpp:4030
#7  0x0000556cc4820e2a in View::query (this=0x7ffdff84c660, term=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:257
#8  0x0000556cc481df7f in <lambda()>::operator() (__closure=0x7ffdff84c640) at ./krunner/main.cpp:95
#9  main (argc=<optimized out>, argv=<optimized out>) at ./krunner/main.cpp:101
Comment 2 Alexander Lohnau 2022-06-16 16:48:27 UTC
That is weird, could you please post your ~/.config/krunnerrc file?

Maybe running KRunner with debug output gives us a bit more context:
QT_LOGGING_RULES="kf5.krunner*=true" krunner --replace
Comment 3 aronkvh 2022-06-16 18:39:02 UTC
(In reply to Alexander Lohnau from comment #2)
> That is weird, could you please post your ~/.config/krunnerrc file?
sure:

[General]
FreeFloating=true

[PlasmaRunnerManager]
migrated=true

[Plugins]
baloosearchEnabled=true
bookmarksEnabled=false
browserhistoryEnabled=false


> QT_LOGGING_RULES="kf5.krunner*=true" krunner --replace
running that just gave:
File name empty!
No component for QUrl("")

if I press crtl+alt:
QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
Comment 4 Alexander Lohnau 2022-06-18 07:08:44 UTC
I see, what is your Global Theme?
Comment 5 aronkvh 2022-06-18 09:01:17 UTC
(In reply to Alexander Lohnau from comment #4)
> I see, what is your Global Theme?

Breeze Light.
may be relevant that the preview image doesn't show in settings.
Comment 6 Alexander Lohnau 2022-06-18 09:40:02 UTC
Yes, I get the feeling that the installation is somehow incomplete. Does switching to breeze dark (if it has a preview image) make any difference?
Comment 7 aronkvh 2022-06-18 13:11:49 UTC
(In reply to Alexander Lohnau from comment #6)
> Yes, I get the feeling that the installation is somehow incomplete. Does
> switching to breeze dark (if it has a preview image) make any difference?
It has the preview image but the same happens.

Application: KRunner (krunner), signal: Segmentation fault

[New LWP 25300]
[New LWP 25301]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f99c028399f in __GI___poll (fds=0x7ffcc858a4f8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f99bbefb9c0 (LWP 25298))]

Thread 3 (Thread 0x7f99b1d3b700 (LWP 25301)):
#0  __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:56
#1  0x00007f99c0283987 in __GI___poll (fds=0x7f99a8004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#2  0x00007f99bebe636e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f99bebe64a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f99c0854c3b in QEventDispatcherGlib::processEvents (this=0x7f99a8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f99c07f8e5b in QEventLoop::exec (this=this@entry=0x7f99b1d3abc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f99c0612462 in QThread::exec (this=this@entry=0x55da6c262490) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f99c1eca689 in QQmlThreadPrivate::run (this=0x55da6c262490) at qml/ftw/qqmlthread.cpp:155
#8  0x00007f99c0613643 in QThreadPrivate::start (arg=0x55da6c262490) at thread/qthread_unix.cpp:331
#9  0x00007f99bf793609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f99c0290133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f99ba404700 (LWP 25300)):
#0  0x00007f99c028399f in __GI___poll (fds=0x7f99ac004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f99bebe636e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f99bebe64a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f99c0854c3b in QEventDispatcherGlib::processEvents (this=0x7f99ac000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f99c07f8e5b in QEventLoop::exec (this=this@entry=0x7f99ba403bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f99c0612462 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f99c1962f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f99c0613643 in QThreadPrivate::start (arg=0x7f99c19e6d80) at thread/qthread_unix.cpp:331
#8  0x00007f99bf793609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f99c0290133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f99bbefb9c0 (LWP 25298)):
[KCrash Handler]
#4  0x00007f99c082fcfe in qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) at kernel/qobject.cpp:4029
#5  QObject::d_func (this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:132
#6  QObject::setProperty (this=this@entry=0x0, name=name@entry=0x55da6a0d8872 "runner", value=...) at kernel/qobject.cpp:4030
#7  0x000055da6a0d5e2a in View::query (this=0x7ffcc858b330, term=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:257
#8  0x000055da6a0d2f7f in <lambda()>::operator() (__closure=0x7ffcc858b310) at ./krunner/main.cpp:95
#9  main (argc=<optimized out>, argv=<optimized out>) at ./krunner/main.cpp:101
[Inferior 1 (process 25298) detached]
Comment 8 Alexander Lohnau 2022-06-20 18:57:14 UTC
What does the following command give:
>find /usr/share/plasma/look-and-feel/ -name RunCommand.qml
Comment 9 aronkvh 2022-06-20 20:13:20 UTC
(In reply to Alexander Lohnau from comment #8)
> What does the following command give:
> >find /usr/share/plasma/look-and-feel/ -name RunCommand.qml

returns the path /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/runcommand/RunCommand.qml
Comment 10 aronkvh 2022-06-24 13:18:22 UTC
Turns out it was caused by a problem (breeze global theme missing) on my system and is resolved now :)