https://bugs.kde.org/show_bug.cgi?id=487861

            Bug ID: 487861
           Summary: kwin crashed when opening a full-screen game
                    unexpectedly, showing a black screen with the cursor
                    visible
    Classification: Plasma
           Product: kwin
           Version: master
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: juanrollgamer123456...@gmail.com
  Target Milestone: ---

SUMMARY
kwin crashed when opening a full-screen game unexpectedly, showing a black
screen with the cursor visible

STEPS TO REPRODUCE
1.  Open Minecraft (I suspect it happens with any full-screen OpenGL game but
it has only happened to with Minecraft) from the desktop as a shortcut
2.  Use Wayland with the 555 series NVIDIA drivers
3.  Use beta version of KDE Plasma version 6.0.90

OBSERVED RESULT
This error has only happened to me once but it's important that it's fixed when
possible.
kwin_wayland suddenly crashed when trying to open Minecraft (haven't tried with
any other fullscreen game) when entering fullscreen, showing me a black screen
without the possibility of doing anything besides opening the terminal with a
key shortcut, only showing the cursor and the recent windows using alt-tab.
After crashing, it only asked me for authentication to file the bug into a log
file, here's the summary of the bug:

           PID: 822 (kwin_wayland)
           UID: 1000 (juan)
           GID: 1000 (juan)
        Signal: 11 (SEGV)
     Timestamp: Fri 2024-05-31 19:49:47 EDT (4min 27s ago)
  Command Line: /usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0
--xwayland-fd 8 --xwayland-fd 9 --xwayland-display :1 --xwayland-xauthority
/run/user/1000/xauth_NKtJdv --xwayland
    Executable: /usr/bin/kwin_wayland
 Control Group:
/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_wayland.service
          Unit: user@1000.service
     User Unit: plasma-kwin_wayland.service
         Slice: user-1000.slice
     Owner UID: 1000 (juan)
       Boot ID: 9918d87892b6498fb6f604ec782c5679
    Machine ID: 5e0fa143c4a94f92ab57561fd4584ec1
      Hostname: Asus
       Storage:
/var/lib/systemd/coredump/core.kwin_wayland.1000.9918d87892b6498fb6f604ec782c5679.822.1717199387000000.zst
(inaccessible)
       Message: Process 822 (kwin_wayland) of user 1000 dumped core.

                Stack trace of thread 822:
                #0  0x000070351aaf63d8 n/a (libnvidia-eglcore.so.555.42.02 +
0xaf63d8)
                #1  0x000070351aaf95fe n/a (libnvidia-eglcore.so.555.42.02 +
0xaf95fe)
                #2  0x000070351aafad06 n/a (libnvidia-eglcore.so.555.42.02 +
0xafad06)
                #3  0x000070351ab11fe1 n/a (libnvidia-eglcore.so.555.42.02 +
0xb11fe1)
                #4  0x000070351a9e53a3 n/a (libnvidia-eglcore.so.555.42.02 +
0x9e53a3)
                #5  0x000070351aadb4ee n/a (libnvidia-eglcore.so.555.42.02 +
0xadb4ee)
                #6  0x000070351aa8e4c3 n/a (libnvidia-eglcore.so.555.42.02 +
0xa8e4c3)
                #7  0x000070351a6c153a n/a (libnvidia-eglcore.so.555.42.02 +
0x6c153a)
                #8  0x000070351a6c1dc2 n/a (libnvidia-eglcore.so.555.42.02 +
0x6c1dc2)
                #9  0x0000703528c6b58c n/a (screencast.so + 0xc58c)
                #10 0x0000703528c6f1ab n/a (screencast.so + 0x101ab)
                #11 0x0000703528c77244 n/a (screencast.so + 0x18244)
                #12 0x0000703528c7b649
_ZN4KWin16ScreenCastStream11recordFrameERK7QRegion6QFlagsINS0_7ContentEE
(screencast.so + 0x1c649)
                #13 0x000070352f5a17e7 n/a (libQt6Core.so.6 + 0x1a17e7)
                #14 0x0000703528c7707a n/a (screencast.so + 0x1807a)
                #15 0x000070352f5a17e7 n/a (libQt6Core.so.6 + 0x1a17e7)
                #16 0x000070352f5a9975 _ZN6QTimer10timerEventEP11QTimerEvent
(libQt6Core.so.6 + 0x1a9975)
                #17 0x000070352f58c0b9 _ZN7QObject5eventEP6QEvent
(libQt6Core.so.6 + 0x18c0b9)
                #18 0x00007035304fc55c
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 +
0xfc55c)
                #19 0x000070352f544e38
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 +
0x144e38)
                #20 0x000070352f6c3c38 _ZN14QTimerInfoList14activateTimersEv
