[bug #66499] Parameter for option -j seems not to be validated and can cause hangs
"Paul D. Smith" <[email protected]>
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #1, bug #66499 (group make):
The problem is that we are trying to write that many tokens into the jobserver
pipe, and it's hanging because there is nothing reading from the pipe.
The number of jobs that can be managed depends on how large a pipe the system
supports. Unfortunately I know of no way to determine how large a pipe a
system supports short of filling one up.
I expect to fix this we'll need to write nonblocking until we get back an
error.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66499>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ0t64AAKCRCqLAuaBUf3 TiR5AQCOs3ZF/Ha2C9dZrfHVs2oQ0jixTDdXPcdv/QG7vopDOgD/YeKovD3uuLHp 3A3LqR23f2KeVDiYHH8y4iIjb7+L9QQ= =Ojb8 -----END PGP SIGNATURE-----