bneradt opened a new pull request, #14059: URL: https://github.com/apache/trafficserver/pull/14059
traffic_server can crash with a SIGSEGV in EThread::Metrics::summarize shortly after startup. An event thread's current slice stays null until the thread enters its event loop, but the stat sync callback summarizes every ET_CALL thread regardless. If a sync runs while a thread is still handling its start event, summarize backs up from a null pointer and reads invalid memory. A short proxy.config.raw_stat_sync_interval_ms makes this window easy to hit when a thread is slow to start. This patch makes summarize skip the slice samples of a thread whose current slice is not yet set, since such a thread has no loop samples to report. The loop and API timing histograms are merged before that check so their handling is unchanged. 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]
