Repository navigation
Commit 2dc7b70
Fix TSan CI build for develop, cantera (#2991)
## Proposed Changes
The "FATAL: ThreadSanitizer: unexpected memory mapping" message comes
from the TSan runtime. It happens when the kernel's ASLR randomization
is too high for TSan's fixed shadow-memory layout (vm.mmap_rnd_bits=32).
That is the default on recent GitHub runner images and kernels.
The failing step is the bootstrap of ninja, because the Cantera
subproject builds its own ninja when none is on the PATH. The TSan flags
from the job are inherited by that bootstrap. The freshly built ./ninja
is therefore TSan-instrumented and dies on startup with exit status 66,
which gives the Python traceback you see.
## Related Work
*Resolve any issues (bug fix or feature request), note any related PRs,
or mention interactions with the work of others, if any.*
## PR Checklist
*Put an X by all that apply. You can fill this out after submitting the
PR. If you have any questions, don't hesitate to ask! We want to help.
These are a guide for you to know what the reviewers will be looking for
in your contribution.*
- [x] I am submitting my contribution to the develop branch.
- [ ] My contribution generates no new compiler warnings (try with
--warnlevel=3 when using meson).
- [ ] My contribution is commented and consistent with SU2 style
(https://su2code.github.io/docs_v7/Style-Guide/).
- [ ] I used the pre-commit hook to prevent dirty commits and used
`pre-commit run --all` to format old commits.
- [ ] I have added a test case that demonstrates my contribution, if
necessary.
- [ ] I have updated appropriate documentation (Tutorials, Docs Page,
config_template.cpp), if necessary.
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>1 parent a25e0ec commit 2dc7b70
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
| |||
324 | 326 | | |
325 | 327 | | |
326 | 328 | | |
| 329 | + | |
| 330 | + | |
327 | 331 | | |
328 | 332 | | |
329 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
76 | 83 | | |
77 | 84 | | |
78 | 85 | | |
| |||
0 commit comments