Repository navigation
asan: Add a leak suppression file with known false positives - #32511
Merged
Merged
Conversation
mrobinson
requested changes
Jun 16, 2024
| @@ -0,0 +1 @@ | |||
| leak:style::sharing::SHARING_CACHE_KEY::__init No newline at end of file | |||
Member
There was a problem hiding this comment.
Please move this file to the support directory and call it "suppressed_leaks_for_asan.txt".
Contributor
Author
There was a problem hiding this comment.
Just noticed that the file was removed during refactoring instead of renamed. Follow-up PR to fix that: #32527
Member
|
I think this needs a rebase as #31429 landed. |
mrobinson
approved these changes
Jun 17, 2024
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Looking into #32223 and found a false-positive in the second memory leak stack trace (intentional leak with
Box::leakinstylo). Therefore we added file to suppress it and included the file in theasanintegration (#31429) by passing it as env var as document for ASAN.We'll check out further leaks in the next days/weeks. Just wanted to know if the leak suppression is cool with you guys.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsno errorsat the endflake8.exceptions.FailedToLoadPlugin: Flake8 failed to load plugin "E" due to cannot import name 'missing_whitespace_after_keyword' from 'pycodestyle' (~/servo/python/_venv3.11/lib/python3.11/site-packages/pycodestyle.py)