Project

General

Profile

Task #3123

address sanitizer coverage of parallelization code-paths

Added by Szilárd Páll about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
testing
Target version:
-
Difficulty:
uncategorized
Close

Description

We have mostly parallelization-off ASAN build (no SIMD, no OpenMP, no GPU, with tMPI run with 2 ranks). We would benefit from better coverage of more major code-paths to avoid nasty bugs (like #3120).

History

#1 Updated by Szilárd Páll about 2 months ago

  • Description updated (diff)

After a some head-scratching over GPU detection failing with CUDA and OpenCL too in ASAN builds, it turns out that GPU runtimes conflict with asan (GPU driver mmap-ed address space overlapping with the sanitizer's reserved space called "shadow gap").

Conclusion: need to use the protect_shadow_gap=0 option.

BTW, also realized that use of uninitialiezd memory detection is part of MSAN not ASAN.

Also available in: Atom PDF