Nsight profile segmentation fault on startup

Hi,

I am trying to run nsight to collect some profiles. I have installed nsight-systems-2019.4.2. When I try to run “nsys profile ”, it gives a seg fault:

$nsys profile ./deviceQuery
**** collection configuration ****
force-overwrite = false
stop-on-exit = true
export_sqlite = false
stats = false
capture-range = none
stop-on-range-end = false
Beta: ftrace events:
ftrace-keep-user-config = false
delay = 0 seconds
duration = 0 seconds
kill = none
inherit-environment = true
show-output = true
trace-fork-before-exec = false
sample_cpu = true
backtrace_method = LBR
wait = all
trace_cublas = false
trace_cuda = true
trace_cudnn = false
trace_nvtx = true
trace_mpi = false
trace_openacc = false
trace_vulkan = false
trace_opengl = true
trace_osrt = true
osrt-threshold = 0 nanoseconds
cudabacktrace = false
cudabacktrace-threshold = 0 nanoseconds
profile_processes = tree
application command = ./deviceQuery
application arguments =
application working directory = /NVIDIA_CUDA-10.0_Samples/1_Utilities/deviceQuery
NVTX profiler range trigger =
NVTX profiler domain trigger =
environment variables:
Segmentation fault (core dumped)
$

Also, when I try to start and stop nsys it gives a segfault:

$ nsys start

**** start command configuration ****
force-overwrite = false
stop-on-exit = true
export_sqlite = false
stats = false
capture-range = none
stop-on-range-end = false
Beta: ftrace events:
ftrace-keep-user-config = false
Segmentation fault (core dumped)
$

I suspect this has something to do with X11. I am currently connected to a remote machine using ssh -X.

$ uname -a
Linux dgx-test 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Any help to resolve these issues would be greatly appreciated.

Thanks,
Harshada

Maybe move this to the Nsight Systems board?