Bug 473530

Summary: Qt Applications crash in QtWaylandClient::WlCallback::callback_done (...) at qwaylandinputdevice.cpp
Product: [Plasma] kwin Reporter: sudden6 <sudden6>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: kde
Priority: NOR    
Version: 5.27.7   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Backtrace of crash with KMail
QtCreator crash

Description sudden6 2023-08-19 11:24:33 UTC
SUMMARY

KMail crashes reproducibly for me whenever a file dialog is shown, but only for 2-5 times after I rebooted my PC, afterwards it's fine.

I have the same problem with other KDE Applications an Firefox, but decided to file it here, because it's the most reproducible and most annoying to me.

It seems to me this crash is strongly related to Wayland, because it didn't happen on X11.

STEPS TO REPRODUCE
1. Freshly booted my system
2. Open KMail
3. Go to "File" -> "Open"

OBSERVED RESULT

KMail crashes with the attached backtrace.

EXPECTED RESULT

KMail doesn't crash and I can select a file to open.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20230816
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.9-1-default (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7300U CPU @ 2.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620

ADDITIONAL INFORMATION

This might be irrelevant, but since it's unusual I'll mention it:
I use an external 1080p monitor with my Thinkpad T470, which runs at 120Hz. The internal display is also used, but runs at 60Hz.
Comment 1 sudden6 2023-08-19 11:26:11 UTC
Created attachment 161058 [details]
Backtrace of crash with KMail
Comment 2 sudden6 2023-08-20 10:55:41 UTC
Created attachment 161069 [details]
QtCreator crash

Captured a crash with QtCreator and a similar backtrace, see attached.

I'm beginning to think this is either a Plasma bug, or a Qt bug. I'll update the fields accordingly
Comment 3 David Edmundson 2023-10-03 21:28:02 UTC
Clients crashing is a client problem, not a kwin problem. You can file one at Qt, though pragmatically 5.15 won't get fixed and I haven't seen this in 6.