-
Notifications
You must be signed in to change notification settings - Fork 3.4k
library_exceptions.js: exceptionThrowBuf leaks and causes lsan failures #12226
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Not sure what the best solution is.. maybe the simplest thing to do would be to mark it specifically a leaked memory? Anyone remember how to do that? |
Ah! Ok that makes sense. Thanks for the background. |
I'll move it to a C static I think |
sbc100
added a commit
that referenced
this issue
Sep 15, 2020
Turns out this is a pointer that is only used locally so I guess we can just stackAlloc it? Fixes: #12226
sbc100
added a commit
that referenced
this issue
Sep 15, 2020
Turns out this is a pointer that is only used locally so I guess we can just stackAlloc it? Fixes: #12226
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
This means that all exception handling tests currently fail in asan mode. e.g:
The text was updated successfully, but these errors were encountered: