This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
fork() can fail when the system runs out of non-interactive heap space (because there's not enough heap memory to allocate to the launched process). See: http://support.microsoft.com/default.aspx?scid=kb;en-us;824422 The attached patch fixes two problems: 1. cygrunsrv doesn't exit when fork returns -1 (failed to spawn child process) 2. log message doesn't include the proper errno of the fork failure. Ben Hochstedler
Attachment:
cygrunsrv-forkerr.patch
Description: cygrunsrv-forkerr.patch
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |