Closed TheAngusMcFire closed 2 weeks ago
another thing I noticed: I think it has something todo with the clipboard-sync (https://github.com/dnut/clipboard-sync) application, It was the only thing I changed about my setup...
Huh, that's a weird crash.
another thing I noticed: I think it has something todo with the clipboard-sync (https://github.com/dnut/clipboard-sync) application, It was the only thing I changed about my setup...
Maybe there's a fd leak going on? Hard to tell without debugging.
ls -al /proc/$(pgrep niri)/fd/
around the time when you suspect a crash is about to happen could shed some light on the issue.
Otherwise, try niri-git
since bcca03cce7da9dc4125aa34943041cb65e0fd4bb might work around the problem.
Oops, accidentally clicked the wrong button.
Hi, sorry for the late response. It really seems that the clipboard-sync util creates an obscene amount of fds lik this:
lrwx------ angus angus 64 B Wed Jun 19 23:08:25 2024 254 ⇒ socket:[82167] lrwx------ angus angus 64 B Wed Jun 19 23:08:25 2024 255 ⇒ socket:[82167] lrwx------ angus angus 64 B Wed Jun 19 23:08:25 2024 256 ⇒ socket:[82169] lrwx------ angus angus 64 B Wed Jun 19 23:08:25 2024 257 ⇒ socket:[82169]
I guess it crashes at about 1000 or something, it happens quite fast. I will try niri-git now.
Yes, it is not crashing with niri-git Thanks a lot for the help and the awesome Wayland compositor. I love niri.
Do these fds get cleaned up at some point? For example if you kill clipboard-sync? If there's a fd leak in niri we still want to fix it
I think the problem is clipboard-sync, I do not really know how it works but it seems after some time something internally crashes within clipboard-sync, after that all the FDs get cleaned up. I did not check but I think clipboard-check is not reusing/closing the connections correctly.
I got a random niri crash with this error message: I did nothing special, it just crashed.
System Information