-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
[SR-12601] Address Sanitizer's leak output not symbolicated #55046
Comments
@weissi - pretty sure that is expected, you should use |
@compnerd I don't think so, for two reasons: 1) We should make the users' lives as easy as we can. 2) See https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer#using-leaksanitizer . |
@swift-ci create |
CC @kubamracek/@AnnaZaks |
Comment by Dan Liew (JIRA) @weissi Could you point me at the Docker image you used? The sanitizers have support to use `llvm-symbolizer` to symbolize in-process so this should work out of the box provided `llvm-symbolizer` can be found at runtime. |
danliew (JIRA User) it’s the official Swift docker image, here’s the dockerhub link: https://hub.docker.com/layers/swift/library/swift/5.2.2/images/sha256-b87ba67d39ff1900590091df251063ccdf3567512feae7d68b086c584c312d59?context=explore llvm-symbolizer might be missing in the official images? @gwynne/@shahmishal/@tomerd |
Is there any update for this issue? |
Additional Detail from JIRA
md5: c9e192c914759aaaab37f207bc0d6f0a
is duplicated by:
Issue Description:
Even in debug mode (and even with
-g
), ASan's output isn't symbolicated on Linux 🙁Repro:
1. Create
/tmp/test.swift
with the following contentand run in docker (straight from macOS)
the output is
The text was updated successfully, but these errors were encountered: