Application: plasmashell (6.1.1) Qt Version: 6.7.2 Frameworks Version: 6.3.0 Operating System: Linux 6.9.7-arch1-1 x86_64 Windowing System: X11 Distribution: "Arch Linux" DrKonqi: 6.1.1 [CoredumpBackend] -- Information about the crash: System was locked. After unlocking, shell crashed. The reporter is unsure if this crash is reproducible. -- Backtrace (Reduced): #5 QOpenGLContext::isValid (this=0x784600000e30) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:504 #6 QOpenGLContext::doneCurrent (this=0x784600000e30) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:730 #7 0x00007846c00ae072 in QGuiGLThreadContext::~QGuiGLThreadContext (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:35 #8 qThreadStorage_deleteData<QGuiGLThreadContext> (d=0x7846ac01b250) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadstorage.h:56 #9 QThreadStorage<QGuiGLThreadContext*>::deleteData (x=0x7846ac01b250) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadstorage.h:99 Reported using DrKonqi
Created attachment 171314 [details] New crash information added by DrKonqi DrKonqi auto-attaching complete backtrace.
Thread 1 (Thread 0x7845ce8006c0 (LWP 996387)): [KCrash Handler] #5 QOpenGLContext::isValid (this=0x784600000e30) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:504 #6 QOpenGLContext::doneCurrent (this=0x784600000e30) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:730 #7 0x00007846c00ae072 in QGuiGLThreadContext::~QGuiGLThreadContext (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:35 #8 qThreadStorage_deleteData<QGuiGLThreadContext> (d=0x7846ac01b250) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadstorage.h:56 #9 QThreadStorage<QGuiGLThreadContext*>::deleteData (x=0x7846ac01b250) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadstorage.h:99 #10 0x00007846bf8d1a4c in QThreadStorageData::finish (p=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadstorage.cpp:164 #11 QThreadStorageData::finish (p=0x595c05826c18) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadstorage.cpp:135 #12 0x00007846bfa0b270 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:351 #13 (anonymous namespace)::terminate_on_exception<QThreadPrivate::finish(void*)::{lambda()#1}>(QThreadPrivate::finish(void*)::{lambda()#1}&&) [clone .isra.0] (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:262 #14 0x00007846bf8c9754 in QThreadPrivate::finish (arg=0x595c07c58f40) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:339 #15 __pthread_cleanup_class::~__pthread_cleanup_class (this=<optimized out>, this=<optimized out>) at /usr/include/pthread.h:578 #16 QThreadPrivate::start (arg=0x595c07c58f40) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:332 #17 0x00007846bf0a6ded in start_thread (arg=<optimized out>) at pthread_create.c:447 #18 0x00007846bf12a0dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
*** Bug 489749 has been marked as a duplicate of this bug. ***
Confirming since there's another report with a similar backtrace
I believe the root cause of this issue relates to power management. If I disable it, I don't have the issue if the system isn't used for a period of time. Of course with power management disabled, I have to manually lock the desktop (Why cannot the desktop lock automatically and independently of power management?).
What kind of GPU does this system have?
Nvidia RTX 2070 super.
Heh, now I don't remember why I wanted to know that! Thanks anyway. How exactly did you disable power management? By clicking on the switch in the widget, or killing/stopping the Powerdevil service, or something else?
I pressed the middle mouse button on the widget on the panel.
I tried method which was described by knoppmyth@gmail.com and this time my external display showed stated of my desktop but I was unable to interact with it. But keyboard worked and I was able to logout to fix the issue. I dont know if its relevant but I use optimus-manager to switch between integrated and Nvidia GPU.
When I deleted script from /etc/optimus-manager/xsetup-nvidia.sh I was able to use KDE after plugging external monitor but Plasma crashed. Here is a script: for next in $(xrandr --listmonitors | grep -E " *[0-9]+:.*" | cut -d" " -f6); do [ -z "$current" ] && current=$next && continue xrandr --output $current --auto --output $next --auto --right-of $current current=$next done
Normie, can you get a backtrace of the crash, using the instructions at https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl? If it's the same as this one, we can discuss it here. If not, it's a different issue that should be tracked and discussed separately. Thanks!
Nate Graham, I sent automatic crash report last time. Don't know how to find it. I wanted to reproduce it but have no luck cause this time external monitor shows black screen and I am unable to use my system.
The link I mentioned will show you how to get it back manually, if it hasn't been cleaned up by the system yet.
Here is an output form coredumpctl: PID: 2053 (plasmashell) Signal: 11 (SEGV) Command Line: /usr/bin/plasmashell --no-respawn Executable: /usr/bin/plasmashell Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service Unit: user@1000.service User Unit: plasma-plasmashell.service Slice: user-1000.slice Owner UID: 1000 Boot ID: d8441abf9d5840359044347ca2039f02 Machine ID: f451d1daa1844a1da8c1bdc6f5cda8af Hostname: archlinux Storage: /var/lib/systemd/coredump/core.plasmashell.1000.d8441abf9d5840359044347ca2039f02.2053.1724146987000000.zst (present) Size on Disk: 30.8M Message: Process 2053 (plasmashell) of user 1000 dumped core. Stack trace of thread 2554: #0 0x0000715961aa53f4 n/a (libc.so.6 + 0x963f4) #1 0x0000715961a4c120 raise (libc.so.6 + 0x3d120) #2 0x0000715964a58711 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x6711) #3 0x0000715961a4c1d0 n/a (libc.so.6 + 0x3d1d0) #4 0x0000715962aada70 _ZN14QOpenGLContext11doneCurrentEv (libQt6Gui.so.6 + 0x4ada70) #5 0x0000715962aae072 n/a (libQt6Gui.so.6 + 0x4ae072) #6 0x00007159622d1a4c _ZN18QThreadStorageData6finishEPPv (libQt6Core.so.6 + 0x2d1a4c) #7 0x000071596240b270 n/a (libQt6Core.so.6 + 0x40b270) #8 0x00007159622c9754 n/a (libQt6Core.so.6 + 0x2c9754) #9 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #10 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 2254: #0 0x0000715961a9fa19 n/a (libc.so.6 + 0x90a19) #1 0x0000715961aa2479 pthread_cond_wait (libc.so.6 + 0x93479) #2 0x00007159622ce120 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce120) #3 0x0000715963a19f3a n/a (libQt6Quick.so.6 + 0x419f3a) #4 0x00007159622c9747 n/a (libQt6Core.so.6 + 0x2c9747) #5 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #6 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 3416: #0 0x0000715961a9fa19 n/a (libc.so.6 + 0x90a19) #1 0x0000715961aa2479 pthread_cond_wait (libc.so.6 + 0x93479) #2 0x00007159622ce120 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce120) #3 0x0000715963a19f3a n/a (libQt6Quick.so.6 + 0x419f3a) #4 0x00007159622c9747 n/a (libQt6Core.so.6 + 0x2c9747) #5 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #6 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 2160: #0 0x0000715961b1a63d __poll (libc.so.6 + 0x10b63d) #1 0x0000715960dd492d n/a (libglib-2.0.so.0 + 0xbe92d) #2 0x0000715960d71fc5 g_main_context_iteration (libglib-2.0.so.0 + 0x5bfc5) #3 0x00007159623a2cbd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a2cbd) #4 0x000071596214f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e) #5 0x000071596223a560 _ZN7QThread3runEv (libQt6Core.so.6 + 0x23a560) #6 0x00007159622c9747 n/a (libQt6Core.so.6 + 0x2c9747) #7 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #8 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 2053: #0 0x0000715961a9fa19 n/a (libc.so.6 + 0x90a19) #1 0x0000715961aa2479 pthread_cond_wait (libc.so.6 + 0x93479) #2 0x00007159622ce120 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce120) #3 0x00007159622c4e61 _ZN7QThread4waitE14QDeadlineTimer (libQt6Core.so.6 + 0x2c4e61) #4 0x0000715963a13c10 n/a (libQt6Quick.so.6 + 0x413c10) #5 0x0000715963a148bd n/a (libQt6Quick.so.6 + 0x4148bd) #6 0x000071596384d8de _ZN12QQuickWindowD1Ev (libQt6Quick.so.6 + 0x24d8de) #7 0x00006400dd327b65 n/a (plasmashell + 0x49b65) #8 0x000071596218be0a _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x18be0a) #9 0x00006400dd328c2c n/a (plasmashell + 0x4ac2c) #10 0x00007159640fc51c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfc51c) #11 0x0000715962144d28 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x144d28) #12 0x00007159621450eb _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x1450eb) #13 0x00007159623a49ec n/a (libQt6Core.so.6 + 0x3a49ec) #14 0x0000715960d72ab9 n/a (libglib-2.0.so.0 + 0x5cab9) #15 0x0000715960dd49e7 n/a (libglib-2.0.so.0 + 0xbe9e7) #16 0x0000715960d71fc5 g_main_context_iteration (libglib-2.0.so.0 + 0x5bfc5) #17 0x00007159623a2cbd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a2cbd) #18 0x000071596214f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e) #19 0x000071596214934d _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x14934d) #20 0x00006400dd304d86 n/a (plasmashell + 0x26d86) #21 0x0000715961a34e08 n/a (libc.so.6 + 0x25e08) #22 0x0000715961a34ecc __libc_start_main (libc.so.6 + 0x25ecc) #23 0x00006400dd305275 n/a (plasmashell + 0x27275) Stack trace of thread 2452: #0 0x0000715961b1a63d __poll (libc.so.6 + 0x10b63d) #1 0x00007159315749b7 n/a (libpulse.so.0 + 0x339b7) #2 0x000071593155e45c pa_mainloop_poll (libpulse.so.0 + 0x1d45c) #3 0x000071593156861c pa_mainloop_iterate (libpulse.so.0 + 0x2761c) #4 0x00007159315686d1 pa_mainloop_run (libpulse.so.0 + 0x276d1) #5 0x0000715931578bf2 n/a (libpulse.so.0 + 0x37bf2) #6 0x00007159315162b7 n/a (libpulsecommon-17.0.so + 0x5c2b7) #7 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #8 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 2158: #0 0x0000715961b1a63d __poll (libc.so.6 + 0x10b63d) #1 0x0000715960dd492d n/a (libglib-2.0.so.0 + 0xbe92d) #2 0x0000715960d71fc5 g_main_context_iteration (libglib-2.0.so.0 + 0x5bfc5) #3 0x00007159623a2cbd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a2cbd) #4 0x000071596214f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e) #5 0x000071596223a560 _ZN7QThread3runEv (libQt6Core.so.6 + 0x23a560) #6 0x00007159622c9747 n/a (libQt6Core.so.6 + 0x2c9747) #7 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #8 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 2065: #0 0x0000715961b1a63d __poll (libc.so.6 + 0x10b63d) #1 0x0000715964a6c20b n/a (libxcb.so.1 + 0xd20b) #2 0x0000715964a6df3d xcb_wait_for_event (libxcb.so.1 + 0xef3d) #3 0x000071595be8a761 n/a (libQt6XcbQpa.so.6 + 0x4e761) #4 0x00007159622c9747 n/a (libQt6Core.so.6 + 0x2c9747) #5 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #6 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 2329: #0 0x0000715961b1a63d __poll (libc.so.6 + 0x10b63d) #1 0x0000715952816997 n/a (libnvidia-glcore.so.555.58.02 + 0xa16997) #2 0x0000715952805f74 n/a (libnvidia-glcore.so.555.58.02 + 0xa05f74) #3 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #4 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 2062: #0 0x0000715961b1a63d __poll (libc.so.6 + 0x10b63d) #1 0x0000715960dd492d n/a (libglib-2.0.so.0 + 0xbe92d) #2 0x0000715960d71fc5 g_main_context_iteration (libglib-2.0.so.0 + 0x5bfc5) #3 0x00007159623a2cbd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a2cbd) #4 0x000071596214f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e) #5 0x000071596223a410 _ZN7QThread4execEv (libQt6Core.so.6 + 0x23a410) #6 0x0000715963dbde4e n/a (libQt6DBus.so.6 + 0x2de4e) #7 0x00007159622c9747 n/a (libQt6Core.so.6 + 0x2c9747) #8 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #9 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 2242: #0 0x0000715961b1a63d __poll (libc.so.6 + 0x10b63d) #1 0x0000715960dd492d n/a (libglib-2.0.so.0 + 0xbe92d) #2 0x0000715960d71fc5 g_main_context_iteration (libglib-2.0.so.0 + 0x5bfc5) #3 0x00007159623a2cbd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a2cbd) #4 0x000071596214f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e) #5 0x000071596223a410 _ZN7QThread4execEv (libQt6Core.so.6 + 0x23a410) #6 0x0000715963963bd8 n/a (libQt6Quick.so.6 + 0x363bd8) #7 0x00007159622c9747 n/a (libQt6Core.so.6 + 0x2c9747) #8 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #9 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 2477: #0 0x0000715961b1a63d __poll (libc.so.6 + 0x10b63d) #1 0x0000715960dd492d n/a (libglib-2.0.so.0 + 0xbe92d) #2 0x0000715960d71fc5 g_main_context_iteration (libglib-2.0.so.0 + 0x5bfc5) #3 0x00007159623a2ce2 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a2ce2) #4 0x000071596214f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e) #5 0x000071596223a410 _ZN7QThread4execEv (libQt6Core.so.6 + 0x23a410) #6 0x00007159280bd750 _ZN15KCupsConnection3runEv (libkcupslib.so.6.1.4 + 0x2d750) #7 0x00007159622c9747 n/a (libQt6Core.so.6 + 0x2c9747) #8 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #9 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 2585: #0 0x0000715961b1abb0 ppoll (libc.so.6 + 0x10bbb0) #1 0x00007159622b9423 _Z12qt_safe_pollP6pollfdm14QDeadlineTimer (libQt6Core.so.6 + 0x2b9423) #2 0x0000715961967893 n/a (libQt6Network.so.6 + 0x11b893) #3 0x00007159618eded9 n/a (libQt6Network.so.6 + 0xa1ed9) #4 0x00007159618eb37e _ZN15QAbstractSocket16waitForReadyReadEi (libQt6Network.so.6 + 0x9f37e) #5 0x0000715961712e9a n/a (libKF6KIOCore.so.6 + 0x3de9a) #6 0x00007159617fb8fd n/a (libKF6KIOCore.so.6 + 0x1268fd) #7 0x00007159617d7524 n/a (libKF6KIOCore.so.6 + 0x102524) #8 0x00007159622c9747 n/a (libQt6Core.so.6 + 0x2c9747) #9 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #10 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 2634: #0 0x0000715961a9fa19 n/a (libc.so.6 + 0x90a19) #1 0x0000715961aa2479 pthread_cond_wait (libc.so.6 + 0x93479) #2 0x00007159622ce120 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce120) #3 0x0000715963a19f3a n/a (libQt6Quick.so.6 + 0x419f3a) #4 0x00007159622c9747 n/a (libQt6Core.so.6 + 0x2c9747) #5 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #6 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 3551: #0 0x0000715961a9fa19 n/a (libc.so.6 + 0x90a19) #1 0x0000715961aa2479 pthread_cond_wait (libc.so.6 + 0x93479) #2 0x00007159622ce120 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce120) #3 0x0000715963a19f3a n/a (libQt6Quick.so.6 + 0x419f3a) #4 0x00007159622c9747 n/a (libQt6Core.so.6 + 0x2c9747) #5 0x0000715961aa339d n/a (libc.so.6 + 0x9439d) #6 0x0000715961b2849c n/a (libc.so.6 + 0x11949c) ELF object binary architecture: AMD x86-64
Definitely different. Please open a new bug report for it. Also please follow the instructions in https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl *exactly*.
Whenever I rebooted, Power Management defaults to being On. How can I set it to be off by default?
`systemctl mask --user plasma-powerdevil.service` ought to do it as a workaround. You'll lose all KDE-provided power management features, though, and this may also intropduce other bugs as it's not a valid and supported configuration. So please tread carefully and don't open new bugzilla tickets for other power-related issues you encounter while in this state.
After a reboot today, I forgot to disable power management. I did note that logging in did seem snappy that it had been in the past when the crash was occurring. I'll keep power management on and continue to monitor.
*** Bug 492140 has been marked as a duplicate of this bug. ***
I'm using nvidia RTX 3060 (Open Source one, not nouveau) Mobile: license: Dual MIT/GPL version: 555.58.02 Only using my external monitor using DisplayPort Laptop ThinkBook 16p Gen 2
*** Bug 496885 has been marked as a duplicate of this bug. ***
*** Bug 497288 has been marked as a duplicate of this bug. ***
Is everyone experiencing this using X11, or does anyone see it on Wayland too?
(In reply to Nate Graham from comment #25) > Is everyone experiencing this using X11, or does anyone see it on Wayland > too? I get a variant of this on Wayland, where the shell crashes and recovers. I haven't been able to get a bug report of this behavior because many of my applications do not run correctly on W so I'm mostly using X.
I believe it's an upstream issue: https://codereview.qt-project.org/c/qt/qtbase/+/617247
Nice!
(In reply to Nate Graham from comment #25) > Is everyone experiencing this using X11, or does anyone see it on Wayland > too? I've only got it on X11. As Wayland doesn't save sessions, it is a non-starter for me.
*** Bug 498933 has been marked as a duplicate of this bug. ***