-
Notifications
You must be signed in to change notification settings - Fork 224
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
Adding two more Address Sanitizer issues without opening more tickets for now:
|
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. |
Fix nasa#1162, Add CodeQL analysis to workflow
I'm not able to reproduce this issue on my ubuntu docker. |
CCB 6 March 2025: Thank you for reporting this issue. I believe this has been resolved. Please reopen if it is still occurring. |
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: