Bug 425662

Summary: Krunner crashes on start
Product: [Plasma] krunner Reporter: simon.bra.ag
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED NOT A BUG    
Severity: crash CC: janpatekphillips, kde, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.17.5   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description simon.bra.ag 2020-08-22 06:11:32 UTC
Application: krunner (5.17.5)

Qt Version: 5.14.2
Frameworks Version: 5.70.0
Operating System: Linux 5.7.0-1-amd64 x86_64
Distribution: Debian GNU/Linux bullseye/sid

-- Information about the crash:
- What I was doing when the application crashed:
Yesterday everything was just fine. I updated this morning and didn't use Krunner before updating. After the update I started Krunner, then it crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: krunner (krunner), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5662a8a840 (LWP 37035))]

Thread 4 (Thread 0x7f5658b60700 (LWP 37038)):
#0  0x00007f5665d4f779 in g_source_ref () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f5665d4f848 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5665d50cab in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5665d5171b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5665d5190f in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5667a3931b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f56679e24db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f56678098de in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f5668f183a5 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f566780aa01 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f5666939ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f56674abeaf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f5660bc5700 (LWP 37037)):
#0  0x00007f56674a14bf in __GI___poll (fds=0x7f5654012540, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5665d517ee in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5665d5190f in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5667a3931b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f56679e24db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f56678098de in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f5668334a27 in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f566780aa01 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f5666939ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f56674abeaf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5661a5b700 (LWP 37036)):
#0  0x00007f56674a14bf in __GI___poll (fds=0x7f5661a5ac68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5667090d02 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f566709298a in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f5662415b80 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f566780aa01 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5666939ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f56674abeaf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5662a8a840 (LWP 37035)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f56673d3537 in __GI_abort () at abort.c:79
#6  0x00007f56677d0b51 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f566923fc6a in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f5669241afe in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f56692428c7 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f5667db74b5 in QWindow::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#11 0x00007f56696239fb in PlasmaQuick::Dialog::event(QEvent*) () at /lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#12 0x000055f76cde8c0f in  ()
#13 0x00007f566850503f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f56679e3b62 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f5667dac94d in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#16 0x00007f5667d81bfb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007f5662416b6a in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#18 0x00007f5665d515fd in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f5665d51880 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f5665d5190f in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f5667a392ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f56679e24db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f56679ea782 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x000055f76cde60ad in  ()
#25 0x00007f56673d4cca in __libc_start_main (main=0x55f76cde59b0, argc=1, argv=0x7ffe0b9c34d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe0b9c34c8) at ../csu/libc-start.c:308
#26 0x000055f76cde62ea in _start ()
[Inferior 1 (process 37035) detached]

Possible duplicates by query: bug 425658, bug 425629, bug 425624, bug 425619, bug 425602.

Reported using DrKonqi
Comment 1 simon.bra.ag 2020-08-22 06:21:37 UTC
The problem does not seem to persist after a reboot!

The update included NVIDIA drivers and it recommended me to reboot. I originally didn't think it was connected but now it seems to be.
Comment 2 David Edmundson 2020-08-22 17:18:07 UTC
>#7  0x00007f566923fc6a in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5

Yeah, libGL changed, kernel didn't change in sync.

It's a common problem.
Comment 3 simon.bra.ag 2020-08-23 05:27:23 UTC
Thank you for the explanation.
Comment 4 janpatekphillips 2020-09-28 13:36:28 UTC
Created attachment 131982 [details]
New crash information added by DrKonqi

krunner (5.18.5) using Qt 5.12.8

- What I was doing when the application crashed:

I was browsing the web with Firefox.  I used the keyboard shortcut to open KRunner, but it crashed. I tried again immediately afterwards, and it crash again.

-- Backtrace (Reduced):
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007fc645f5f859 in __GI_abort () at abort.c:79
#8  0x00007fc646394aad in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fc647e2f065 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
[...]
#12 0x00007fc6469899ad in QWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5