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
Use Linux madvise(MADV_DONTDUMP) to exclude ASan shadow regions from core dumps #345
Comments
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by - _Attachment: [common_madvise_fix.patch](https://storage.googleapis.com/google-code-attachments/address-sanitizer/issue-345/comment-8/common_madvise_fix.patch)_ |
Reported by |
Reported by |
Reported by
|
This was commited long ago, could you close? |
How is this supposed to work? I tried all sorts of combinations with mysqld but either the dump is very large or it is too small (13 or 14MB) and it does not have suitable information. I tried things like; export ASAN_OPTIONS=disable_core=0:abort_on_error=1:unmap_shadow_on_exit=1 |
@RoelVdP What GCC/Clang version do you use? |
@chefmax thanks. $ cat /etc/redhat-release |
Oh, it seems that your GCC is too old. The madvise change was implemented in clang at the beginning of 2015, so I suspect you'll need at least GCC 6+ . |
Originally reported on Google Code with ID 345
Reported by
google.8eaf7cd8e5128d8191fe@spamgourmet.com
on 2014-09-23 03:00:44- _Attachment: [0001-asan-madvise.patch](https://storage.googleapis.com/google-code-attachments/address-sanitizer/issue-345/comment-0/0001-asan-madvise.patch)_
The text was updated successfully, but these errors were encountered: