Why my gdb shows ?() when i use CUDA COREDUMP?

qq934603493
Thu, 06 Nov 2025 14:34:12 +0000
CUDA-GDB

Normally, if I not set CUDA_ENABLE_COREDUMP_ON_EXCEPTION and my program crashed. I can use gdb my_program coredump_file to see the stack perfectly(using gdb 8.3). But when i set CUDA_ENABLE_COREDUMP_ON_EXCEPTION=1, then my program crashed and no matter when i use cuda-gdb my_program coredump_file or gdb my_program coredump_file . It all shows #2 0x00007f5875dfde21 in ?? () from /usr/lib64/libcuda.so.1 .My cuda-gdb version is 12.2 and the internal gdb is 12.1. Is it because my gdb version different ?

4 posts - 3 participants