shinrich opened a new pull request #7337: URL: https://github.com/apache/trafficserver/pull/7337
The issue contains the details. This problem came in with PR #7278. Once we added that commit, our canary production box would crash at least once an hour with corrupted memory stacks (examples in issue). We ran an ASAN version of the build in our prod sim and came up with a use-after-free and a very similar double free failure (again stacks in the issue). The use after free issue was do to the close flag being set early in UnixNetVConnection::do_io_close, but having accesses to the object later. The other thread would see the close flag set when walking the event look and delete the netvc object from underneath the first thread. We have been running a build with this patch on a production box for over 3 hours now. We will expand our testing of this, but it seems likely that this is addressing the crash we were seeing. This closes issue #7333 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
