Screen locks up and coredump on resume

I’ve had an issue for well over a year on one of my systems. If it gets left long enough to go into blank screen, when you wake it up with the mouse, it will bring up the desktop and mouse cursor, but if you do something like click a tab on FF, it won’t show any changes on the screen. If you hit Ctrl-Alt-F2 to get tty2 then go back to tty1, it now updates the screen to reflect what you might have clicked, and then everything goes on like normal until you leave it long enough to screen blank again.

Here is the output from journalctl when it happens:

Oct 04 10:54:05 shop-manjaro kwin_x11[605]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 36714, resource id: 31458975, major code: 18 (ChangeProp>
Oct 04 10:54:05 shop-manjaro kwin_x11[605]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 36716, resource id: 31458975, major code: 12 (ConfigureW>
Oct 04 10:54:05 shop-manjaro kwin_x11[605]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 36717, resource id: 31458975, major code: 12 (ConfigureW>
Oct 04 10:54:05 shop-manjaro kwin_x11[605]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 36718, resource id: 31458975, major code: 12 (ConfigureW>
Oct 04 10:54:05 shop-manjaro kwin_x11[605]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 36719, resource id: 31458975, major code: 12 (ConfigureW>
Oct 04 10:54:05 shop-manjaro kwin_x11[605]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 36723, resource id: 31458975, major code: 3 (GetWindowAt>
Oct 04 10:54:05 shop-manjaro kwin_x11[605]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 36724, resource id: 31458975, major code: 14 (GetGeome>
Oct 04 10:54:05 shop-manjaro kwin_x11[605]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 36725, resource id: 31458975, major code: 8 (MapWindow),>
Oct 04 10:54:05 shop-manjaro kwin_x11[605]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 36726, resource id: 31458975, major code: 12 (ConfigureW>
Oct 04 10:54:06 shop-manjaro kcminit[2697807]: Initializing  "kcm_mouse" :  "kcminit_mouse"
Oct 04 10:54:06 shop-manjaro kwin_x11[605]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 37185, resource id: 77594629, major code: 18 (ChangeProp>
Oct 04 10:54:10 shop-manjaro kded5[601]: Service  ":1.471" unregistered
Oct 04 10:54:10 shop-manjaro dbus-daemon[223760]: [session uid=1002 pid=223758] Activating service name='org.freedesktop.systemd1' requested by ':1.264' (uid=1002 p>
Oct 04 10:54:10 shop-manjaro dbus-daemon[223760]: [session uid=1002 pid=223758] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd>
Oct 04 10:54:10 shop-manjaro audit[2697840]: ANOM_ABEND auid=1002 uid=1002 gid=1003 ses=3 pid=2697840 comm="thumbnail.so" exe="/usr/bin/kdeinit5" sig=6 res=1
Oct 04 10:54:10 shop-manjaro kernel: audit: type=1701 audit(1633366450.978:9356): auid=1002 uid=1002 gid=1003 ses=3 pid=2697840 comm="thumbnail.so" exe="/usr/bin/kd>
Oct 04 10:54:10 shop-manjaro audit: BPF prog-id=2351 op=LOAD
Oct 04 10:54:10 shop-manjaro audit: BPF prog-id=2352 op=LOAD
Oct 04 10:54:10 shop-manjaro audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1163-2697841-0 comm="systemd" exe="/usr/l>
Oct 04 10:54:10 shop-manjaro systemd[1]: Started Process Core Dump (PID 2697841/UID 0).
░░ Subject: A start job for unit systemd-coredump@1163-2697841-0.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit systemd-coredump@1163-2697841-0.service has finished successfully.
░░ 
░░ The job identifier is 62802.
Oct 04 10:54:10 shop-manjaro kernel: audit: type=1334 audit(1633366450.991:9357): prog-id=2351 op=LOAD
Oct 04 10:54:10 shop-manjaro kernel: audit: type=1334 audit(1633366450.991:9358): prog-id=2352 op=LOAD
Oct 04 10:54:10 shop-manjaro kernel: audit: type=1130 audit(1633366450.991:9359): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1163-2697841>
Oct 04 10:54:11 shop-manjaro systemd-coredump[2697842]: Process 2697840 (thumbnail.so) of user 1002 dumped core.
                                                        
                                                        Stack trace of thread 2697840:
                                                        #0  0x00007f19ce450615 raise (libc.so.6 + 0x3d615)
                                                        #1  0x00007f19ce439862 abort (libc.so.6 + 0x26862)
                                                        #2  0x00007f19ce66c9ac _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x909ac)
                                                        #3  0x00007f19cec64646 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x131646)
                                                        #4  0x00007f19cec64ae1 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x131ae1)
                                                        #5  0x00007f19ce8986d6 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2bc6d6)
                                                        #6  0x00007f19cec67b20 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x134b20)
                                                        #7  0x00007f19cdc496aa _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x15f6aa)
                                                        #8  0x00007f19cf456f4c kdemain (thumbnail.so + 0x6f4c)
                                                        #9  0x000055ec468be5bd n/a (kdeinit5 + 0x75bd)
                                                        #10 0x000055ec468bfa59 n/a (kdeinit5 + 0x8a59)
                                                        #11 0x000055ec468c0237 n/a (kdeinit5 + 0x9237)
                                                        #12 0x000055ec468bbb54 n/a (kdeinit5 + 0x4b54)
                                                        #13 0x00007f19ce43b152 __libc_start_main (libc.so.6 + 0x28152)
                                                        #14 0x000055ec468bc6be n/a (kdeinit5 + 0x56be)
░░ Subject: Process 2697840 (thumbnail.so) dumped core
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ Documentation: man:core(5)
░░ 
░░ Process 2697840 (thumbnail.so) crashed and dumped core.
░░ 
░░ This usually indicates a programming error in the crashing program and
░░ should be reported to its vendor as a bug.
Oct 04 10:54:11 shop-manjaro kernel: audit: type=1131 audit(1633366451.124:9360): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1163-2697841>
Oct 04 10:54:11 shop-manjaro audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1163-2697841-0 comm="systemd" exe="/usr/li>
Oct 04 10:54:11 shop-manjaro systemd[1]: systemd-coredump@1163-2697841-0.service: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ The unit systemd-coredump@1163-2697841-0.service has successfully entered the 'dead' state.
Oct 04 10:54:11 shop-manjaro audit: BPF prog-id=2352 op=UNLOAD
Oct 04 10:54:11 shop-manjaro audit: BPF prog-id=2351 op=UNLOAD
Oct 04 10:54:11 shop-manjaro kernel: audit: type=1334 audit(1633366451.228:9361): prog-id=2352 op=UNLOAD
Oct 04 10:54:11 shop-manjaro kernel: audit: type=1334 audit(1633366451.228:9362): prog-id=2351 op=UNLOAD
Oct 04 10:54:13 shop-manjaro audit[2697856]: ANOM_ABEND auid=1002 uid=1002 gid=1003 ses=3 pid=2697856 comm="thumbnail.so" exe="/usr/bin/kdeinit5" sig=6 res=1
Oct 04 10:54:13 shop-manjaro kernel: audit: type=1701 audit(1633366453.048:9363): auid=1002 uid=1002 gid=1003 ses=3 pid=2697856 comm="thumbnail.so" exe="/usr/bin/kd>
Oct 04 10:54:13 shop-manjaro audit: BPF prog-id=2353 op=LOAD
Oct 04 10:54:13 shop-manjaro kernel: audit: type=1334 audit(1633366453.058:9364): prog-id=2353 op=LOAD
Oct 04 10:54:13 shop-manjaro kernel: audit: type=1334 audit(1633366453.058:9365): prog-id=2354 op=LOAD
Oct 04 10:54:13 shop-manjaro audit: BPF prog-id=2354 op=LOAD
Oct 04 10:54:13 shop-manjaro systemd[1]: Started Process Core Dump (PID 2697857/UID 0).
░░ Subject: A start job for unit systemd-coredump@1164-2697857-0.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit systemd-coredump@1164-2697857-0.service has finished successfully.
░░ 
░░ The job identifier is 62811.
Oct 04 10:54:13 shop-manjaro audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1164-2697857-0 comm="systemd" exe="/usr/l>
Oct 04 10:54:13 shop-manjaro systemd-coredump[2697858]: Process 2697856 (thumbnail.so) of user 1002 dumped core.
                                                        
                                                        Stack trace of thread 2697856:
                                                        #0  0x00007f19ce450615 raise (libc.so.6 + 0x3d615)
                                                        #1  0x00007f19ce439862 abort (libc.so.6 + 0x26862)
                                                        #2  0x00007f19ce66c9ac _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x909ac)
                                                        #3  0x00007f19cec64646 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x131646)
                                                        #4  0x00007f19cec64ae1 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x131ae1)
                                                        #5  0x00007f19ce8986d6 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2bc6d6)
                                                        #6  0x00007f19cec67b20 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x134b20)
                                                        #7  0x00007f19cdc496aa _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x15f6aa)
                                                        #8  0x00007f19cf456f4c kdemain (thumbnail.so + 0x6f4c)
                                                        #9  0x000055ec468be5bd n/a (kdeinit5 + 0x75bd)
                                                        #10 0x000055ec468bfa59 n/a (kdeinit5 + 0x8a59)
                                                        #11 0x000055ec468c0237 n/a (kdeinit5 + 0x9237)
                                                        #12 0x000055ec468bbb54 n/a (kdeinit5 + 0x4b54)
                                                        #3  0x00007f19cec64646 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x131646)
                                                        #4  0x00007f19cec64ae1 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x131ae1)
                                                        #5  0x00007f19ce8986d6 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2bc6d6)
                                                        #6  0x00007f19cec67b20 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x134b20)
                                                        #7  0x00007f19cdc496aa _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x15f6aa)
                                                        #8  0x00007f19cf456f4c kdemain (thumbnail.so + 0x6f4c)
                                                        #9  0x000055ec468be5bd n/a (kdeinit5 + 0x75bd)
                                                        #10 0x000055ec468bfa59 n/a (kdeinit5 + 0x8a59)
                                                        #11 0x000055ec468c0237 n/a (kdeinit5 + 0x9237)
                                                        #12 0x000055ec468bbb54 n/a (kdeinit5 + 0x4b54)
                                                        #13 0x00007f19ce43b152 __libc_start_main (libc.so.6 + 0x28152)
                                                        #14 0x000055ec468bc6be n/a (kdeinit5 + 0x56be)
░░ Subject: Process 2697856 (thumbnail.so) dumped core
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ Documentation: man:core(5)
░░ 
░░ Process 2697856 (thumbnail.so) crashed and dumped core.
░░ 
░░ This usually indicates a programming error in the crashing program and
░░ should be reported to its vendor as a bug.
Oct 04 10:54:13 shop-manjaro systemd[1]: systemd-coredump@1164-2697857-0.service: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
lines 123086-123110/123121 100%