Skip to content

Sanitizers: add ASAN options to avoid crashes#1410

Merged
arogge merged 3 commits intomasterfrom
dev/pstorz/master/fix-container-asan-problems
Mar 15, 2023
Merged

Sanitizers: add ASAN options to avoid crashes#1410
arogge merged 3 commits intomasterfrom
dev/pstorz/master/fix-container-asan-problems

Conversation

@pstorz
Copy link
Member

@pstorz pstorz commented Mar 15, 2023

Set ASAN_OPTIONS=intercept_tls_get_addr=0 to avoid problems with sanitizers running in containers.
see: google/sanitizers#1322

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Check backport line
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@pstorz pstorz self-assigned this Mar 15, 2023
@pstorz pstorz requested a review from arogge March 15, 2023 13:39
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

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

Can we link the issue?
google/sanitizers#1322

Set `ASAN_OPTIONS=intercept_tls_get_addr=0` to avoid problems with
sanitizers running in containers.

see: google/sanitizers#1322
@pstorz pstorz force-pushed the dev/pstorz/master/fix-container-asan-problems branch from 2448f0e to 30a263a Compare March 15, 2023 13:43
@pstorz pstorz requested a review from arogge March 15, 2023 13:44
@arogge arogge changed the title Sanitizers: add ASAN options to avoid false errors Sanitizers: add ASAN options to avoid crashes Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants