Segmentation fault (core dumped)

Not sure if this will help as I have an AMD 6700XT card not Nvidia … but I got this error but resolved it via running the following…

export HSA_OVERRIDE_GFX_VERSION=10.3.0
sudo apt install libstdc++-12-dev