-
Notifications
You must be signed in to change notification settings - Fork 23
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
Enable Sanitizers for CI and regular build targets #95
Comments
From @jserv in #94 (comment)
|
The And we do not have to use
|
After integrating Sanitizers with flags Error message:
Although adding the environment variable If there is no other advises, I will send a pull request tonight. |
We can discard Python related tests. |
Did you mean removing all the Python related file like |
While introducing sanitizers, we shall only concentrate on dcurl internals. The reason why test cases exist is to validate dcurl implementations. Python-based tests just act arguably as the comparator. |
Undefined behaviour Sanitizer detected issue: output:
source code:
The possible value of For performance consideration, I think we can safely ignore this runtime error. Update: |
Thread Sanitizer detected issue: output:
The data race occurred on a common variable
Update: |
I am curious about |
The locks of Hence it does offer the read-write lock. |
Use libtuv read-write lock API to fix the data race detected by thread Sanitizer. Related DLTcollab#95.
Use libtuv read-write lock API to avoid the data race detected by thread Sanitizer. Related DLTcollab#95.
The expected output has been achieved and the issue can be closed. However, the expected output is slightly different since we focus on the |
@wusyong noticed potential memory misbehavior, and we should resolve these problems by enabling sanitizers:
Expected output:
The text was updated successfully, but these errors were encountered: