uranusjr commented on code in PR #27381:
URL: https://github.com/apache/airflow/pull/27381#discussion_r1017467022


##########
airflow/jobs/local_task_job.py:
##########
@@ -161,6 +191,10 @@ def handle_task_exit(self, return_code: int) -> None:
         """
         # Without setting this, heartbeat may get us
         self.terminating = True
+
+        if abs(return_code) == signal.SIGSEGV:  # Handle signal.SIGSEGV and 
psutil._psposix.Negsignal.SIGSEGV

Review Comment:
   Exit codes except 0 and 1 are implementation-defined, and I’m not sure what 
`cgexec` returns for errors, so some trail-and-errors would probably be needed. 
If they do return different values for this situation, it’d make sense to put 
the log in runners.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to