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

   traffic_server can crash with a SIGSEGV in EThread::summarize_stats
   shortly after startup. An event thread's current metric block stays
   null until the thread enters its event loop, but the raw stat sync
   callback summarizes every ET_CALL thread regardless. If a sync runs
   while a thread is still handling its start event, summarize_stats
   backs up from a null pointer and reads invalid memory. The Uranium
   tests sync raw stats every 100 ms, which makes this window easy to hit.
   
   This patch makes summarize_stats skip a thread whose current metric
   block is not yet set. Such a thread has no loop samples to report, so
   the summary is unchanged.
   
   This is the 9.2.x form of the master fix in
   apache/trafficserver#14059.
   
   Co-authored-by: Claude Opus 5.5 Medium <[email protected]>


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