Bug 430529 - krunner crash on start
Summary: krunner crash on start
Status: RESOLVED DUPLICATE of bug 414805
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.20.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-12-18 08:45 UTC by Jacek Pawlyta
Modified: 2021-02-08 19:20 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
gl-create.py (277 bytes, text/x-python)
2020-12-18 19:21 UTC, phd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacek Pawlyta 2020-12-18 08:45:37 UTC
Application: krunner (5.20.4)

Qt Version: 5.15.2
Frameworks Version: 5.75.0
Operating System: Linux 5.9.14-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: "Fedora release 33 (Thirty Three)"

-- Information about the crash:
- What I was doing when the application crashed:

starting krunner with Alt-F2 ends sometimes with krunner crash

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007f7ae381c0e8 in QScreen::handle() const () at /lib64/libQt5Gui.so.5
#5  0x00007f7ad17f59fc in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const () at /lib64/libQt5XcbQpa.so.5
#6  0x00007f7ae3834071 in QOpenGLContext::create() () at /lib64/libQt5Gui.so.5
#7  0x00007f7ae4cf53aa in QSGRenderThread::syncAndRender(QImage*) () at /lib64/libQt5Quick.so.5
#8  0x00007f7ae4cf87cf in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#9  0x00007f7ae3222df0 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#10 0x00007f7ae263c3f9 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f7ae2e8a903 in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f7ac8fef640 (LWP 11987) "QQmlThread"):
#1  0x00007ffcec7bb9e7 in clock_gettime ()
#2  0x00007f7ae2e51715 in clock_gettime@GLIBC_2.2.5 () at /lib64/libc.so.6
#3  0x00007f7ae3409f95 in qt_gettime() () at /lib64/libQt5Core.so.5
#4  0x00007f7ae34088dd in QTimerInfoList::updateCurrentTime() () at /lib64/libQt5Core.so.5
#5  0x00007f7ae3408d29 in QTimerInfoList::timerWait(timespec&) () at /lib64/libQt5Core.so.5
#6  0x00007f7ae340a43e in timerSourcePrepare(_GSource*, int*) () at /lib64/libQt5Core.so.5
#7  0x00007f7ae1b2e46a in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#8  0x00007f7ae1b804a3 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#9  0x00007f7ae1b2bbc3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#10 0x00007f7ae340a70b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#11 0x00007f7ae33bc57b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#12 0x00007f7ae3221b67 in QThread::exec() () at /lib64/libQt5Core.so.5
#13 0x00007f7ae49465ec in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#14 0x00007f7ae3222df0 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#15 0x00007f7ae263c3f9 in start_thread () at /lib64/libpthread.so.0
#16 0x00007f7ae2e8a903 in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f7ad0cc8640 (LWP 11986) "QDBusConnection"):
#1  0x00007f7ae1b80576 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#2  0x00007f7ae1b2bbc3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f7ae340a70b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f7ae33bc57b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f7ae3221b67 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f7ae3d5410b in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00007f7ae3222df0 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f7ae263c3f9 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f7ae2e8a903 in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f7ad14ec640 (LWP 11985) "QXcbEventQueue"):
#1  0x00007f7ae2cc3842 in _xcb_conn_wait.part.0 () at /lib64/libxcb.so.1
#2  0x00007f7ae2cc51cc in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f7ad1815448 in QXcbEventQueue::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f7ae3222df0 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f7ae263c3f9 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f7ae2e8a903 in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f7adee5ddc0 (LWP 11984) "krunner"):
#1  0x00007f7ae32289bb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib64/libQt5Core.so.5
#2  0x00007f7ae4cf4426 in QSGThreadedRenderLoop::polishAndSync(QSGThreadedRenderLoop::Window*, bool) () at /lib64/libQt5Quick.so.5
#3  0x00007f7ae4cf9a39 in QSGThreadedRenderLoop::exposureChanged(QQuickWindow*) () at /lib64/libQt5Quick.so.5
#4  0x00007f7ae38047b5 in QWindow::event(QEvent*) () at /lib64/libQt5Gui.so.5
#5  0x000055d41acafc1a in View::event(QEvent*) ()
#6  0x00007f7ae3f71ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#7  0x00007f7ae33bdbd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#8  0x00007f7ae37fa7d5 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /lib64/libQt5Gui.so.5
#9  0x00007f7ae37da8cc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#10 0x00007f7ad181647e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#11 0x00007f7ae1b2e7ef in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#12 0x00007f7ae1b805d8 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#13 0x00007f7ae1b2bbc3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#14 0x00007f7ae340a6f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#15 0x00007f7ae33bc57b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#16 0x00007f7ae33c41b4 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#17 0x000055d41acac5c2 in main ()
[Inferior 1 (process 11984) detached]

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

Possible duplicates by query: bug 418206, bug 417129, bug 416615, bug 416228, bug 414709.

Reported using DrKonqi
Comment 1 Nate Graham 2020-12-18 18:30:19 UTC
#5  0x00007f7ad17f59fc in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const () at /lib64/libQt5XcbQpa.so.5
#6  0x00007f7ae3834071 in QOpenGLContext::create() () at /lib64/libQt5Gui.so.5
#7  0x00007f7ae4cf53aa in QSGRenderThread::syncAndRender(QImage*) () at /lib64/libQt5Quick.so.5
Comment 2 phd 2020-12-18 19:03:00 UTC
@Jacek Pawlyta

1.

Does the crash occur after system upgrade (especially graphics drivers upgrade)?
Or doing something else with graphics drivers (switching GPU maybe?)

2.

If the crash occurs, what do you have to do to have a working KRunner again?
Just start KRunner again?
Reboot the computer?

3.

When the crash occurs again, could you immediately run this in Konsole:
    $ killall -9 krunner
    $ krunner
And check if the crash repeats?

If it does repeat, try this:
    $ killall -9 krunner
    $ QT_QUICK_BACKEND=software krunner
Does this fix the crash and allows KRunner to start properly?


@Nate Graham
>Frameworks Version: 5.75.0
So this is still before https://invent.kde.org/frameworks/kdeclarative/-/merge_requests/37 was applied.
Comment 3 phd 2020-12-18 19:21:35 UTC
Created attachment 134191 [details]
gl-create.py

4.

When the crash occurs, please run the attached gl-create.py Python script
and tell us what the output was:
    QOpenGLContext::create() == ???
Comment 4 Nate Graham 2021-02-08 19:20:52 UTC

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