Bug 504149

Summary: Kmail crashes when starting fullscreen or resizing window
Product: [Applications] kmail2 Reporter: Detlev Casanova <detlev.casanova>
Component: generalAssignee: kdepim bugs <pim-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/179746/events/9904eb2d1a654efc95e33bf453f641ed/
Attachments: New crash information added by DrKonqi

Description Detlev Casanova 2025-05-13 13:49:50 UTC
Application: kmail (6.4.1 (25.04.1))

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.14.0
Operating System: Linux 6.14.6-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.3.5 [CoredumpBackend]

-- Information about the crash:
When starting kmail (or kontact), it crashes when the window is maximized or resized (could test something else).

This started after the update to qt6-webengine 6.9 (downgrading to 6.8 fixed it, but can;t do it anymore because of new libxml2 version requirements)

This only seem to happen on my computer that has an NVidia GPU (NVIDIA Corporation GA102 [GeForce RTX 3080] (rev a1)) with the vulkan-nouveau driver.

When it starts as a small window, the email content part is not shown (only mail list and accounts). If I start increasing the window's height, it looks like the crash happens exactly when the email content view becomes visible, therefore using the qtwebengine to show the email.

Let me know if you need more details.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  nv50_resource_from_memobj () at ../mesa-25.0.5/src/gallium/drivers/nouveau/nv50/nv50_resource.c:155
#6  0x00007897a8ecdac7 in st_texture_create_from_memory () at ../mesa-25.0.5/src/mesa/state_tracker/st_cb_texture.c:3409
#7  st_texture_storage () at ../mesa-25.0.5/src/mesa/state_tracker/st_cb_texture.c:3490
#8  0x00007897a8eb97fd in texture_storage () at ../mesa-25.0.5/src/mesa/main/texstorage.c:609
#9  _mesa_texture_storage_memory () at ../mesa-25.0.5/src/mesa/main/texstorage.c:995


Reported using DrKonqi
Comment 1 Detlev Casanova 2025-05-13 13:49:52 UTC
Created attachment 181243 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Detlev Casanova 2025-05-22 13:11:33 UTC
Seems to be fixed after an upgrade to mesa 25.1.1