You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "bneradt (via GitHub)" <gi...@apache.org> on 2026/08/01 19:56:39 UTC
[PR] Guard pre-init log wakeups [trafficserver]
bneradt opened a new pull request, #13472:
URL: https://github.com/apache/trafficserver/pull/13472
Plugins can fill a text log buffer during TSPluginInit before logging
preprocessing threads and their notification objects exist. This
causes a null dereference that crashes traffic_server during startup.
This problem is addressed in this patch by queuing those buffers
without signaling until the logging workers exist. Their initial queue
scan then flushes the pending data. A regression test forces a rollover
during plugin initialization and verifies ATS stays up and preserves the
log entry.
--
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: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Guard pre-init log wakeups [trafficserver]
Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt commented on PR #13472:
URL: https://github.com/apache/trafficserver/pull/13472#issuecomment-5153233643
I verified the regression test in an A/B run. With the test and test-plugin changes present but the production LogObject guards removed, traffic_server crashed during TSPluginInit with SIGSEGV at address 0x0. The backtrace passed through EventNotify::signal() and LogObject::_checkout_write(), and AuTest failed. Restoring the production fix made the identical test pass.
--
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: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Guard pre-init log wakeups [trafficserver]
Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt merged PR #13472:
URL: https://github.com/apache/trafficserver/pull/13472
--
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: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Guard pre-init log wakeups [trafficserver]
Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt commented on PR #13472:
URL: https://github.com/apache/trafficserver/pull/13472#issuecomment-5168573523
[approve ci autest 3]
--
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: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Guard pre-init log wakeups [trafficserver]
Posted by "cmcfarlen (via GitHub)" <gi...@apache.org>.
cmcfarlen commented on PR #13472:
URL: https://github.com/apache/trafficserver/pull/13472#issuecomment-5181035551
Cherry-picked to the 10.2.x branch as 9960332e3369867a1affe6fc99b4bdaad1d281a6 for the 10.2.0 release.
--
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: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org