Skip to content

Tweaks for AddressSanitizer#11621

Merged
hahnjo merged 2 commits intoroot-project:masterfrom
hahnjo:asan-tweaks
Oct 24, 2022
Merged

Tweaks for AddressSanitizer#11621
hahnjo merged 2 commits intoroot-project:masterfrom
hahnjo:asan-tweaks

Conversation

@hahnjo
Copy link
Member

@hahnjo hahnjo commented Oct 21, 2022

Address a number of AddressSanitizer failures with Python tests, due to the way we need to preload the ASan runtime and our configuration.

If I count correctly (there were a number of failures introduced last night, so I don't have a proper baseline), this fixes 7 tests:

  • pyunittests-pyroot-import-load-libs
  • tutorial-roofit-rf104_classfactory-py
  • roottest-python-JupyROOT-simpleCppMagic_notebook
  • roottest-python-JupyROOT-thread_local_notebook
  • roottest-python-JupyROOT-ROOT_kernel_notebook
  • roottest-python-basic-basic
  • roottest-python-regression-regression

Moreover, tutorial-rcanvas-df104-py will show a proper AdressSanitizer failure.

@hahnjo hahnjo self-assigned this Oct 21, 2022
@hahnjo hahnjo requested a review from etejedor as a code owner October 21, 2022 11:40
@phsft-bot
Copy link

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac1015/cxx17, mac11/cxx14, windows10/cxx14
How to customize builds

@hahnjo
Copy link
Member Author

hahnjo commented Oct 21, 2022

See root-project/roottest#910 for the roottest side of the changes

@phsft-bot
Copy link

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac1015/cxx17, mac11/cxx14, windows10/cxx14
How to customize builds

They need to be preloaded into the Python process, but must not be
propagated into instrumented executables such as root or rootcling.
@phsft-bot
Copy link

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac1015/cxx17, mac11/cxx14, windows10/cxx14
How to customize builds

Copy link
Contributor

@etejedor etejedor left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @hahnjo !

@hahnjo hahnjo merged commit fc8df76 into root-project:master Oct 24, 2022
@hahnjo hahnjo deleted the asan-tweaks branch October 24, 2022 11:04
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.

3 participants