Unable to profile on Drive Xavier

Hi I followed the guide here https://developer.nvidia.com/drive/learn/tutorial-NsightSystems to profile a sample binary on the Drive Xavier using Nsight Eclipse Edition. I followed the instructions with the only difference being I am using CUDA Toolkit 10.0 instead of 9.2. The application compiles and runs fine on the Drive but if I try to profile it I get the following.

======== Error: Application received signal 139

Along with an error dialog that says the program received a signal. What is going on and how can I get this working?


I found that this was happening because nvprof needs to be run as root. However, I am now getting another issue

==11109== Error: Internal profiling error 4183:999.
======== Error: CUDA profiling error.

Any help on solving this one would be appreciated