Skip to content

Conversation

@vchuravy
Copy link
Member

@vchuravy vchuravy commented Jan 6, 2022

  • fix compiler warning in cli
  • fix LLVM_ASSERTIONS build
  • sanitizers: fix support loading of libjulia-codegen
  • sanitizers: disable calls to pthread_atfork

Cherry-picked from #43418

@DilumAluthge
Copy link
Member

If you like, you can also push a revert of #43663 to this branch.

@vchuravy
Copy link
Member Author

vchuravy commented Jan 6, 2022

If you like, you can also push a revert of #43663 to this branch.

The real question is whether or not this unbreaks ASAN.

@DilumAluthge
Copy link
Member

We'll find out in a few minutes 😂

@vchuravy vchuravy marked this pull request as ready for review January 6, 2022 21:13
@vchuravy
Copy link
Member Author

vchuravy commented Jan 6, 2022

Looks very promising!

@vchuravy vchuravy requested a review from tkf January 6, 2022 21:36
@DilumAluthge
Copy link
Member

DilumAluthge commented Jan 6, 2022

asan is green: https://buildkite.com/julialang/julia-master/builds/7258#9d65c5ea-a1cf-435e-bd4d-23116c3d3909

@DilumAluthge
Copy link
Member

Copy link
Member

@tkf tkf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The C++ mangling is terrifying but anything that makes ASAN work LGTM :)

@vchuravy vchuravy added this to the 1.8 milestone Jan 8, 2022
@vchuravy
Copy link
Member Author

But something is very wrong, I triggered another buiild before the revert commit https://buildkite.com/julialang/julia-master/builds/7542 IIRC asan was working okay then instead of having NaN everywhere...

OpenBLAS tries to do bad things in this callback (supposedly to support
use-after-fork), so we disable it entirely for TSAN/ASAN, where it
causes the sanitizers to deadlock.
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.

5 participants