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

Firestore: Skip StringFormatTest.Pointer, to work around ASAN test failures #14327

Conversation

dconeybe
Copy link
Contributor

@dconeybe dconeybe commented Jan 9, 2025

The Firestore unit test "StringFormatTest.Pointer" uncovers a use-after-free bug in the Firestore SDK, which causes the Address Sanitizer tests to fail. This PR skips the test to make the tests happy, as the bug will be fixed by #14306 but that PR is taking longer to review and merge than expected.

#no-changelog

…used by GTEST_SKIP: error: code will never be executed [-Werror,-Wunreachable-code]
@dconeybe
Copy link
Contributor Author

dconeybe commented Jan 9, 2025

There is no point in disabling the one test that explicitly exercises the use-after-free issue because many tests will intermittently crash due to this issue in their indirect exercise of the use-after-free issue. Here is an example: #14306 (comment)

@dconeybe dconeybe closed this Jan 9, 2025
@dconeybe dconeybe deleted the dconeybe/StringFormatStringifySinkUseAfterFreeTemporaryTestDisable branch January 13, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant