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

Remove explicit LeakSanitizer usage from CI #840

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

d-e-s-o
Copy link
Collaborator

@d-e-s-o d-e-s-o commented Oct 4, 2024

Running with LeakSanitizer enabled is a mess: we are seeing spurious failures in CI on completely unrelated changes to the symbolize_process_symbolic_paths test. Attempting to reproduce locally them is denied with line noise such as:

LeakSanitizer: CHECK failed: lsan_interceptors.cpp:82 "((!lsan_init_is_running)) != (0)" (0x0, 0x0) (tid=29001)

The suspicion is that more recent version of LLVM (compared to the CI environment) are b0rked.
In any event, AddressSanitizer comes with leak detection support and so let's just use that instead -- it hasn't caused any problems and we haven't seen any issues using it locally either.

Running with LeakSanitizer enabled is a mess: we are seeing spurious
failures in CI on completely unrelated changes to the
symbolize_process_symbolic_paths test. Attempting to reproduce them
locally is denied with line noise such as:

> LeakSanitizer: CHECK failed: lsan_interceptors.cpp:82 "((!lsan_init_is_running)) != (0)" (0x0, 0x0) (tid=29001)

This seems to be rust-lang/rust#111073.

In any event, AddressSanitizer comes with leak detection support and so
let's just use that instead -- it hasn't caused any problems and we
haven't seen any issues using it locally either.

Signed-off-by: Daniel Müller <deso@posteo.net>
Copy link

codecov bot commented Oct 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.74%. Comparing base (85c3538) to head (150dc25).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #840   +/-   ##
=======================================
  Coverage   94.74%   94.74%           
=======================================
  Files          52       52           
  Lines        9860     9860           
=======================================
  Hits         9342     9342           
  Misses        518      518           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@d-e-s-o d-e-s-o merged commit f8fd447 into libbpf:main Oct 4, 2024
38 checks passed
@d-e-s-o d-e-s-o deleted the topic/eff-lsan branch October 4, 2024 18:06
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