(libQt6Core.so.6 + 0x2c3c38)
                #21 0x000070352f6c6308
_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x2c6308)
                #22 0x000070352fff95b3
_ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Gui.so.6 + 0x5f95b3)
                #23 0x000070352f54f10e
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
0x14f10e)
                #24 0x000070352f54945d _ZN16QCoreApplication4execEv
(libQt6Core.so.6 + 0x14945d)
                #25 0x00005740a6810f63 n/a (kwin_wayland + 0x3bf63)
                #26 0x000070352ee39c88 n/a (libc.so.6 + 0x25c88)
                #27 0x000070352ee39d4c __libc_start_main (libc.so.6 + 0x25d4c)
                #28 0x00005740a6816f65 n/a (kwin_wayland + 0x41f65)

                Stack trace of thread 898:
                #0  0x000070352ef1c39d __poll (libc.so.6 + 0x10839d)
                #1  0x000070352dcca8fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                #2  0x000070352dc67f95 g_main_context_iteration
(libglib-2.0.so.0 + 0x5bf95)
                #3  0x000070352f7a28dd
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x3a28dd)
                #4  0x000070352f54f10e
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
0x14f10e)
                #5  0x000070352f640e00 _ZN7QThread3runEv (libQt6Core.so.6 +
0x240e00)
                #6  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #7  0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #8  0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 827:
                #0  0x000070352ef1c39d __poll (libc.so.6 + 0x10839d)
                #1  0x000070352dcca8fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                #2  0x000070352dc67f95 g_main_context_iteration
(libglib-2.0.so.0 + 0x5bf95)
                #3  0x000070352f7a28dd
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x3a28dd)
                #4  0x000070352f54f10e
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
0x14f10e)
                #5  0x000070352f63a4e0 _ZN7QThread4execEv (libQt6Core.so.6 +
0x23a4e0)
                #6  0x00007035302b4dfe n/a (libQt6DBus.so.6 + 0x2ddfe)
                #7  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #8  0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #9  0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 926:
                #0  0x000070352ef2a4e2 epoll_wait (libc.so.6 + 0x1164e2)
                #1  0x0000703528c54197 n/a (libspa-support.so + 0x15197)
                #2  0x0000703528c45a21 n/a (libspa-support.so + 0x6a21)
                #3  0x0000703528a85103 n/a (libpipewire-0.3.so.0 + 0x1c103)
                #4  0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #5  0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 925:
                #0  0x000070352ef1c39d __poll (libc.so.6 + 0x10839d)
                #1  0x000070352dcca8fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                #2  0x000070352dc67f95 g_main_context_iteration
(libglib-2.0.so.0 + 0x5bf95)
                #3  0x000070352f7a28dd
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x3a28dd)
                #4  0x000070352f54f10e
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
0x14f10e)
                #5  0x000070352f640e00 _ZN7QThread3runEv (libQt6Core.so.6 +
0x240e00)
                #6  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #7  0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #8  0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 931:
                #0  0x000070352eea34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000070352eea5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                #2  0x000070352f0d5e61 __gthread_cond_wait (libstdc++.so.6 +
0xd5e61)
                #3  0x0000703531df3a9e n/a (libkwin.so.6 + 0x3f3a9e)
                #4  0x0000703531de8556 n/a (libkwin.so.6 + 0x3e8556)
                #5  0x000070352eeac34b n/a (libc.so.6 + 0x9834b)
                #6  0x000070352eeac3c9 pthread_once (libc.so.6 + 0x983c9)
                #7  0x0000703531df0cf0 n/a (libkwin.so.6 + 0x3f0cf0)
                #8  0x000070352f63aff5 n/a (libQt6Core.so.6 + 0x23aff5)
                #9  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #10 0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #11 0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 933:
                #0  0x000070352eea34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000070352eea6552 pthread_cond_clockwait (libc.so.6 +
0x92552)
                #2  0x0000703531df36e4 n/a (libkwin.so.6 + 0x3f36e4)
                #3  0x0000703531de8556 n/a (libkwin.so.6 + 0x3e8556)
                #4  0x000070352eeac34b n/a (libc.so.6 + 0x9834b)
                #5  0x000070352eeac3c9 pthread_once (libc.so.6 + 0x983c9)
                #6  0x0000703531df0cf0 n/a (libkwin.so.6 + 0x3f0cf0)
                #7  0x000070352f63aff5 n/a (libQt6Core.so.6 + 0x23aff5)
                #8  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #9  0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #10 0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 934:
                #0  0x000070352eea34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000070352eea5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                #2  0x000070352f0d5e61 __gthread_cond_wait (libstdc++.so.6 +
