We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5d3266 commit 208ea75Copy full SHA for 208ea75
Lib/concurrent/futures/process.py
@@ -478,7 +478,10 @@ def _terminate_broken(self, cause):
478
if cause is not None:
479
cause_str = ''.join(cause)
480
else:
481
- # No cause known, synthesize from child process exitcodes
+ # No cause known, so report any processes that have
482
+ # terminated with nonzero exit codes, e.g. from a
483
+ # segfault. Multiple may terminate simultaneously,
484
+ # so include all of them in the traceback.
485
errors = []
486
for p in self.processes.values():
487
if p.exitcode is not None and p.exitcode != 0:
0 commit comments