One other note, I only get the "unexpected memory mapping" error on amd64. On arm64 machines with 6.5.0-25.25~22.04.1, ThreadSanitizer works without issues.
One other note, I only get the "unexpected memory mapping" error on amd64. On arm64 machines with 6.5.0-25. 25~22.04. 1, ThreadSanitizer works without issues.