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
MemorySanitizer: use-of-uninitialized-value #731
Comments
If anyone has ideas on how to fix this I would love to hear them. It is very hard to suppress errors from MSan unless you build your own standard library with Msan (https://llvm.org/bugs/show_bug.cgi?id=30740), so fixing this in catch.hpp would be ideal. |
This is most likely a false positive caused by uninstrumented If there is something Catch can do to workaround it, we would be willing to implement it, but it is fairly unlikely. |
We could potentially try messing around with |
Changes: Msan test crash occur when ChromeVox is enabled and expand arrow button hitting animation is running. The crash may be caused by false positive from Memory sanitizer (catchorg/Catch2#731). To avoid such crash and unblock adding more ChromeVox tests, disable the animation for app list during test. Bug: 926038 Change-Id: I5c775388cb96443ffe4462c870dd023609d3ddb8 Reviewed-on: https://chromium-review.googlesource.com/c/1471499 Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Weidong Guo <weidongg@chromium.org> Cr-Commit-Position: refs/heads/master@{#632287}
I have the same problem but I do use -stdlib=libc++
Could anyone explain how to get rid of the error ??? I saw some bug reports, closed, but never how to fix this ?
I give up after hours, maybe I ws unlucky in my searches but I have to go forward. So now vim will delete for me paragraphs that are poisonning me (g/something/norm dap) Best regards |
You need to recompile your stdlib with |
Seeing this with clang 3.9 on linux and a program built against catch with
-fsanitize=memory
:The text was updated successfully, but these errors were encountered: