Nsight Eclipse error from cross debugging tutorial: 'invalid texture reference'

I am following this tutorial: https://devblogs.nvidia.com/cuda-jetson-nvidia-nsight-eclipse-edition/ to use Nsight Eclipse to cross debug a CUDA sample.

I followed the steps, and when I got to the part where I click ‘Run’ to execute the program, I got this error

../src/boxFilter_kernel.cu(348) : CUDA Runtime API error 18: invalid texture reference.

What is the problem?
Below is all of the console output:

Last login: Thu Jun 27 18:33:37 2019 from
echo $PWD'>'
/bin/sh -c "cd \"/tmp/nsight-debug\";export NVPROF_TMPDIR=\"/tmp\";\"/tmp/nsight-debug/bxa\"";exit
farsight@farsight-desktop:~$ echo $PWD'>'
farsight@farsight-desktop:~$ /bin/sh -c "cd \"/tmp/nsight-debug\";export NVPROF_TTMPDIR=\"/tmp\";\"/tmp/nsight-debug/bxa\"";exit
/tmp/nsight-debug/bxa Starting...

Loaded './data/lenaRGB.ppm', 1024 x 1024 pixels
GPU Device 0: "NVIDIA Tegra X2" with compute capability 6.2

../src/boxFilter_kernel.cu(348) : CUDA Runtime API error 18: invalid texture reference.


Cuda error code 18 is cudaErrorInvalidTexture, which indicates that the texture passed to the API call is not a valid texture.

May I know the how do you setup TX2 first? Do you use JetPack4.2?
Could you also check if the cuda-toolkit works well with the deviceQuery sample in 1_Utilities first?