Bug 467545

Summary: KWin is not duck safe
Product: [Plasma] kwin Reporter: Daniel Scharrer <daniel>
Component: platform-x11-standaloneAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kde, qydwhotmail
Priority: NOR    
Version First Reported In: 5.27.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: duck.webm

Description Daniel Scharrer 2023-03-18 21:33:05 UTC
Created attachment 157403 [details]
duck.webm

SUMMARY
KWin crashes when playing a specifically crafted video file using mpv ( https://mpv.io/ ).

STEPS TO REPRODUCE
1. Play the attached video file with mpv -vo gpu (default) or -vo x11. Other players that show only the video without additional controls might work too but it is not guaranteed (e.g. mpv with -vo sdl does not reproduce the bug).

OBSERVED RESULT
KWin goes bye bye.

EXPECTED RESULT
KWin survives whatever window properties/dimensions mpv sets.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.13
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.1.7-gentoo (64-bit)
Graphics Platform: X11
Processors: 64 × AMD Ryzen Threadripper 3970X 32-Core Processor
Memory: 125.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C59
System Version: 1.0

ADDITIONAL INFORMATION
This is not a new bug in KWin, I have just been too lazy to report it.
Comment 1 David Edmundson 2023-03-20 17:12:34 UTC
I could not reproduce a crash, please include a backtrace.
Comment 2 Fushan Wen 2023-03-25 15:33:39 UTC
Cannot reproduce either
Comment 3 Bug Janitor Service 2023-04-09 03:45:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2023-04-24 03:46:08 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!