You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While investigating an issue with this project's "import" script, @howard-e found that a process spawned by the script had crashed. Although this exceptional circumstance should be plainly evident from server logs, Howard could only intuit its occurrence indirectly (that is: by interpreting an error which occurred after the script incorrectly assumed the subprocess had exited cleanly).
Whenever a subprocess is created, the parent should account for the possibility that the child does not complete successfully (even if it is only to report the failure and exit).
A cursory review of the source identifies a number of instances of hazardous subprocess management:
While investigating an issue with this project's "import" script, @howard-e found that a process spawned by the script had crashed. Although this exceptional circumstance should be plainly evident from server logs, Howard could only intuit its occurrence indirectly (that is: by interpreting an error which occurred after the script incorrectly assumed the subprocess had exited cleanly).
Whenever a subprocess is created, the parent should account for the possibility that the child does not complete successfully (even if it is only to report the failure and exit).
A cursory review of the source identifies a number of instances of hazardous subprocess management:
...so addressing this problem should begin with a formal audit of the project.
The text was updated successfully, but these errors were encountered: