Conversation
Contributor
|
🔧 Report generated by pr-comment-scanbuild Scan-Build Report
Bug Summary
Reports
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Contributor
Add atomic load
Ensure we have an aligned memory access to remove the asan warning
Ensure that we load the lock value in the loop
Ensure we load the value using an atomic primitive when accessing the call trace storage
- Minor refactor to remove the volatile keyword - Added some atomic primitives to avoid a TSan warning on the read of the value
- Minor fix on thread filter APIs
ScopeDesc may not be able to resolve method object
r1viollet
commented
Jun 2, 2024
| } | ||
|
|
||
| def locateLibtsan() { | ||
| def libtsan_preinit = locate('libtsan_preinit.o') |
Contributor
Author
There was a problem hiding this comment.
I do not require this to build locally. Is this required in CI ?
r1viollet
commented
Jun 4, 2024
- spinlock - relaxed load - ctimer - avoid possible leak in timers
Minor: Silence an UMR in the callTraceStorage as mmap is not correctly instrumented
Relax the ordering constraints
r1viollet
commented
Jun 18, 2024
| scenarios=$(cat ./artifacts/failures.txt | tr '\n' ',') | ||
| echo "Failed scenarios: $scenarios" | ||
|
|
||
| # curl -X POST "${{ secrets.SLACK_WEBHOOK }}" \ |
Contributor
Author
There was a problem hiding this comment.
Do we want to leave notifications ?
Collaborator
There was a problem hiding this comment.
Yes. Once we are ready to merge we should uncomment this block
r1viollet
commented
Jun 18, 2024
| table->_size = 0; | ||
| // The reset is not useful with the anon mmap setting the memory is zeroed. | ||
| // However this silences a false positive and should not have a performance impact. | ||
| table->clear(); |
Contributor
Author
There was a problem hiding this comment.
I could make this a conditional change. I do not think it matters in terms of performance, as it is a memset at startup and on growth.
Collaborator
There was a problem hiding this comment.
Considering that the next sub-table is 2x size of the previous one the number of memset calls should not get high.
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.
What does this PR do?:
Sanitizers
Various TSan fixes
Elf parser fixes
CI
Motivation:
Better static analysis
Additional Notes:
You can now run various build configurations through
Additionally the library can be used to run on other types of workloads.
To avoid deadly signal issues on ubuntu 22, I had to run
because of actions/runner-images#9491
How to test the change?:
This is run within our CI daily.
For Datadog employees:
credentials of any kind, I've requested a review from
@DataDog/security-design-and-guidance.Unsure? Have a question? Request a review!