| Summary: | kwin_wayland crash with amdgpu+nouveau for file descript | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | anonymous.34197 |
| Component: | generic-crash | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | kde, kdedev, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.2.3 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 6.2.5 | |
| Sentry Crash Report: | |||
| Attachments: |
tools to log the activity of file descriptor for kwin_wayland, just run it and wait until exit. in the cwd of the tool are been created loggerOut_poll.txt and loggerOut_ioctl.txt, which are the logs
file descriptor log |
||
|
Description
anonymous.34197
2024-11-27 09:51:01 UTC
Can you please capture the contents of `ls -l /proc/$(pidof kwin_wayland)/fd` when the issue happens the next time? You may need to run the ls command with sudo Setting this to waiting for info (In reply to Vlad Zahorodnii from comment #1) > Can you please capture the contents of `ls -l /proc/$(pidof > kwin_wayland)/fd` when the issue happens the next time? You may need to run > the ls command with sudo In general the content it's a lot of a_inode:sync_file, in any case i create a program to log the fd for kwin. Created attachment 176177 [details]
file descriptor log
After spent 7 hours to achieve only two crash i can't get the "ls -l /proc/$(pid)/fd" with the max of fd that kwin_wayland can open (529k), during when it's alive i run it, and i collected "only" 136K fd i know that was requested when it crash, but it took me every time at least 3 hours. during this time i did more testing and i find out that it starts spawning fd when an update occurs on the display attached to the nvidia gpu (In reply to anonymous.34197 from comment #3) > (In reply to Vlad Zahorodnii from comment #1) > > Can you please capture the contents of `ls -l /proc/$(pidof > > kwin_wayland)/fd` when the issue happens the next time? You may need to run > > the ls command with sudo > > In general the content it's a lot of a_inode:sync_file, in any case i create > a program to log the fd for kwin. Okay, it seems like native fence file descriptors are leaked somehow. Should be fixed by: https://invent.kde.org/plasma/kwin/-/merge_requests/6847 |