-
Notifications
You must be signed in to change notification settings - Fork 215
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
coverage-vxworks-timebase: potential bug in the test implementation reported by Clang Address Sanitizer on macOS #1163
Comments
5 tasks
stanislaw
changed the title
coverage-vxworks-timebase: potential bug in the test implementation reported by Clang Address Sanitizer on macOS
coverage-vxworks-timebase: potential bug in the test implementation reported by Clang Address Sanitizer on macOS (and 2 other potentials bugs)
Sep 22, 2021
Adding two more Address Sanitizer issues without opening more tickets for now:
|
stanislaw
changed the title
coverage-vxworks-timebase: potential bug in the test implementation reported by Clang Address Sanitizer on macOS (and 2 other potentials bugs)
coverage-vxworks-timebase: potential bug in the test implementation reported by Clang Address Sanitizer on macOS
Sep 22, 2021
skliper
added
bug
unit-test
Tickets related to the OSAL unit testing (functional and/or coverage)
labels
Sep 22, 2021
Thanks for the report! Running the code through an address sanitizer has been a recent topic... it'd be nice to get it in CI at some point and/or at least have a triggerable workflow. |
jphickey
pushed a commit
to jphickey/osal
that referenced
this issue
Aug 10, 2022
Fix nasa#1162, Add CodeQL analysis to workflow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When the Address Sanitizer is enabled in macOS / clang, I get the following error in the
OS_VxWorks_TimeBaseAPI_Impl_Init
test. The reproducibility is 100%.There are two more issues found using Address Sanitizer. I have linked them to this ticket in the form of a comment.
To Reproduce
Enable Address Sanitizer in the root CMakeLists.txt.
Run the tests, including the
Expected behavior
I suspect a memory management error that needs to be investigated. When the issue is fixed, the Address Sanitizer should report no issues.
Code
–
System observed on:
Additional context
–
Reporter Info
Stanislav Pankevich (Personal contribution)
The text was updated successfully, but these errors were encountered: