Summary: | Krunner crashes after resume with different screen setup | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Wian Potgieter <w> |
Component: | general | Assignee: | Kai Uwe Broulik <kde> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | charlyghislain, nate, null, phd, rabin, szotsaki |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.18.1 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
KRunner (5.18.1-0xneon+18.04+bionic+build58) crash log
gl-create.py New crash information added by DrKonqi |
Description
Wian Potgieter
2020-01-14 05:59:03 UTC
*** Bug 416615 has been marked as a duplicate of this bug. *** *** Bug 417129 has been marked as a duplicate of this bug. *** Created attachment 126332 [details]
KRunner (5.18.1-0xneon+18.04+bionic+build58) crash log
This crash is still occurring when switching to a different display layout after resume on the latest available neon user repository.
Before suspend:
2x external FHD displays & 1 internal FHD display.
I need to confirm if krunner crashes before or after the manual display setup re-configuration.
After:
1x internal FHD display & 1 External QHD display
Unfortunately, I cannot use DrKonqi to append to this bug (Bug 421187) therefore I have to manually paste a reduced stack trace here: Application: krunner (5.18.4) Qt Version: 5.14.1 Frameworks Version: 5.69.0 Operating System: Linux 5.6.6-1-default x86_64 Windowing system: X11 Distribution: openSUSE Tumbleweed -- Information about the crash: - What I was doing when the application crashed: I pressed Alt+F2, started typing (without KRunner appearing) and KRunner has crashed. +-----------------------------------------------------------------------------+ | NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 960 Off | 00000000:2D:00.0 Off | N/A | | 0% 56C P5 19W / 160W | 896MiB / 4034MiB | 9% Default | +-------------------------------+----------------------+----------------------+ The crash can be reproduced sometimes. -- Backtrace: Application: krunner (krunner), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". futex_wait_cancelable (private=0, expected=0, futex_word=0x56024ef0a654) at ../sysdeps/nptl/futex-internal.h:183 183 int err = lll_futex_timed_wait (futex_word, expected, NULL, private); [Current thread is 1 (Thread 0x7f43e85ab800 (LWP 29029))] [... deleted for bugzilla ...] Thread 5 (Thread 0x7f43d2efa700 (LWP 29037)): [KCrash Handler] #6 0x00007f43eb37dcd4 in QScreen::handle (this=0x56024f437ef0) at kernel/qscreen.cpp:156 #7 0x00007f43e66c281a in QXcbIntegration::createPlatformOpenGLContext (this=<optimized out>, context=0x7f43e0007c30) at qxcbintegration.cpp:279 #8 0x00007f43eb3971fd in QOpenGLContext::create (this=0x7f43e0007c30) at ../../include/QtGui/5.14.1/QtGui/private/../../../../../src/gui/kernel/qguiapplication_p.h:109 #9 0x00007f43ec894741 in QSGRenderThread::sync (this=this@entry=0x56024f3f81c0, inExpose=inExpose@entry=true, inGrab=inGrab@entry=false) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:615 #10 0x00007f43ec89657b in QSGRenderThread::syncAndRender (this=0x56024f3f81c0, grabImage=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:764 #11 0x00007f43ec89a7d7 in QSGRenderThread::run (this=0x56024f3f81c0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:980 #12 0x00007f43ead6a698 in QThreadPrivate::start (arg=0x56024f3f81c0) at thread/qthread_unix.cpp:342 #13 0x00007f43ea0aaefa in start_thread (arg=<optimized out>) at pthread_create.c:477 #14 0x00007f43ea9f63bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f43dd879700 (LWP 29036)): #0 0x00007f43ea9ebacf in __GI___poll (fds=0x7f43d4004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f43e96599de in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f43d4004a60, timeout=<optimized out>, context=0x7f43d4000c20) at ../glib/gmain.c:4346 #2 g_main_context_iterate (context=context@entry=0x7f43d4000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4042 #3 0x00007f43e9659aff in g_main_context_iteration (context=0x7f43d4000c20, may_block=may_block@entry=1) at ../glib/gmain.c:4108 #4 0x00007f43eaf96c0b in QEventDispatcherGlib::processEvents (this=0x7f43d4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007f43eaf3eb9b in QEventLoop::exec (this=this@entry=0x7f43dd878d80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #6 0x00007f43ead695ce in QThread::exec (this=this@entry=0x56024ed81cd0) at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #7 0x00007f43ec5206e5 in QQmlThreadPrivate::run (this=0x56024ed81cd0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/qml/ftw/qqmlthread.cpp:155 #8 0x00007f43ead6a698 in QThreadPrivate::start (arg=0x56024ed81cd0) at thread/qthread_unix.cpp:342 #9 0x00007f43ea0aaefa in start_thread (arg=t<optimized out>) at pthread_create.c:477 #10 0x00007f43ea9f63bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f43e57b4700 (LWP 29032)): #0 __GI___libc_read (nbytes=16, buf=0x7f43e57b3b50, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26 #1 __GI___libc_read (fd=7, buf=buf@entry=0x7f43e57b3b50, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24 #2 0x00007f43e96a137f in read (__nbytes=16, __buf=0x7f43e57b3b50, __fd=<optimized out>) at /usr/include/bits/unistd.h:44 #3 g_wakeup_acknowledge (wakeup=0x56024ed74eb0) at ../glib/gwakeup.c:210 #4 0x00007f43e9659537 in g_main_context_check (context=context@entry=0x7f43d8000c20, max_priority=2147483647, fds=fds@entry=0x7f43d8019ed0, n_fds=n_fds@entry=1) at ../glib/gmain.c:3825 #5 0x00007f43e9659982 in g_main_context_iterate (context=context@entry=0x7f43d8000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4044 #6 0x00007f43e9659aff in g_main_context_iteration (context=0x7f43d8000c20, may_block=may_block@entry=1) at ../glib/gmain.c:4108 #7 0x00007f43eaf96c0b in QEventDispatcherGlib::processEvents (this=0x7f43d8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #8 0x00007f43eaf3eb9b in QEventLoop::exec (this=this@entry=0x7f43e57b3d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #9 0x00007f43ead695ce in QThread::exec (this=this@entry=0x7f43eb966da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #10 0x00007f43eb8e4507 in QDBusConnectionManager::run (this=0x7f43eb966da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179 #11 0x00007f43ead6a698 in QThreadPrivate::start (arg=0x7f43eb966da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342 #12 0x00007f43ea0aaefa in start_thread (arg=<optimized out>) at pthread_create.c:477 #13 0x00007f43ea9f63bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f43e64fe700 (LWP 29030)): #0 0x00007f43ea9ebacf in __GI___poll (fds=fds@entry=0x7f43e64fdca8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f43ea62c772 in poll (__timeout=-1, __nfds=1, __fds=0x7f43e64fdca8) at /usr/include/bits/poll2.h:46 #2 _xcb_conn_wait (cond=<optimized out>, count=<optimized out>, vector=<optimized out>, c=<optimized out>) at xcb_conn.c:480 #3 _xcb_conn_wait (c=0x56024ec4c570, cond=<optimized out>, vector=0x0, count=0x0) at xcb_conn.c:436 #4 0x00007f43ea62d43a in xcb_wait_for_event (c=c@entry=0x56024ec4c570) at xcb_in.c:697 #5 0x00007f43e66e8ab0 in QXcbEventQueue::run (this=0x56024ec59710) at qxcbeventqueue.cpp:228 #6 0x00007f43ead6a698 in QThreadPrivate::start (arg=0x56024ec59710) at thread/qthread_unix.cpp:342 #7 0x00007f43ea0aaefa in start_thread (arg=<optimized out>) at pthread_create.c:477 #8 0x00007f43ea9f63bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f43e85ab800 (LWP 29029)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x56024ef0a654) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56024ef0a600, cond=0x56024ef0a628) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x56024ef0a628, mutex=0x56024ef0a600) at pthread_cond_wait.c:638 #3 0x00007f43ead701db in QWaitConditionPrivate::wait (deadline=..., this=0x56024ef0a600) at thread/qwaitcondition_unix.cpp:146 #4 QWaitCondition::wait (this=<optimized out>, mutex=0x56024f3f8218, deadline=...) at thread/qwaitcondition_unix.cpp:225 #5 0x00007f43ead70299 in QWaitCondition::wait (this=0x56024f3f8220, mutex=0x56024f3f8218, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68 #6 0x00007f43ec8989da in QSGThreadedRenderLoop::polishAndSync (this=this@entry=0x56024edf5390, w=w@entry=0x7f43e00087d0, inExpose=inExpose@entry=true) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1544 #7 0x00007f43ec8998c0 in QSGThreadedRenderLoop::handleExposure (this=0x56024edf5390, window=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1321 #8 0x00007f43ec89a2ab in QSGThreadedRenderLoop::exposureChanged (this=0x56024edf5390, window=0x7ffe7fb84030) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1216 #9 0x00007f43eb36245d in QWindow::event (this=this@entry=0x7ffe7fb84030, ev=ev@entry=0x7ffe7fb83bb0) at kernel/qwindow.cpp:2359 #10 0x00007f43ec8ff3a9 in QQuickWindow::event (this=0x7ffe7fb84030, e=0x7ffe7fb83bb0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/items/qquickwindow.cpp:1773 #11 0x00007f43ecc69c2b in PlasmaQuick::Dialog::event(QEvent*) () from /usr/lib64/libKF5PlasmaQuick.so.5 #12 0x000056024e8b075f in View::event (this=0x7ffe7fb84030, event=0x7ffe7fb83bb0) at /usr/src/debug/plasma5-workspace-5.18.4.1-1.1.x86_64/krunner/view.cpp:180 #13 0x00007f43ebae3caf in QApplicationPrivate::notify_helper (this=this@entry=0x56024ec37830, receiver=receiver@entry=0x7ffe7fb84030, e=e@entry=0x7ffe7fb83bb0) at kernel/qapplication.cpp:3684 #14 0x00007f43ebaecdf0 in QApplication::notify (this=0x7ffe7fb83fb0, receiver=0x7ffe7fb84030, e=0x7ffe7fb83bb0) at kernel/qapplication.cpp:3430 #15 0x00007f43eaf40002 in QCoreApplication::notifyInternal2 (receiver=0x7ffe7fb84030, event=0x7ffe7fb83bb0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153 #16 0x00007f43eb35883f in QGuiApplicationPrivate::processExposeEvent (e=0x56024f738400) at kernel/qguiapplication.cpp:3188 #17 0x00007f43eb358a6b in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x56024f738400) at kernel/qguiapplication.cpp:2009 #18 0x00007f43eb33253b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1163 #19 0x00007f43e66e9a6a in xcbSourceDispatch (source=source@entry=0x56024ed546d0) at qxcbeventdispatcher.cpp:105 #20 0x00007f43e96596e8 in g_main_dispatch (context=0x7f43e0005000) at ../glib/gmain.c:3309 #21 g_main_context_dispatch (context=context@entry=0x7f43e0005000) at ../glib/gmain.c:3974 #22 0x00007f43e9659a70 in g_main_context_iterate (context=context@entry=0x7f43e0005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4047 #23 0x00007f43e9659aff in g_main_context_iteration (context=0x7f43e0005000, may_block=may_block@entry=1) at ../glib/gmain.c:4108 #24 0x00007f43eaf96bee in QEventDispatcherGlib::processEvents (this=0x56024ed6eaa0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #25 0x00007f43eaf3eb9b in QEventLoop::exec (this=this@entry=0x7ffe7fb83e90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #26 0x00007f43eaf46972 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #27 0x000056024e8aea05 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma5-workspace-5.18.4.1-1.1.x86_64/krunner/main.cpp:126 [Inferior 1 (process 29029) detached] Possible duplicates by query: bug 418206, bug 417129, bug 416615, bug 416228, bug 414709. Created attachment 134190 [details]
gl-create.py
@Wian Potgieter 1. Does this issue still occur for you? 2. When 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? 4. When the crash occurs, please run the attached gl-create.py Python script and tell us what the output was: QOpenGLContext::create() == ??? (In reply to phd from comment #6) > @Wian Potgieter > > 1. > > Does this issue still occur for you? > > 2. > > When 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? > > 4. > > When the crash occurs, please run the attached gl-create.py Python script > and tell us what the output was: > QOpenGLContext::create() == ??? Hi phd. I have not recently had the crash occur. It did reduce in frequency after I switched from NVidia to the Intel driver as well as from HDMI to DisplayPort cable. Usually when I triggered KRunner via global shortcut after a crash, it would start again. I'll keep the script handy for in case it happens again. Thanks! *** This bug has been marked as a duplicate of bug 414805 *** Created attachment 136061 [details]
New crash information added by DrKonqi
krunner (5.20.5) using Qt 5.15.2
- Unusual behavior I noticed:
After I resume from a sleep, my dispaly setup changed
- was: 4K + FHD (rotated to the left)
- to: mirrored mode
after login, I was pressing Alt+Space shortcut to run krunner, but it crash, and restart by it self
-- Backtrace (Reduced):
#4 0x00007fdb5e99c0e8 in QScreen::handle() const () from /lib64/libQt5Gui.so.5
#5 0x00007fdb4c5be9fc in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const () from /lib64/libQt5XcbQpa.so.5
#6 0x00007fdb5e9b4071 in QOpenGLContext::create() () from /lib64/libQt5Gui.so.5
#7 0x00007fdb5fe8f3aa in QSGRenderThread::syncAndRender(QImage*) () from /lib64/libQt5Quick.so.5
#8 0x00007fdb5fe927cf in QSGRenderThread::run() () from /lib64/libQt5Quick.so.5
|