Bug 507748

Summary: Stretching a window past the display boundary causes kwin to crash in KWin::QPA::Window::swapchain
Product: [Plasma] kwin Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: kdedev
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.4.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=2385963
https://gitlab.freedesktop.org/drm/amd/-/issues/4473
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/227667/events/5779bf8f64f34ee1900da66150fb94ad/
Attachments: New crash information added by DrKonqi
A Screenshot Of gitlab.freedesktop.org/drm/amd/-/issues/3462 Reproduced, Due To This

Description Roke Julian Lockhart Beedell 2025-08-01 15:27:46 UTC
Application: kwin_wayland (6.4.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.16.0
Operating System: Linux 6.15.8-200.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (KDE Plasma Desktop Edition)"
DrKonqi: 6.4.3 [CoredumpBackend]

-- Information about the crash:
This replaces https://bugs.kde.org/show_bug.cgi?id=507744#c0:~:text=As%20https://bugzilla.redhat.com/show_bug.cgi?id=2385954%23c0%20explains%2C%20I%20extended,also%20crashed%20the%20XWayland%20compositor.

To rephrase it with what is now known:

Extending all but a libadwaita window, horizontally or vertically, past the boundaries of the display, causes it to SIGSEGV. Initially, the content becomes stretched and corrupted. Then, it becomes black. Then, the window decorations become black (and squared), with solely the shadow remaining as it should. Then, it crashes. Alongside it, some attempts have also crashed the Wayland and XWayland compositors, albeit inconsistently.

This has been reported downstream, at https://bugzilla.redhat.com/show_bug.cgi?id=2385963#c0.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  0x00007fb218dea237 in si_log_cs (ctx=0x55f347211ee0, log=0x55f34719a3b8, dump_bo_list=false) at ../src/gallium/drivers/radeonsi/si_debug.c:463
#6  0x00007fb218b81289 in u_log_flush (ctx=ctx@entry=0x55f34719a3b8) at ../src/gallium/auxiliary/util/u_log.c:109
#7  0x00007fb218b812d0 in u_log_chunk (ctx=ctx@entry=0x55f34719a3b8, type=type@entry=0x7fb21b1c5fe0 <str_chunk_type>, data=0x55f3490f3e50) at ../src/gallium/auxiliary/util/u_log.c:154
#8  0x00007fb218b81445 in u_log_printf (ctx=0x55f34719a3b8, fmt=fmt@entry=0x7fb21a1ce818 "\n", '-' <repeats 48 times>, "\nDecompress Color (levels %u - %u, mask 0x%x)\n\n") at ../src/gallium/auxiliary/util/u_log.c:137
#9  0x00007fb218dd6dd0 in si_blit_decompress_color (sctx=0x55f347211ee0, tex=tex@entry=0x55f3497e38c0, first_level=first_level@entry=0, last_level=0, first_layer=first_layer@entry=0, last_layer=0, need_dcc_decompress=true, need_fmask_expand=false) at ../src/gallium/drivers/radeonsi/si_blit.c:460
#10 0x00007fb218dda246 in si_decompress_dcc (sctx=sctx@entry=0x55f347211ee0, tex=tex@entry=0x55f3497e38c0) at ../src/gallium/drivers/radeonsi/si_blit.c:1447
#11 0x00007fb218da202c in si_texture_disable_dcc (sctx=0x55f347211ee0, tex=0x55f3497e38c0) at ../src/gallium/drivers/radeonsi/si_texture.c:498
#12 0x00007fb218da21d7 in si_texture_get_handle (screen=0x55f347199470, ctx=0x0, resource=<optimized out>, whandle=0x7ffcc284f8d0, usage=2) at ../src/gallium/drivers/radeonsi/si_texture.c:832
#13 0x00007fb218d9f953 in si_resource_get_param (screen=<optimized out>, context=0x0, resource=<optimized out>, plane=<optimized out>, layer=<optimized out>, level=<optimized out>, param=PIPE_RESOURCE_PARAM_HANDLE_TYPE_KMS, handle_usage=2, value=0x7ffcc284f990) at ../src/gallium/drivers/radeonsi/si_texture.c:716
#14 0x00007fb218431c92 in dri2_resource_get_param (image=image@entry=0x55f3494e5c40, param=<optimized out>, handle_usage=<optimized out>, handle_usage@entry=2, value=value@entry=0x7ffcc284f990) at ../src/gallium/frontends/dri/dri2.c:1288
#15 0x00007fb2184340a0 in dri2_query_image_by_resource_param (image=0x55f3494e5c40, attrib=8193, value=0x55f3490abe08) at ../src/gallium/frontends/dri/dri2.c:1332
#16 dri2_query_image (image=image@entry=0x55f3494e5c40, attrib=attrib@entry=8193, value=value@entry=0x55f3490abe08) at ../src/gallium/frontends/dri/dri2.c:1370
#17 0x00007fb21b8baedf in gbm_dri_bo_create (gbm=0x55f34707f710, width=<optimized out>, height=1463, format=875713089, usage=<optimized out>, modifiers=<optimized out>, count=<optimized out>) at ../src/gbm/backends/dri/gbm_dri.c:1003
#18 0x00007fb22ff47ebc in gbm_bo_create (gbm=<optimized out>, width=<optimized out>, height=<optimized out>, format=<optimized out>, flags=<optimized out>) at ../src/gbm/main/gbm.c:498
#19 0x00007fb233477603 in KWin::allocateDmaBuf (device=<optimized out>, options=...) at /usr/include/qt6/QtCore/qsize.h:131
#20 0x000055f323afa729 in KWin::QPA::Window::swapchain (this=0x55f34882fc50, context=std::shared_ptr<KWin::EglContext> (use count 1, weak count 0) = {...}, formats=...) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/plugins/qpa/window.cpp:71


Reported using DrKonqi
Comment 1 Roke Julian Lockhart Beedell 2025-08-01 15:27:47 UTC
Created attachment 183713 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Roke Julian Lockhart Beedell 2025-08-01 15:28:19 UTC
*** Bug 507744 has been marked as a duplicate of this bug. ***
Comment 3 Roke Julian Lockhart Beedell 2025-08-01 15:59:50 UTC
Created attachment 183714 [details]
A Screenshot Of gitlab.freedesktop.org/drm/amd/-/issues/3462 Reproduced, Due To This

Per https://bugzilla.redhat.com/show_bug.cgi?id=2385966#short_desc_nonedit_display and https://bugzilla.redhat.com/show_bug.cgi?id=2385965#short_desc_nonedit_display, this reproduces https://gitlab.freedesktop.org/drm/amd/-/issues/3462#note_3035001. It's the first method of reproduction I've encountered for nearly a year. I've attached a photograph which demonstrates this.
Comment 4 Roke Julian Lockhart Beedell 2025-08-01 16:31:26 UTC
*** Bug 507753 has been marked as a duplicate of this bug. ***
Comment 5 TraceyC 2025-08-01 22:09:50 UTC
Searchable backtrace

Thread 1 (Thread 0x7fb22a32c300 (LWP 31621)):
[KCrash Handler]
#5  0x00007fb218dea237 in si_log_cs (ctx=0x55f347211ee0, log=0x55f34719a3b8, dump_bo_list=false) at ../src/gallium/drivers/radeonsi/si_debug.c:463
#6  0x00007fb218b81289 in u_log_flush (ctx=ctx@entry=0x55f34719a3b8) at ../src/gallium/auxiliary/util/u_log.c:109
#7  0x00007fb218b812d0 in u_log_chunk (ctx=ctx@entry=0x55f34719a3b8, type=type@entry=0x7fb21b1c5fe0 <str_chunk_type>, data=0x55f3490f3e50) at ../src/gallium/auxiliary/util/u_log.c:154
#8  0x00007fb218b81445 in u_log_printf (ctx=0x55f34719a3b8, fmt=fmt@entry=0x7fb21a1ce818 "\n", '-' <repeats 48 times>, "\nDecompress Color (levels %u - %u, mask 0x%x)\n\n") at ../src/gallium/auxiliary/util/u_log.c:137
#9  0x00007fb218dd6dd0 in si_blit_decompress_color (sctx=0x55f347211ee0, tex=tex@entry=0x55f3497e38c0, first_level=first_level@entry=0, last_level=0, first_layer=first_layer@entry=0, last_layer=0, need_dcc_decompress=true, need_fmask_expand=false) at ../src/gallium/drivers/radeonsi/si_blit.c:460
#10 0x00007fb218dda246 in si_decompress_dcc (sctx=sctx@entry=0x55f347211ee0, tex=tex@entry=0x55f3497e38c0) at ../src/gallium/drivers/radeonsi/si_blit.c:1447
#11 0x00007fb218da202c in si_texture_disable_dcc (sctx=0x55f347211ee0, tex=0x55f3497e38c0) at ../src/gallium/drivers/radeonsi/si_texture.c:498
#12 0x00007fb218da21d7 in si_texture_get_handle (screen=0x55f347199470, ctx=0x0, resource=<optimized out>, whandle=0x7ffcc284f8d0, usage=2) at ../src/gallium/drivers/radeonsi/si_texture.c:832
#13 0x00007fb218d9f953 in si_resource_get_param (screen=<optimized out>, context=0x0, resource=<optimized out>, plane=<optimized out>, layer=<optimized out>, level=<optimized out>, param=PIPE_RESOURCE_PARAM_HANDLE_TYPE_KMS, handle_usage=2, value=0x7ffcc284f990) at ../src/gallium/drivers/radeonsi/si_texture.c:716
#14 0x00007fb218431c92 in dri2_resource_get_param (image=image@entry=0x55f3494e5c40, param=<optimized out>, handle_usage=<optimized out>, handle_usage@entry=2, value=value@entry=0x7ffcc284f990) at ../src/gallium/frontends/dri/dri2.c:1288
#15 0x00007fb2184340a0 in dri2_query_image_by_resource_param (image=0x55f3494e5c40, attrib=8193, value=0x55f3490abe08) at ../src/gallium/frontends/dri/dri2.c:1332
#16 dri2_query_image (image=image@entry=0x55f3494e5c40, attrib=attrib@entry=8193, value=value@entry=0x55f3490abe08) at ../src/gallium/frontends/dri/dri2.c:1370
#17 0x00007fb21b8baedf in gbm_dri_bo_create (gbm=0x55f34707f710, width=<optimized out>, height=1463, format=875713089, usage=<optimized out>, modifiers=<optimized out>, count=<optimized out>) at ../src/gbm/backends/dri/gbm_dri.c:1003
#18 0x00007fb22ff47ebc in gbm_bo_create (gbm=<optimized out>, width=<optimized out>, height=<optimized out>, format=<optimized out>, flags=<optimized out>) at ../src/gbm/main/gbm.c:498
#19 0x00007fb233477603 in KWin::allocateDmaBuf (device=<optimized out>, options=...) at /usr/include/qt6/QtCore/qsize.h:131
#20 0x000055f323afa729 in KWin::QPA::Window::swapchain (this=0x55f34882fc50, context=std::shared_ptr<KWin::EglContext> (use count 1, weak count 0) = {...}, formats=...) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/plugins/qpa/window.cpp:71
#21 0x000055f323aefe04 in KWin::QPA::EGLPlatformContext::makeCurrent (this=0x55f348b27360, surface=0x55f34882fc50) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/plugins/qpa/eglplatformcontext.cpp:82
#22 0x00007fb2312fa9a2 in QOpenGLContext::makeCurrent (this=0x55f3486b0130, surface=surface@entry=0x55f348a80410) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qopenglcontext.cpp:680
#23 0x00007fb231316ab5 in QRhiGles2::ensureContext (this=0x55f348523a80, surface=0x55f348a80410) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/rhi/qrhigles2.cpp:670
#24 0x00007fb23132067b in QRhiGles2::beginFrame (this=0x55f348523a80, swapChain=0x55f349679ff0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/rhi/qrhigles2.cpp:2243
#25 0x00007fb2311769e5 in QRhi::beginFrame (this=0x55f3483f1350, swapChain=0x55f349679ff0, flags=flags@entry=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/rhi/qrhi.cpp:11191
#26 0x00007fb232e22e24 in QSGGuiThreadRenderLoop::renderWindow (this=0x55f348b6d1c0, window=0x55f348a80400) at /usr/src/debug/qt6-qtdeclarative-6.9.1-3.fc42.x86_64/src/quick/scenegraph/qsgrenderloop.cpp:673
#27 0x00007fb230f58265 in QWindow::event (this=<optimized out>, ev=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qwindow.cpp:2742
#28 0x00007fb231a3d97f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f348a80400, e=0x7ffcc28501e0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qapplication.cpp:3303
#29 0x00007fb2306f9f38 in QCoreApplication::notifyInternal2 (receiver=0x55f348a80400, event=0x7ffcc28501e0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1106
#30 0x00007fb2306fa1ad in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1560
#31 0x00007fb230ef3cea in QGuiApplicationPrivate::processExposeEvent (e=0x7ffcc2850280) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qguiapplication.cpp:3480
#32 0x00007fb230f6463d in QWindowSystemEventHandler::sendEvent (this=<optimized out>, e=0x7ffcc2850280) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:190
#33 QWindowSystemHelper<QWindowSystemInterface::SynchronousDelivery>::handleEvent<QWindowSystemInterfacePrivate::ExposeEvent, QWindow*, QRegion> () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:102
#34 QWindowSystemHelper<QWindowSystemInterface::SynchronousDelivery>::handleEvent<QWindowSystemInterfacePrivate::ExposeEvent, QWindow*, QRegion> () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:96
#35 0x00007fb230f64781 in QWindowSystemHelper<QWindowSystemInterface::DefaultDelivery>::handleEvent<QWindowSystemInterfacePrivate::ExposeEvent, QWindow*, QRegion> () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:80
#36 handleWindowSystemEvent<QWindowSystemInterfacePrivate::ExposeEvent, QWindowSystemInterface::DefaultDelivery, QWindow*, QRegion> () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:138
#37 QWindowSystemInterface::handleExposeEvent<QWindowSystemInterface::DefaultDelivery> (window=0x55f348a80400, region=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:337
#38 0x000055f323afa243 in KWin::QPA::Window::map (this=0x55f34882fc50) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/plugins/qpa/window.cpp:157
#39 KWin::QPA::Window::setVisible (this=0x55f34882fc50, visible=<optimized out>) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/plugins/qpa/window.cpp:92
#40 0x00007fb232678163 in QQmlPropertyData::writeProperty (this=<optimized out>, target=<optimized out>, value=<optimized out>, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.9.1-3.fc42.x86_64/src/qml/qml/qqmlpropertydata_p.h:344
#41 GenericBinding<1>::doStore<bool> (this=<optimized out>, value=<optimized out>, pd=<optimized out>, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.9.1-3.fc42.x86_64/src/qml/qml/qqmlbinding.cpp:284
#42 GenericBinding<1>::write (this=0x55f348625300, result=..., isUndefined=false, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.9.1-3.fc42.x86_64/src/qml/qml/qqmlbinding.cpp:247
#43 0x00007fb2326702e9 in QQmlBinding::doUpdate (this=0x55f348625300, watcher=..., flags=..., scope=...) at /usr/src/debug/qt6-qtdeclarative-6.9.1-3.fc42.x86_64/src/qml/qml/qqmlbinding.cpp:715
#44 0x00007fb232674088 in QQmlBinding::update (this=0x55f348625300, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.9.1-3.fc42.x86_64/src/qml/qml/qqmlbinding.cpp:165
#45 0x00007fb23271c1b1 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at /usr/src/debug/qt6-qtdeclarative-6.9.1-3.fc42.x86_64/src/qml/qml/qqmlnotifier.cpp:70
#46 0x00007fb230765470 in doActivate<false> (sender=0x55f347127380, signal_index=3, argv=0x0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4036
#47 0x00007fb2336bf02a in KWin::Window::setElectricBorderMaximizing (maximizing=<optimized out>, this=<optimized out>) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/window.cpp:3597
#48 KWin::Window::setElectricBorderMaximizing (this=<optimized out>, maximizing=<optimized out>) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/window.cpp:3592
#49 0x00007fb2336b4aef in KWin::Window::checkQuickTilingMaximizationZones (this=0x55f349a03250, xroot=1687, yroot=<optimized out>) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/window.cpp:2616
#50 0x00007fb2336b6fcf in KWin::Window::updateInteractiveMoveResize (this=0x55f349a03250, global=..., modifiers=...) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/window.cpp:1405
#51 0x00007fb2335273fa in KWin::MoveResizeFilter::pointerMotion (this=<optimized out>, event=<optimized out>) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/input.cpp:698
#52 0x00007fb2335d6c7a in std::__invoke_impl<bool, bool (KWin::InputEventFilter::*&)(KWin::PointerMotionEvent*), KWin::InputEventFilter* const&, KWin::PointerMotionEvent*&> (__f=<optimized out>, __t=<synthetic pointer>: <optimized out>) at /usr/include/c++/15/bits/invoke.h:73
#53 std::__invoke<bool (KWin::InputEventFilter::*&)(KWin::PointerMotionEvent*), KWin::InputEventFilter* const&, KWin::PointerMotionEvent*&> (__fn=<optimized out>) at /usr/include/c++/15/bits/invoke.h:98
#54 std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::PointerMotionEvent*))(KWin::PointerMotionEvent*)>::__call<bool, KWin::InputEventFilter* const&, 0ul, 1ul>(std::tuple<KWin::InputEventFilter* const&>&&, std::_Index_tuple<0ul, 1ul>) (this=<optimized out>, __args=...) at /usr/include/c++/15/functional:515
#55 std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::PointerMotionEvent*))(KWin::PointerMotionEvent*)>::operator()<KWin::InputEventFilter* const&, bool>(KWin::InputEventFilter* const&) (this=<optimized out>) at /usr/include/c++/15/functional:600
#56 KWin::InputRedirection::processFilters<std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::PointerMotionEvent*))(KWin::PointerMotionEvent*)> >(std::_Bind<bool (KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::PointerMotionEvent*))(KWin::PointerMotionEvent*)>) (this=<optimized out>, function=...) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/input.h:149
#57 KWin::PointerInputRedirection::processMotionInternal (this=0x55f347378f50, pos=..., delta=..., deltaNonAccelerated=..., time=..., device=0x55f348852b80, type=KWin::PointerInputRedirection::MotionType::Motion) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/pointer_input.cpp:268
#58 0x00007fb2335d7b93 in KWin::PointerInputRedirection::processMotion (this=<optimized out>, delta=..., deltaNonAccelerated=..., time=..., device=<optimized out>) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/pointer_input.cpp:237
#59 0x00007fb2307658b7 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=0x55f347378f50, a=0x7ffcc2852450) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobjectdefs_impl.h:461
#60 doActivate<false> (sender=0x55f348852b80, signal_index=6, argv=argv@entry=0x7ffcc2852450) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4146
#61 0x00007fb23075c089 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fb233bfa020 <KWin::InputDevice::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffcc2852450) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4206
#62 0x00007fb23347a348 in QMetaObject::activate<void, QPointF, QPointF, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*> (sender=<optimized out>, mo=0x7fb233bfa020 <KWin::InputDevice::staticMetaObject>, local_signal_index=3, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs.h:306
#63 KWin::InputDevice::pointerMotion (this=<optimized out>, _t1=..., _t2=..., _t3=std::chrono::duration = { 9974112339us }, _t4=<optimized out>) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/redhat-linux-build/src/kwin_autogen/include/moc_inputdevice.cpp:736
#64 0x00007fb23378f009 in KWin::LibInput::Connection::processEvents (this=0x55f3474cf6f0) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/backends/libinput/connection.cpp:363
#65 0x00007fb23075662c in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:1431
#66 0x00007fb231a3d97f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f347378b50, e=0x7fb1e40163a0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qapplication.cpp:3303
#67 0x00007fb2306f9f38 in QCoreApplication::notifyInternal2 (receiver=0x55f347378b50, event=0x7fb1e40163a0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1106
#68 0x00007fb2306fa19d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1546
#69 0x00007fb2306fdd26 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=data@entry=0x55f346feb670) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1879
#70 0x00007fb2308c84d3 in QEventDispatcherUNIX::processEvents (this=0x55f34700ad00, flags=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qeventdispatcher_unix.cpp:418
#71 0x00007fb2314e0442 in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/platform/unix/qunixeventdispatcher.cpp:27
#72 0x00007fb230707b03 in QEventLoop::exec (this=this@entry=0x7ffcc2852920, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/global/qflags.h:77
#73 0x00007fb230703419 in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1449
#74 0x00007fb230eddbad in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qguiapplication.cpp:1986
#75 0x00007fb231a3d8e9 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qapplication.cpp:2570
#76 0x000055f323abf6db in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin-6.4.3-1.fc42.x86_64/src/main_wayland.cpp:635
Comment 6 TraceyC 2025-08-01 22:21:52 UTC
I'm not able to reproduce this on git-master or Plasma 6.4.3 on Solus, either with a single screen or multiple screens

In the linked downstream Redhat report, they confirmed this is a crash in the mesa drivers. Please read https://docs.mesa3d.org/bugs.html and submit a bug report for the Mesa developers. Thanks!
Comment 7 Roke Julian Lockhart Beedell 2025-08-02 00:23:26 UTC
(In reply to TraceyC from comment #6)

> I'm not able to reproduce this on git-master or Plasma 6.4.3 on Solus, either
> with a single screen or multiple screens

For KWin Wayland to crash, it requires something that paints to the display quite complex graphics, like GIMP with an image open, or Blender. Krita quite reproducibly crashes XWayland too.

> In the linked downstream Redhat report, they confirmed this is a crash in the m
> esa drivers. Please read https://docs.mesa3d.org/bugs.html and submit a bug rep
> ort for the Mesa developers.

Yes, and I'll submit a report to https://gitlab.freedesktop.org/drm/amd/-/issues/new?description_template=drm_BUG_TEMPLATE tomorrow (because it does differ in cause to https://bugs.kde.org/show_bug.cgi?id=507748#c3). However, if you read the last part of https://bugzilla.redhat.com/show_bug.cgi?id=2385963#c22:~:text=Step%201%20is%20to%20just%20make%20Mesa%20handle%20this%20gracefully%20and%20fail%20the%20relevant%20operations.%20Then%20compositors%20have%20to%20decide%20how%20to%20handle%20it, it is mentioned that this might require some special-case handling even when Mesa's done, so we might return in a few years, when Mesa gets around to solving this, if that's insufficient.

I shall mention that I've confirmed that Dolphin and `49800KritaProject.Krita_5.2.11.0_x64__n3kgb906j1zjg` cope well on Windows 11, even at 15 000 by 11 000 px, so there's nothing more to do outside of the driver, or, at worst, compositor/WM! 😊
Comment 8 Roke Julian Lockhart Beedell 2025-08-03 16:06:47 UTC
(In reply to Roke Julian Lockhart Beedell from comment #7)

> I'll submit a report to https://gitlab.freedesktop.org/drm/amd/-/issues/new?description_template=drm_BUG_TEMPLATE

Reported upstream, at https://gitlab.freedesktop.org/drm/amd/-/issues/4473.