-
Notifications
You must be signed in to change notification settings - Fork 22
Add ThreadSanitizer CI jobs (Linux + macOS) #148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 12 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
31087a5
Add ThreadSanitizer (TSan) support and CI job
bghgary 8cdbc7d
Add Tests/UnitTests/dist/ to .gitignore
bghgary edd29cf
Add TSan support for macOS, note Windows not supported
bghgary d38fa97
Temporarily point arcana.cpp and UrlLib at fork branches for TSan tes…
bghgary 2df3c81
Add TSan suppression file for JSC-internal races, update deps
bghgary a6aa51c
Fix TSan suppressions: use called_from_lib for JSC allocator races
bghgary 1201a3c
Update UrlLib fork SHA to include review fixes
bghgary e895125
Update UrlLib fork SHA to include open/closeCb fixes
bghgary 4c0085b
Increase timeout to 30min for Linux TSan jobs
bghgary bf86317
Fix YAML expression style: remove spaces in template expressions
bghgary f1d4dd1
Fix YAML conditional: use block-level if/else for timeoutInMinutes
bghgary 7a963f5
Broaden TSan suppressions for all JSC-internal warning types
bghgary d28ca80
Point UrlLib back to BabylonJS main with merged TSan fix
bghgary 5c8a4a6
Fix Linux TSan CI hang by disabling JSC concurrent GC
bghgary db8370b
Retrigger CI
bghgary a8ea940
Merge main: port TSan CI jobs from Azure Pipelines to GitHub Actions
bghgary File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # ThreadSanitizer suppressions for JsRuntimeHost | ||
| # | ||
| # These suppress data races internal to third-party libraries that we cannot fix. | ||
| # TSan on macOS (JavaScriptCore via Xcode) passes clean — these suppressions are | ||
| # only needed for the Ubuntu JSC build (libjavascriptcoregtk). | ||
|
|
||
| # JavaScriptCore internal races in libjavascriptcoregtk. | ||
| # Races manifest in TSan interceptors (free/malloc/memcpy/close) called from | ||
| # JSC's JIT worker threads. function-name suppressions are needed because the | ||
| # top frame is a libc interceptor attributed to UnitTests, not libjavascriptcoregtk. | ||
| called_from_lib:libjavascriptcoregtk | ||
| race:free | ||
| race:close | ||
| race:memcpy | ||
|
|
||
| # JSC signal handler that doesn't save/restore errno | ||
| signal:libjavascriptcoregtk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.