bneradt opened a new pull request, #12783:
URL: https://github.com/apache/trafficserver/pull/12783

   When traffic_server exits normally (e.g., after regression tests complete), 
traffic_crashlog was incorrectly logging a crash because it detected its parent 
process had terminated. This happened because traffic_crashlog uses 
PR_SET_PDEATHSIG to wake up when traffic_server exits, but it couldn't 
distinguish between a crash (where crash_logger_invoke sends signal info via 
the pipe) and a normal exit (where the pipe is simply closed). This fix adds a 
poll() check on stdin to verify that crash data was actually sent before 
logging a crash, preventing false positive crash logs.


-- 
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