Skip to content
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

[release-0.5] additional ASAN-related backports #18169

Merged
merged 6 commits into from
Aug 21, 2016

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Aug 21, 2016

The function might get finalized, invalidating the IP.
However, in some cases this invalid IP may get saved and restored, accessing the invalid IP while doing so.

Example code path accessing an invalid IP:
 -> jl_cfunction_object (nested_compile=true, but doesn't change IP)
 -> gen_cfun_wrapper
 -> jl_compile_linfo (saves and restores invalid IP)

(cherry picked from commit ebd24a8, ref #18054)
Note that this test requires a memory sanitizer (ASAN, valgrind) to detect failure.

(cherry picked from commit a5fdd74, ref #18054)
This makes the SIGINT signal handler work in combination with ASAN.

(partially cherry picked from commit 03c3c70, ref #17727)
(cherry picked from commit 2d9f3a7, ref #18067)
(cherry picked from commit 030ff40, ref #18067)
@tkelman tkelman merged commit d8f5ea9 into tk/backports-0.5.0-rc3 Aug 21, 2016
@tkelman tkelman deleted the tb/backport-asan branch August 21, 2016 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants