Bug 437925 - Crash in BlurEffect::blurRegion
Summary: Crash in BlurEffect::blurRegion
Status: RESOLVED DUPLICATE of bug 487771
Alias: None
Product: kwin
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.21.90
Platform: RedHat Enterprise Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
: 474412 474839 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-05-31 22:01 UTC by AK-47
Modified: 2024-09-26 12:43 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AK-47 2021-05-31 22:01:41 UTC
SUMMARY
When opening or closing a VirtualBox VM, the whole session (presumably thanks to KWin) crashes. This does not happen under X11 session.

STEPS TO REPRODUCE
1. Open VirtualBox in Wayland session and attempt to start a Virtual Machine.
2. If there is no crash, close the VM.
3. If there is still no crash, repeat the steps.

OBSERVED RESULT
The entire session either crashes or locks up. This also occurs when attempting to load a saved VM or attempting to save the VM.

The Linux OS itself is stable, and this only occurs in the Wayland session.

EXPECTED RESULT
The VM should either start or stop.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Workstation Rawhide, kernel 5.13.0.0-rc3.25.fc35.x86_64
KDE Plasma Version: 5.21.90
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
On a side note, I wish the System Information dialog would show the KDE Plasma version.
Comment 1 AK-47 2021-05-31 22:03:22 UTC
Possibly related, I also find that killing XWayland will also crash the entire session.
Comment 2 Alois Wohlschlager 2021-06-01 07:59:23 UTC
Please use coredumpctl to fetch a backtrace of the kwin_wayland crash when you open or close the VM.
Comment 3 AK-47 2021-06-07 07:34:04 UTC
OK so an update. I reinstalled Fedora and the problem with the VM has gone.
However, there are other X11 apps that do this, which may be relevant here:

           PID: 2483 (kwin_wayland)
           UID: 1000 (<redacted>)
           GID: 1000 (<redacted>)
        Signal: 11 (SEGV)
     Timestamp: Mon 2021-06-07 1
  Command Line: kwin_wayland --wayland_fd 4 --xwayland /usr/libexec/startplasma-waylandsession
    Executable: /usr/bin/kwin_wayland
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (<redacted>)
     Disk Size: 6.0M
       Message: Process 2483 (kwin_wayland) of user 1000 dumped core.
                
                Stack trace of thread 2483:
                #0  0x00007f30d3f29b31 _ZNK4KWin16EffectWindowImpl5shapeEv (libkwin.so.5 + 0x175b31)
                #1  0x00007f30d3d6d1c3 _ZNK4KWin10BlurEffect10blurRegionEPKNS_12EffectWindowE.constprop.0 (libkwin4_effect_builtins.so.1 + 0xd51c3)
                #2  0x00007f30d3ccfe9f _ZN4KWin10BlurEffect14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin4_effect_builtins.so.1 + 0x37e9f)
                #3  0x00007f30d3f1aafb _ZN4KWin18EffectsHandlerImpl14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.5 + 0x166afb)
                #4  0x00007f30d3f1aafb _ZN4KWin18EffectsHandlerImpl14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.5 + 0x166afb)
                #5  0x00007f30d3f90e3b _ZN4KWin5Scene17paintSimpleScreenEiRK7QRegion (libkwin.so.5 + 0x1dce3b)
                #6  0x00007f30d3f8b936 _ZN4KWin5Scene16finalPaintScreenEiRK7QRegionRNS_15ScreenPaintDataE (libkwin.so.5 + 0x1d7936)
                #7  0x00007f30d3f1fa48 _ZN4KWin18EffectsHandlerImpl11paintScreenEiRK7QRegionRNS_15ScreenPaintDataE (libkwin.so.5 + 0x16ba48)
                #8  0x00007f30d3f1fa48 _ZN4KWin18EffectsHandlerImpl11paintScreenEiRK7QRegionRNS_15ScreenPaintDataE (libkwin.so.5 + 0x16ba48)
                #9  0x00007f30d3f1fa48 _ZN4KWin18EffectsHandlerImpl11paintScreenEiRK7QRegionRNS_15ScreenPaintDataE (libkwin.so.5 + 0x16ba48)
                #10 0x00007f30d3f8dfe4 _ZN4KWin5Scene11paintScreenEPiRK7QRegionS4_PS2_S5_PNS_10RenderLoopERK10QMatrix4x4 (libkwin.so.5 + 0x1d9fe4)
                #11 0x00007f30bcfaaaf8 _ZN4KWin11SceneOpenGL5paintEiRK7QRegionRK5QListIPNS_8ToplevelEEPNS_10RenderLoopE.part.0 (KWinSceneOpenGL.so + 0x20af8)
                #12 0x00007f30d3eee6a8 _ZN4KWin10Compositor9compositeEPNS_10RenderLoopE (libkwin.so.5 + 0x13a6a8)
                #13 0x00007f30d259cc99 _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x2d9c99)
                #14 0x00007f30d3eb3ff6 _ZN4KWin10RenderLoop14frameRequestedEPS0_ (libkwin.so.5 + 0xffff6)
                #15 0x00007f30d3f80c97 _ZN4KWin17RenderLoopPrivate8dispatchEv (libkwin.so.5 + 0x1ccc97)
                #16 0x00007f30d259cc99 _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x2d9c99)
                #17 0x00007f30d259ff3e _ZN6QTimer7timeoutENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2dcf3e)
                #18 0x00007f30d259379f _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2d079f)
                #19 0x00007f30d3397423 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1ae423)
                #20 0x00007f30d2569098 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2a6098)
                #21 0x00007f30d25b9983 _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5 + 0x2f6983)
                #22 0x00007f30d25b7f50 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2f4f50)
                #23 0x00005639e4f167a1 _ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (kwin_wayland + 0x8f7a1)
                #24 0x00007f30d2567ab2 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a4ab2)
                #25 0x00007f30d256ffe4 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2acfe4)
                #26 0x00005639e4eb91c9 main (kwin_wayland + 0x321c9)
                #27 0x00007f30d1cedb75 __libc_start_main (libc.so.6 + 0x27b75)
                #28 0x00005639e4eb9ace _start (kwin_wayland + 0x32ace)
                
                Stack trace of thread 2486:
                #0  0x00007f30d1dbb7bf __poll (libc.so.6 + 0xf57bf)
                #1  0x00007f30cfd1047c g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa947c)
                #2  0x00007f30cfcb9c03 g_main_context_iteration (libglib-2.0.so.0 + 0x52c03)
                #3  0x00007f30d25ba698 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2f7698)
                #4  0x00007f30d2567ab2 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a4ab2)
                #5  0x00007f30d23ab25a _ZN7QThread4execEv (libQt5Core.so.5 + 0xe825a)
                #6  0x00007f30d23ac456 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xe9456)
                #7  0x00007f30d21761c9 start_thread (libpthread.so.0 + 0x91c9)
                #8  0x00007f30d1dc6463 __clone (libc.so.6 + 0x100463)
                
                Stack trace of thread 3019:
                #0  0x00007f30d218251a __fu
Comment 4 AK-47 2021-06-07 07:43:08 UTC
Nevermind, I spoke too soon. Here is when I open the VM:

           PID: 3124 (kwin_wayland)
           UID: 1000 (<redacted>)
           GID: 1000 (<redacted>)
        Signal: 11 (SEGV)
     Timestamp: Mon 2021-06-07 ...
  Command Line: kwin_wayland --wayland_fd 4 --xwayland /usr/libexec/startplasma-waylandsession
    Executable: /usr/bin/kwin_wayland
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Disk Size: 6.6M
       Message: Process 3124 (kwin_wayland) of user 1000 dumped core.
                
                Stack trace of thread 3124:
                #0  0x00007f4790490b31 _ZNK4KWin16EffectWindowImpl5shapeEv (libkwin.so.5 + 0x175b31)
                #1  0x00007f47902d41c3 _ZNK4KWin10BlurEffect10blurRegionEPKNS_12EffectWindowE.constprop.0 (libkwin4_effect_builtins.so.1 + 0xd51c3)
                #2  0x00007f4790236e9f _ZN4KWin10BlurEffect14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin4_effect_builtins.so.1 + 0x37e9f)
                #3  0x00007f4790481afb _ZN4KWin18EffectsHandlerImpl14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.5 + 0x166afb)
                #4  0x00007f47904f7e3b _ZN4KWin5Scene17paintSimpleScreenEiRK7QRegion (libkwin.so.5 + 0x1dce3b)
                #5  0x00007f47904f2936 _ZN4KWin5Scene16finalPaintScreenEiRK7QRegionRNS_15ScreenPaintDataE (libkwin.so.5 + 0x1d7936)
                #6  0x00007f4790486a48 _ZN4KWin18EffectsHandlerImpl11paintScreenEiRK7QRegionRNS_15ScreenPaintDataE (libkwin.so.5 + 0x16ba48)
                #7  0x00007f4790486a48 _ZN4KWin18EffectsHandlerImpl11paintScreenEiRK7QRegionRNS_15ScreenPaintDataE (libkwin.so.5 + 0x16ba48)
                #8  0x00007f47904f4fe4 _ZN4KWin5Scene11paintScreenEPiRK7QRegionS4_PS2_S5_PNS_10RenderLoopERK10QMatrix4x4 (libkwin.so.5 + 0x1d9fe4)
                #9  0x00007f4779511af8 _ZN4KWin11SceneOpenGL5paintEiRK7QRegionRK5QListIPNS_8ToplevelEEPNS_10RenderLoopE.part.0 (KWinSceneOpenGL.so + 0x20af8)
                #10 0x00007f47904556a8 _ZN4KWin10Compositor9compositeEPNS_10RenderLoopE (libkwin.so.5 + 0x13a6a8)
                #11 0x00007f478eb03c99 _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x2d9c99)
                #12 0x00007f479041aff6 _ZN4KWin10RenderLoop14frameRequestedEPS0_ (libkwin.so.5 + 0xffff6)
                #13 0x00007f47904e7c97 _ZN4KWin17RenderLoopPrivate8dispatchEv (libkwin.so.5 + 0x1ccc97)
                #14 0x00007f478eb03c99 _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x2d9c99)
                #15 0x00007f478eb06f3e _ZN6QTimer7timeoutENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2dcf3e)
                #16 0x00007f478eafa79f _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2d079f)
                #17 0x00007f478f8fe423 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1ae423)
                #18 0x00007f478ead0098 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2a6098)
                #19 0x00007f478eb20983 _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5 + 0x2f6983)
                #20 0x00007f478eb1ef50 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2f4f50)
                #21 0x000055fc3350b7a1 _ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (kwin_wayland + 0x8f7a1)
                #22 0x00007f478eaceab2 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a4ab2)
                #23 0x00007f478ead6fe4 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2acfe4)
                #24 0x000055fc334ae1c9 main (kwin_wayland + 0x321c9)
                #25 0x00007f478e254b75 __libc_start_main (libc.so.6 + 0x27b75)
                #26 0x000055fc334aeace _start (kwin_wayland + 0x32ace)
                
                Stack trace of thread 3132:
                #0  0x00007f478e3227bf __poll (libc.so.6 + 0xf57bf)
                #1  0x00007f478c27747c g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa947c)
                #2  0x00007f478c220c03 g_main_context_iteration (libglib-2.0.so.0 + 0x52c03)
                #3  0x00007f478eb21698 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2f7698)
                #4  0x00007f478eaceab2 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a4ab2)
                #5  0x00007f478e91225a _ZN7QThread4execEv (libQt5Core.so.5 + 0xe825a)
                #6  0x00007f478e913456 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xe9456)
                #7  0x00007f478e6dd1c9 start_thread (libpthread.so.0 + 0x91c9)
                #8  0x00007f478e32d463 __clone (libc.so.6 + 0x100463)
                
                Stack trace of thread 3128:
                #0  0x00007f478e3227bf __poll (libc.so.6 + 0xf57bf)
                #1  0x00007f478c27747c g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa947c)
                #2  0x00007f478c220c03 g_main_context_iteration (libglib-2.0.so.0 + 0x52c03)
                #3  0x00007f478eb21698 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.
Comment 5 AK-47 2021-06-07 07:47:41 UTC
And here is when I successfully opened the VM but it crashed when closing:

           PID: 4446 (kwin_wayland)
           UID: 1000 (<redacted>)
           GID: 1000 (<redacted>)
        Signal: 11 (SEGV)
     Timestamp: Mon 2021-06-07 ...
  Command Line: kwin_wayland --wayland_fd 4 --xwayland /usr/libexec/startplasma-waylandsession
    Executable: /usr/bin/kwin_wayland
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Disk Size: 5.3M
       Message: Process 4446 (kwin_wayland) of user 1000 dumped core.
                
                Stack trace of thread 4446:
                #0  0x00007f2dd014bb31 _ZNK4KWin16EffectWindowImpl5shapeEv (libkwin.so.5 + 0x175b31)
                #1  0x00007f2dcff8f1c3 _ZNK4KWin10BlurEffect10blurRegionEPKNS_12EffectWindowE.constprop.0 (libkwin4_effect_builtins.so.1 + 0xd51c3)
                #2  0x00007f2dcfef1e9f _ZN4KWin10BlurEffect14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin4_effect_builtins.so.1 + 0x37e9f)
                #3  0x00007f2dd013cafb _ZN4KWin18EffectsHandlerImpl14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.5 + 0x166afb)
                #4  0x00007f2dd013cafb _ZN4KWin18EffectsHandlerImpl14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.5 + 0x166afb)
                #5  0x00007f2dd013cafb _ZN4KWin18EffectsHandlerImpl14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.5 + 0x166afb)
                #6  0x00007f2dd01b2e3b _ZN4KWin5Scene17paintSimpleScreenEiRK7QRegion (libkwin.so.5 + 0x1dce3b)
                #7  0x00007f2dd01ad936 _ZN4KWin5Scene16finalPaintScreenEiRK7QRegionRNS_15ScreenPaintDataE (libkwin.so.5 + 0x1d7936)
                #8  0x00007f2dd0141a48 _ZN4KWin18EffectsHandlerImpl11paintScreenEiRK7QRegionRNS_15ScreenPaintDataE (libkwin.so.5 + 0x16ba48)
                #9  0x00007f2dd0141a48 _ZN4KWin18EffectsHandlerImpl11paintScreenEiRK7QRegionRNS_15ScreenPaintDataE (libkwin.so.5 + 0x16ba48)
                #10 0x00007f2dd0141a48 _ZN4KWin18EffectsHandlerImpl11paintScreenEiRK7QRegionRNS_15ScreenPaintDataE (libkwin.so.5 + 0x16ba48)
                #11 0x00007f2dd0141a48 _ZN4KWin18EffectsHandlerImpl11paintScreenEiRK7QRegionRNS_15ScreenPaintDataE (libkwin.so.5 + 0x16ba48)
                #12 0x00007f2dd01affe4 _ZN4KWin5Scene11paintScreenEPiRK7QRegionS4_PS2_S5_PNS_10RenderLoopERK10QMatrix4x4 (libkwin.so.5 + 0x1d9fe4)
                #13 0x00007f2db91ccaf8 _ZN4KWin11SceneOpenGL5paintEiRK7QRegionRK5QListIPNS_8ToplevelEEPNS_10RenderLoopE.part.0 (KWinSceneOpenGL.so + 0x20af8)
                #14 0x00007f2dd01106a8 _ZN4KWin10Compositor9compositeEPNS_10RenderLoopE (libkwin.so.5 + 0x13a6a8)
                #15 0x00007f2dce7bec99 _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x2d9c99)
                #16 0x00007f2dd00d5ff6 _ZN4KWin10RenderLoop14frameRequestedEPS0_ (libkwin.so.5 + 0xffff6)
                #17 0x00007f2dd01a2c97 _ZN4KWin17RenderLoopPrivate8dispatchEv (libkwin.so.5 + 0x1ccc97)
                #18 0x00007f2dce7bec99 _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x2d9c99)
                #19 0x00007f2dce7c1f3e _ZN6QTimer7timeoutENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2dcf3e)
                #20 0x00007f2dce7b579f _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2d079f)
                #21 0x00007f2dcf5b9423 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1ae423)
                #22 0x00007f2dce78b098 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2a6098)
                #23 0x00007f2dce7db983 _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5 + 0x2f6983)
                #24 0x00007f2dce7d9f50 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2f4f50)
                #25 0x000055fec48397a1 _ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (kwin_wayland + 0x8f7a1)
                #26 0x00007f2dce789ab2 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a4ab2)
                #27 0x00007f2dce791fe4 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2acfe4)
                #28 0x000055fec47dc1c9 main (kwin_wayland + 0x321c9)
                #29 0x00007f2dcdf0fb75 __libc_start_main (libc.so.6 + 0x27b75)
                #30 0x000055fec47dcace _start (kwin_wayland + 0x32ace)
                
                Stack trace of thread 4452:
                #0  0x00007f2dcdfdd7bf __poll (libc.so.6 + 0xf57bf)
                #1  0x00007f2dcbf3247c g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa947c)
                #2  0x00007f2dcbedbc03 g_main_context_iteration (libglib-2.0.so.0 + 0x52c03)
                #3  0x00007f2dce7dc698 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2f7698)
                #4  0x00007f2dce789ab2 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a4ab2)
                #5  0x00007f2dc
Comment 6 AK-47 2021-06-08 08:43:46 UTC
Stack traces provided as requested.
Comment 7 Vlad Zahorodnii 2023-01-18 13:09:30 UTC
EffectWindow::shape() has been dropped. Reopen if the blur effect still crashes in blurRegion().
Comment 8 Adam L 2023-05-16 22:08:26 UTC
I am seeing this same same crash multiple times under the new BlurEffect::blurRegion using kwin-wayland-5.27.4.1-1.fc38. I cannot deterministically recreate it, but it usually occurs when opening a new window. Every time it takes the entire wayland session down, which is incredibly disruptive

PID: 2249 (kwin_wayland)
UID: 1000 ()
GID: 1000 ()
Signal: 11 (SEGV)
Timestamp: Tue 2023-05-16 22:33:36 BST (23min ago)
Command Line: /usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayland-fd 9 --xwayland-display :0 --xwayland-xauthority /run/user/1000/xauth_CJtpct --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 ()
Boot ID: b8b3330ddda641e881ac14aad8e77773
Machine ID: 
Hostname: 
Storage: /var/lib/systemd/coredump/core.kwin_wayland.1000.b8b3330ddda641e881ac14aad8e77773.2249.1684272816000000.zst (present)
Size on Disk: 15.6M
Package: kwin/5.27.4.1-1.fc38
build-id: 0d7d426356ee7a66cdea4d83ec9b9c6ad8b0e198
Message: Process 2249 (kwin_wayland) of user 1000 dumped core.

Stack trace of thread 2249:
#0  0x0000560e2fb11546 _ZNK4KWin10BlurEffect10blurRegionEPKNS_12EffectWindowE (kwin_wayland + 0xcd546)
#1  0x0000560e2fb11864 _ZN4KWin10BlurEffect14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (kwin_wayland + 0xcd864)
#2  0x00007f9a3142f546 _ZN4KWin18EffectsHandlerImpl14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.5 + 0x22f546)
#3  0x00007f9a314b67a6 _ZN4KWin14WorkspaceScene24preparePaintSimpleScreenEv (libkwin.so.5 + 0x2b67a6)
#4  0x00007f9a314b9475 _ZN4KWin14WorkspaceScene8prePaintEPNS_13SceneDelegateE (libkwin.so.5 + 0x2b9475)
#5  0x00007f9a313f2737 _ZN4KWin10Compositor12prePaintPassEPNS_11RenderLayerE (libkwin.so.5 + 0x1f2737)
#6  0x00007f9a313f6bf4 _ZN4KWin10Compositor9compositeEPNS_10RenderLoopE (libkwin.so.5 + 0x1f6bf4)
#7  0x00007f9a2fae8651 _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x2e8651)
#8  0x00007f9a313a6b64 _ZN4KWin10RenderLoop14frameRequestedEPS0_ (libkwin.so.5 + 0x1a6b64)
#9  0x00007f9a313fd49f _ZN4KWin17RenderLoopPrivate8dispatchEv (libkwin.so.5 + 0x1fd49f)
#10 0x00007f9a2fae8651 _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x2e8651)
#11 0x00007f9a2faebbcd _ZN6QTimer7timeoutENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2ebbcd)
#12 0x00007f9a2fadf6bb _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2df6bb)
#13 0x00007f9a2efaeb75 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1aeb75)
#14 0x00007f9a2fab3d48 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b3d48)
#15 0x00007f9a2fb05c6b _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5 + 0x305c6b)
#16 0x00007f9a2fb03e70 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x303e70)
#17 0x0000560e2fb85232 _ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (kwin_wayland + 0x141232)
#18 0x00007f9a2fab270b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b270b)
#19 0x00007f9a2faba99b _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2ba99b)
#20 0x0000560e2fa9fd64 main (kwin_wayland + 0x5bd64)
#21 0x00007f9a2e849b4a __libc_start_call_main (libc.so.6 + 0x27b4a)
#22 0x00007f9a2e849c0b __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x27c0b)
#23 0x0000560e2faa1885 _start (kwin_wayland + 0x5d885)
Comment 9 David Edmundson 2023-05-26 10:38:52 UTC
It's surprising that we have absolutely no other similar bug reports, yet you've seen this multiple times.

Do you have any unusual windows or 3rd party effects that could be relevant?
Comment 10 Adam L 2023-05-28 23:16:10 UTC
(In reply to David Edmundson from comment #9)
> It's surprising that we have absolutely no other similar bug reports, yet
> you've seen this multiple times.
> 
> Do you have any unusual windows or 3rd party effects that could be relevant?

Not that I am aware of re special windows; I originally thought it was notification popup related (show or hide) but that may not have been the case with the latest. I have no third party effects, but do have a number of config changes from default under 'Workspace Behaviour'. If there's a specific config file that'd help I can attach it here.

I could try resetting those options to default but since I am averaging one of these crashes per week it'd be hard to do a bisection to find the specific issue.
Comment 11 Bug Janitor Service 2023-06-12 03:45:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Bug Janitor Service 2023-06-27 03:45:16 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 13 Adam L 2023-07-26 00:01:13 UTC
See https://retrace.fedoraproject.org/faf/reports/689746/ for metrics that others are also seeing this recently. That might help indicate what version the problem was reintroduced or perhaps if it's a RH specific problem.

I have worked around this specific bug by disabling blurring behind windows, but I now get crashes in other functions that have KWin::EffectWindow in their args, such as https://retrace.fedoraproject.org/faf/reports/766701/. I'd suggest this indicates a deeper problem of perhaps an invalid KWin::EffectWindow pointer (of a previously open window?) getting passed around...
Comment 14 Zamundaaa 2023-09-11 15:33:52 UTC
*** Bug 474412 has been marked as a duplicate of this bug. ***
Comment 15 David Edmundson 2024-06-05 10:02:30 UTC
*** Bug 474839 has been marked as a duplicate of this bug. ***
Comment 16 Vlad Zahorodnii 2024-09-26 12:43:13 UTC

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