-
-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Realtime error: Could not get pidns: Could not fstatat ns/pid: Not a directory #1653
Comments
FYI: this is because PipeWire's My current workaround is I'm running kernel version It's also possible that that code erroneously assumed Note to maintainers: pidfds have ioctls made specifically for this purpose, and switching to them will definitely fix this bug. |
For the record, I'm getting this on Debian unstable running 6.12: $ uname -a
Linux andrews-2024-laptop 6.12.16-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.16-1 (2025-02-22) x86_64 GNU/Linux |
Ah, then it's probably pidfd misuse. |
Operating System
Debian
XDG Desktop Portal version
Git
XDG Desktop Portal version (Other)
No response
Desktop Environment
Cinnamon / MATE / Xfce
Desktop Environment (Other)
No response
Expected Behavior
Playing a YouTube video should not cause any error messages.
Current Behavior
The following message appears in my systemd log:
It is often, but not always, accompanied by messages from pipewire. These usually include at least one warning that mentions "xrun" and sometimes include an error that says "snd_pcm_mmap_commit error: Broken pipe". They are not included here because this problem can happen without them.
Steps to Reproduce
sudo journalctl -f
in a terminalsudo journalctl -f
(this probably isn't specific to YouTube or even Firefox, I just happened to trigger the issue with them)
Anything else we should know?
The message is directly generated by xdp_pidfd_get_namespace() in xdp-utils.c, called from map_pid() in realtime.c.
I'm not familiar with pidfds and namespaces, but the function seems to be passed an anonymous pidfd, but expects an fd for a directory like
/proc/$pid/task/$pid
. Might this be getting called incorrectly?Note: PR #1655 improved the error message so I could debug the issue, but doesn't fix anything.
The text was updated successfully, but these errors were encountered: