Hi guys,
I encountered problem with Segmentation fault in __cudaRegisterLinkedBinary.
Platform: xavier AGX 32GB eMMC
OS: ubuntu 18.04, cuda 10.0
docker: ubuntu 16.04
I debug this issue, it happened in “.so” library linking, not run into main function.
I am not clear, what introduce this?
just noticed function “_cudaRegisterLinkedBinary_38_cuda_device_runtime_compute_75
_cpp1_ii_8b1a5d37”, xavier is cmpute_72? but it’s privided by cuda installed by jetpack.
Thread 1 “yolo_example” received signal SIGSEGV, Segmentation fault.
0x0000007fb7f2c6fc in __cudaRegisterLinkedBinary(__fatBinC_Wrapper_t const*, void ()(void**), void) ()
from …so
(gdb) bt
#0 0x0000007fb7f2c6fc in __cudaRegisterLinkedBinary(__fatBinC_Wrapper_t const*, void ()(void**), void) ()
…so
#1 0x0000007fb7f2c69c in __cudaRegisterLinkedBinary_38_cuda_device_runtime_compute_75_cpp1_ii_8b1a5d37 ()
from …so
#2 0x0000007fb7fdfb60 in call_init (l=, argc=argc@entry=1,
argv=argv@entry=0x7fffffeee8, env=env@entry=0x7fffffeef8) at dl-init.c:72
#3 0x0000007fb7fdfca8 in call_init (env=0x7fffffeef8, argv=0x7fffffeee8, argc=1,
l=) at dl-init.c:30
#4 _dl_init (main_map=0x7fb8000190, argc=1, argv=0x7fffffeee8, env=0x7fffffeef8) at dl-init.c:120
#5 0x0000007fb7fd2d44 in _dl_start_user () from /lib/ld-linux-aarch64.so.1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)