0xd5e61)
                #3  0x0000703531df3a9e n/a (libkwin.so.6 + 0x3f3a9e)
                #4  0x0000703531de8556 n/a (libkwin.so.6 + 0x3e8556)
                #5  0x000070352eeac34b n/a (libc.so.6 + 0x9834b)
                #6  0x000070352eeac3c9 pthread_once (libc.so.6 + 0x983c9)
                #7  0x0000703531df0cf0 n/a (libkwin.so.6 + 0x3f0cf0)
                #8  0x000070352f63aff5 n/a (libQt6Core.so.6 + 0x23aff5)
                #9  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #10 0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #11 0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 935:
                #0  0x000070352eea34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000070352eea5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                #2  0x000070352f0d5e61 __gthread_cond_wait (libstdc++.so.6 +
0xd5e61)
                #3  0x0000703531df3a9e n/a (libkwin.so.6 + 0x3f3a9e)
                #4  0x0000703531de8556 n/a (libkwin.so.6 + 0x3e8556)
                #5  0x000070352eeac34b n/a (libc.so.6 + 0x9834b)
                #6  0x000070352eeac3c9 pthread_once (libc.so.6 + 0x983c9)
                #7  0x0000703531df0cf0 n/a (libkwin.so.6 + 0x3f0cf0)
                #8  0x000070352f63aff5 n/a (libQt6Core.so.6 + 0x23aff5)
                #9  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #10 0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #11 0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 936:
                #0  0x000070352eea34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000070352eea5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                #2  0x000070352f0d5e61 __gthread_cond_wait (libstdc++.so.6 +
0xd5e61)
                #3  0x0000703531df3a9e n/a (libkwin.so.6 + 0x3f3a9e)
                #4  0x0000703531de8556 n/a (libkwin.so.6 + 0x3e8556)
                #5  0x000070352eeac34b n/a (libc.so.6 + 0x9834b)
                #6  0x000070352eeac3c9 pthread_once (libc.so.6 + 0x983c9)
                #7  0x0000703531df0cf0 n/a (libkwin.so.6 + 0x3f0cf0)
                #8  0x000070352f63aff5 n/a (libQt6Core.so.6 + 0x23aff5)
                #9  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #10 0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #11 0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 25192:
                #0  0x000070352eea34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000070352eea6242 pthread_cond_timedwait (libc.so.6 +
0x92242)
                #2  0x000070352f6ce058
_ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce058)
                #3  0x000070352f6c7d52 n/a (libQt6Core.so.6 + 0x2c7d52)
                #4  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #5  0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 25193:
                #0  0x000070352eea34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000070352eea6242 pthread_cond_timedwait (libc.so.6 +
0x92242)
                #2  0x000070352f6ce058
_ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce058)
                #3  0x000070352f6c7d52 n/a (libQt6Core.so.6 + 0x2c7d52)
                #4  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #5  0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 25194:
                #0  0x000070352eea34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000070352eea6242 pthread_cond_timedwait (libc.so.6 +
0x92242)
                #2  0x000070352f6ce058
_ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce058)
                #3  0x000070352f6c7d52 n/a (libQt6Core.so.6 + 0x2c7d52)
                #4  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #5  0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 25195:
                #0  0x000070352eea34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000070352eea6242 pthread_cond_timedwait (libc.so.6 +
0x92242)
                #2  0x000070352f6ce058
_ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce058)
                #3  0x000070352f6c7d52 n/a (libQt6Core.so.6 + 0x2c7d52)
                #4  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #5  0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 25284:
                #0  0x000070352eea34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000070352eea6242 pthread_cond_timedwait (libc.so.6 +
0x92242)
                #2  0x000070352f6ce058
_ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce058)
                #3  0x000070352f6c7d52 n/a (libQt6Core.so.6 + 0x2c7d52)
                #4  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #5  0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)

                Stack trace of thread 25287:
                #0  0x000070352eea34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000070352eea6242 pthread_cond_timedwait (libc.so.6 +
0x92242)
                #2  0x000070352f6ce058
_ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce058)
                #3  0x000070352f6c7d52 n/a (libQt6Core.so.6 + 0x2c7d52)
                #4  0x000070352f6c96e7 n/a (libQt6Core.so.6 + 0x2c96e7)
                #5  0x000070352eea6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000070352ef2a0dc n/a (libc.so.6 + 0x1160dc)
                ELF object binary architecture: AMD x86-64


EXPECTED RESULT
Never crash and function as normal when opening full-screen games

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux (using custom kernel Linux-TKG 6.9.2)
(available in About System)
KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to