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

Fix asan for jl_precompile_toplevel_module #43885

Merged
merged 1 commit into from
Jan 21, 2022
Merged

Fix asan for jl_precompile_toplevel_module #43885

merged 1 commit into from
Jan 21, 2022

Conversation

timholy
Copy link
Member

@timholy timholy commented Jan 21, 2022

PR #43793 passed the buildkite test but the logs for #43881 show an
address sanitzer failure. Removing jl_precompile_toplevel_module from
jl_exported_data.inc fixes the error. For good measure, set it to NULL
at the point of definition, even though it gets nulled during
initialization.

PR #43793 passed the buildkite test but the logs for #43881 show an
address sanitzer failure. Removing jl_precompile_toplevel_module from
jl_exported_data.inc fixes the error. For good measure, set it to NULL
at the point of definition, even though it gets nulled during
initialization.
@timholy
Copy link
Member Author

timholy commented Jan 21, 2022

There's now a different asan error, but it seems to be unrelated and present before these changes were merged (e.g., https://buildkite.com/julialang/julia-master/builds/7773#773891f2-27cf-4148-b26c-b50d3374883d).

@timholy
Copy link
Member Author

timholy commented Jan 21, 2022

Since this passed everything and it was added to exports only to solve a linker error that seems to not be real (or at least, not related to the changes in #43793), I'm going to merge so it doesn't affect CI for others.

@timholy timholy merged commit a327428 into master Jan 21, 2022
@timholy timholy deleted the teh/fix_asan branch January 21, 2022 18:11
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
PR JuliaLang#43793 passed the buildkite test but the logs for JuliaLang#43881 show an
address sanitzer failure. Removing jl_precompile_toplevel_module from
jl_exported_data.inc fixes the error. For good measure, set it to NULL
at the point of definition, even though it gets nulled during
initialization.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
PR JuliaLang#43793 passed the buildkite test but the logs for JuliaLang#43881 show an
address sanitzer failure. Removing jl_precompile_toplevel_module from
jl_exported_data.inc fixes the error. For good measure, set it to NULL
at the point of definition, even though it gets nulled during
initialization.
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.

1 participant