Skip to content
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

Stuck at "Cleaning... X files" for long periods of time #2444

Open
user062 opened this issue May 7, 2024 · 2 comments
Open

Stuck at "Cleaning... X files" for long periods of time #2444

user062 opened this issue May 7, 2024 · 2 comments

Comments

@user062
Copy link

user062 commented May 7, 2024

Ninja version:1.12.0
OS: Archlinux

Whenever I run ninja to build a project, it gets stuck at Cleaning... X files for a long period of time (sometimes up to 5 minutes) even when there are no files to clean.
While it is stuck, there is 0 CPU usage, so it's not doing anything.

htop shows that a spawned process is in a zombie state waiting to be reaped:
ninja_meson_problem

Here is a related meson report: mesonbuild/meson#10645

I appreciate any help debugging this further.

Thanks a lot.

@scivision
Copy link
Contributor

Could you give an example project where this happens e.g. CMake or Meson etc.

@user062
Copy link
Author

user062 commented May 17, 2024

@scivision, This happens when building GIMP.

I investigated a bit. I found that it's waiting on this ppoll call:
subprocess-posix.cc:267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants