bneradt opened a new pull request, #12789: URL: https://github.com/apache/trafficserver/pull/12789
I have verified that this resolves the centos crash we have been seeing in #12669 --- The _id_stack vector was being destroyed before thread-local _Id objects, causing use-after-free when _Id::~_Id() tried to write to the freed vector. Fix by using a leaked pointer (never destroyed) for _id_stack, similar to the DbgCtl leaky singleton fix. The ~20 bytes of memory is reclaimed by the OS at process exit. This bug was latent and only exposed when linking order changed (e.g., when adding new source files that changed static initialization order). -- 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]
