-
Notifications
You must be signed in to change notification settings - Fork 9
#2479: CI: add ASAN options to always detect leaks and abort on error (non-zero code) #2481
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
base: develop
Are you sure you want to change the base?
Conversation
|
no modified files to format
|
Pipelines resultsvt-build-amd64-alpine-3-16-clang-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-20-04-clang-9-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-20-04-gcc-9-ldms-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-20-04-gcc-10-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-24-04-clang-16-zoltan-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-20-04-gcc-10-openmpi-cpp-spack Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-24-04-clang-16-vtk-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-20-04-icpx-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-24-04-gcc-14-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-20-04-gcc-9-cuda-11-4-3-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-22-04-gcc-12-vtk-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-20-04-clang-10-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-24-04-gcc-13-cpp Build for ef2ed07 (2025-09-24 21:27:17 UTC) vt-build-amd64-ubuntu-22-04-gcc-12-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-22-04-clang-11-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-22-04-clang-13-cpp Build for ef2ed07 (2025-09-24 21:27:17 UTC) vt-build-amd64-ubuntu-20-04-gcc-9-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-22-04-clang-12-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-24-04-clang-17-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-22-04-clang-15-cpp Build for ef2ed07 (2025-09-24 21:27:17 UTC) vt-build-amd64-ubuntu-24-04-clang-18-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-22-04-clang-14-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-20-04-gcc-9-cuda-12-2-0-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-22-04-gcc-11-cpp Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-20-04-gcc-9-cpp-docs Build for 096c8cd (2025-10-20 14:16:50 UTC) vt-build-amd64-ubuntu-22-04-clang-15-cpp-cxx20 Build for 096c8cd (2025-10-20 14:16:50 UTC) |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2481 +/- ##
===========================================
+ Coverage 88.55% 88.57% +0.01%
===========================================
Files 728 728
Lines 31516 31516
===========================================
+ Hits 27910 27916 +6
+ Misses 3606 3600 -6 🚀 New features to boost your workflow:
|
docker-bake.hcl
Outdated
|
|
||
| function "vt_asan_options" { | ||
| params = [item] | ||
| result = lookup(item, "vt_asan_options", "detect_leaks=1 abort_on_error=1") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get more informative leak stack traces when I add the following arguments to this list: fast_unwind_on_malloc=0 malloc_context_size=150 max_stack_depth=0. I'm not sure if all three of these are strictly necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added these options. They seem to pick up on the error that was not triggered in this PR
23d78b7 to
b9859b0
Compare
Fixes #2479