Repository navigation
Closed
Description
Is this a duplicate?
- I confirmed there appear to be no duplicate issues for this bug and that I agree to the Code of Conduct
Type of Bug
Something else
Component
CUB
Describe the bug
compute-sanitizer --tool memcheck --check-device-heap yes --leak-check full --padding 512 --track-stream-ordered-races all --check-warpgroup-mma yes --require-cuda-init no --check-exit-code yes --error-exitcode 1 --nvtx true /home/coder/cccl/build/cuda12.4-gcc13/cub-cpp17/bin/cub.cpp17.test.nvrtc
========= COMPUTE-SANITIZER
========= Leaked 4 bytes at 0x7f769fe00a00
========= Saved host backtrace up to driver entry point at allocation time
========= Host Frame: [0x28e3ce]
========= in /usr/lib/x86_64-linux-gnu/libcuda.so.1
========= Host Frame:C_A_T_C_H_T_E_S_T_0() [0x87f1a]
========= in /home/coder/cccl/build/cuda12.4-gcc13/cub-cpp17/bin/cub.cpp17.test.nvrtc
========= Host Frame:Catch::RunContext::invokeActiveTestCase() [0x2ce42]
========= in /home/coder/cccl/build/cuda12.4-gcc13/cub-cpp17/bin/cub.cpp17.test.nvrtc
========= Host Frame:Catch::RunContext::runCurrentTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) [0x452a7]
========= in /home/coder/cccl/build/cuda12.4-gcc13/cub-cpp17/bin/cub.cpp17.test.nvrtc
========= Host Frame:Catch::RunContext::runTest(Catch::TestCase const&) [0x4df8a]
========= in /home/coder/cccl/build/cuda12.4-gcc13/cub-cpp17/bin/cub.cpp17.test.nvrtc
========= Host Frame:Catch::Session::runInternal() [0x5840f]
========= in /home/coder/cccl/build/cuda12.4-gcc13/cub-cpp17/bin/cub.cpp17.test.nvrtc
========= Host Frame:Catch::Session::run() [0x589fd]
========= in /home/coder/cccl/build/cuda12.4-gcc13/cub-cpp17/bin/cub.cpp17.test.nvrtc
========= Host Frame:main [0x23025]
========= in /home/coder/cccl/build/cuda12.4-gcc13/cub-cpp17/bin/cub.cpp17.test.nvrtc
========= Host Frame: [0x23a8f]
========= in /usr/lib/x86_64-linux-gnu/libc.so.6
========= Host Frame:__libc_start_main [0x23b48]
========= in /usr/lib/x86_64-linux-gnu/libc.so.6
========= Host Frame:_start [0x23b94]
========= in /home/coder/cccl/build/cuda12.4-gcc13/cub-cpp17/bin/cub.cpp17.test.nvrtc
How to Reproduce
compute-sanitizer --tool memcheck --check-device-heap yes --leak-check full --padding 512 --track-stream-ordered-races all --check-warpgroup-mma yes --require-cuda-init no --check-exit-code yes --error-exitcode 1 --nvtx true /home/coder/cccl/build/cuda12.4-gcc13/cub-cpp17/bin/cub.cpp17.test.nvrtc
Expected behavior
No diagnostics emitted.
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
Fix NVIDIA#1896; memory leak in CUB's NVRTC test
Fix NVIDIA#1896; memory leak in CUB's NVRTC test
Sanitizer fixes (NVIDIA#1916)