bneradt opened a new pull request, #14057: URL: https://github.com/apache/trafficserver/pull/14057
When two threads race to create the DbgCtl registry, the loser deletes its spare registry, but it locked the spare's std::mutex first. Destroying a locked std::mutex is undefined behavior. This patch deletes the spare registry without locking it. No other thread can reach the spare, so the lock never protected anything. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
