compiler-explorer / compiler-explorer/compiler-explorer
[BUG]: Thread Sanitizer doesn't work
Open
bug
- Dominant language
- TypeScript
- Stars
- 19.1k
- Forks
- 2.1k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 67
Description
### Describe the bug
TSan fails for (all?) gcc versions with
```
program returned: 66
Program stderr
FATAL: ThreadSanitizer: unexpected memory mapping 0x711993472000-0x711993900000
```
Likely due to https://github.com/google/sanitizers/issues/1716
### Steps to reproduce
1. Write a hello world app
2. Compile with any gcc with -fsanitize=thread
### Expected behavior
TSan works
### Reproduction link
https://godbolt.org/z/oedPr11qc
### Screenshots
Not applicable
### Operating System
Ubuntu 22.04
### Browser version
Google Chrome 126.0.6478.126
Contributor guide
Assessment
This issue has not been assessed yet.