Bug 507744

Summary: (Horizontally) stretching any window causes it to crash.
Product: [Applications] systemsettings Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 6.4.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=2385942
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/227606/events/402a8a522f92451aa07b6e932990c064/
Attachments: New crash information added by DrKonqi

Description Roke Julian Lockhart Beedell 2025-08-01 14:54:19 UTC
Application: systemsettings (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:
As https://bugzilla.redhat.com/show_bug.cgi?id=2385954#c0 explains, I extended System Setttings, horizontally, quite far past the boundaries of the display. Initially, the content became stretched and corrupted. Then, it became black. Then, the window decorations became black (and squared), with solely the shadow remaining as it should. Then, it crashed. Other attempts have also crashed the XWayland compositor.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  dri2_query_image_common (image=0x0, attrib=8196, value=0x7ffe683c1b74) at ../src/gallium/frontends/dri/dri2.c:1169
#6  dri2_query_image (image=image@entry=0x0, attrib=attrib@entry=8196, value=value@entry=0x7ffe683c1b74) at ../src/gallium/frontends/dri/dri2.c:1368
#7  0x00007fb96a331258 in create_wl_buffer (dri2_dpy=dri2_dpy@entry=0x55a7aa9f4c70, dri2_surf=dri2_surf@entry=0x55a7aac6c170, image=0x0) at ../src/egl/drivers/dri2/platform_wayland.c:1507
#8  0x00007fb96a331b22 in dri2_wl_swap_buffers_with_damage (disp=<optimized out>, draw=0x55a7aac6c170, rects=0x0, n_rects=0) at ../src/egl/drivers/dri2/platform_wayland.c:1716
#9  0x00007fb96a326e79 in dri2_swap_buffers (disp=0x55a7aa9f41e0, surf=0x55a7aac6c170) at ../src/egl/drivers/dri2/egl_dri2.c:1649
#10 0x00007fb96a31a67b in eglSwapBuffers (dpy=<optimized out>, surface=0x55a7aac6c170) at ../src/egl/main/eglapi.c:1454
#11 0x00007fb97a0f9ab3 in QtWaylandClient::QWaylandGLContext::swapBuffers (this=0x55a7abeffc80, surface=<optimized out>) at /usr/src/debug/qt6-qtwayland-6.9.1-3.fc42.x86_64/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:406
#12 0x00007fb98051f1ad in QRhiGles2::endFrame (this=0x55a7abefba60, swapChain=0x55a7ad0373f0, flags=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/rhi/qrhigles2.cpp:2290
#13 0x00007fb980376b0c in QRhi::endFrame (this=this@entry=0x55a7ac069030, swapChain=swapChain@entry=0x55a7ad0373f0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/rhi/qrhi.cpp:11226
#14 0x00007fb98017cb96 in QBackingStoreDefaultCompositor::flush (this=this@entry=0x55a7ab4f2578, backingStore=backingStore@entry=0x55a7abc61a40, rhi=0x55a7ac069030, swapchain=<optimized out>, window=window@entry=0x55a7ab1bd030, sourceDevicePixelRatio=sourceDevicePixelRatio@entry=1.5, region=..., offset=..., textures=0x55a7ac099830, translucentBackground=false) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/painting/qbackingstoredefaultcompositor.cpp:671
#15 0x00007fb9803272d1 in QPlatformBackingStore::rhiFlush (this=0x55a7abc61a40, window=0x55a7ab1bd030, sourceDevicePixelRatio=1.5, region=..., offset=..., textures=0x55a7ac099830, translucentBackground=false) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/painting/qplatformbackingstore.cpp:219
#16 0x00007fb980cb04db in QWidgetRepaintManager::flush (this=this@entry=0x55a7ac099850, widget=0x55a7aab7a9c0, region=..., widgetTextures=0x55a7ac099830) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qwidgetrepaintmanager.cpp:1068
#17 0x00007fb980cb1a9c in QWidgetRepaintManager::flush (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qwidgetrepaintmanager.cpp:980
#18 0x00007fb980cb3cea in QWidgetRepaintManager::paintAndFlush (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qwidgetrepaintmanager.cpp:912
#19 0x00007fb980cbb761 in QWidgetWindow::handleResizeEvent (this=0x55a7ab1bd030, event=0x7ffe683c2860) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qwidgetwindow.cpp:859
#20 0x00007fb980cbf0f1 in QWidgetWindow::event (this=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qwidgetwindow.cpp:314


Reported using DrKonqi
Comment 1 Roke Julian Lockhart Beedell 2025-08-01 14:54:20 UTC
Created attachment 183711 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Roke Julian Lockhart Beedell 2025-08-01 14:55:45 UTC
*** Bug 507745 has been marked as a duplicate of this bug. ***
Comment 3 Roke Julian Lockhart Beedell 2025-08-01 14:59:02 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=2385942#c13 is the meta-issue downstream.
Comment 4 Roke Julian Lockhart Beedell 2025-08-01 15:28:19 UTC
(In reply to Roke Julian Lockhart Beedell from comment #3)

https://bugs.kde.org/show_bug.cgi?id=507748#c0:~:text=This%20replaces%20https://bugs.kde.org/show_bug.cgi?id=507744%23c0:~:text=As%2520https://bugzilla.redhat.com/show_bug.cgi?id=2385954%2523c0%2520explains%252C%2520I%2520extended%2Calso%2520crashed%2520the%2520XWayland%2520compositor.,been%20reported%20downstream%2C%20at%20https://bugzilla.redhat.com/show_bug.cgi?id=2385963%23c0 replaces it.

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