Skip to content
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

tsan fixes #6930

Merged
merged 3 commits into from
Aug 28, 2023
Merged

tsan fixes #6930

merged 3 commits into from
Aug 28, 2023

Conversation

ironage
Copy link
Contributor

@ironage ironage commented Aug 25, 2023

I haven't been able to get TSAN to report the errors locally so this is a best guess as to what the problem could be. I'll let CI verify.

I think the first problem was that the test Json_Timestamp was using an insufficient buffer size. I changed the size to be part of the type so that an incorrect size is a compiler error.

The thread issue about using Catch macros on a different thread I think I have solved by invoking the finish callback from our async_open_realm test utility on the calling thread.

@ironage ironage requested a review from kiburtse August 25, 2023 19:51
@ironage ironage self-assigned this Aug 25, 2023
@cla-bot cla-bot bot added the cla: yes label Aug 25, 2023
@kiburtse kiburtse merged commit a69c48d into kb/sanitizer_build_configs_improve Aug 28, 2023
1 of 2 checks passed
@kiburtse kiburtse deleted the js/tsan-fixes branch August 28, 2023 19:41
kiburtse pushed a commit that referenced this pull request Aug 30, 2023
* maybe fix a buffer overrun in a test
* maybe fix a race in async_open_realm test util
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants