ninja hanging with zombie child process
Occasionally, ninja is hanging after running a long-running build step, with a zombie child process present: $ ps ax grep ninja 32692 pts/1 S+ 0:00 ninja -C build/GccReleaseASan/ $ pstree 32692 -p ninja(32692)───sh(32702) $ gdb -p 32702 [...] Attaching to process 32702 warning: process 32702 is a zombie - the process has already terminated $ gdb -p 32692 [...] 0x00007f2839c2ed39 in __GI_ppoll (fds=0x1813c60, nfds=1, timeout= , sigmask=0x1807b40) at ../sysdeps/unix/sysv/linux/ppoll.c:51 51 result = INLINE_SYSCALL (ppoll, 5, fds, nfds, timeout, sigmask, _NSIG / 8); (gdb) bt #0…
- Demand 25% × 0.49 = 127 reactions, 4 comments
- Technical fit 30% × 0.61 = 18Ninja is in Language & Toolchain (a focus area); issue needs linux, which you listed
- Maintainer engagement 25% × 0.31 = 8comments not checked; labelled (triaged); project responsiveness 45%
- Feasibility 20% × 0.90 = 18newcomer label; clear scope; has reproduction steps; has code; project onboarding 50%
- #2052 ninja hanging with zombie child processissue
Occasionally, ninja is hanging after running a long-running build step, with a zombie child process present: $ ps ax grep ninja 32692 pts/1 S+ 0:00 ninja -C build/GccReleaseASan/ $ pstree 32692 -p ninja(32692)───sh(32702) $ gdb -p 32702 [...] Attaching to process 32702 warning…
Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.
