Segmentation fault once in 7-8 runs

Hi,
Im often getting segmentation fault :
/python.sh: line 27: 8164 Segmentation fault (core dumped) $python_exe $@
There was an error running python
Whenever im trying to add a prim to an existing stage and remove the prim that’s there. Is it because of CUDA? Im using CUDA 10.3 standard for isaac sim

Hi @vyachu07 - A segmentation fault typically occurs when a program tries to access a memory location that it’s not allowed to, such as a null pointer or a memory area that has been freed. This could be due to a variety of reasons, including bugs in the program, hardware issues, or indeed, incompatibilities with certain versions of libraries like CUDA.

However, without more specific information about the code you’re running and the exact circumstances under which the error occurs, it’s hard to say for sure what’s causing the segmentation fault.

Here are a few things you could try:

  1. Check your code: Make sure you’re not trying to access a prim that has already been deleted, or a null or uninitialized pointer.
  2. Update your software: Make sure you’re using the latest version of Isaac Sim, and that it’s compatible with the version of CUDA you’re using. According to the Isaac Sim documentation, the recommended CUDA version is 11.1. If possible, try updating to this version to see if it resolves the issue.
  3. Check your hardware: If you’re running on a machine with a GPU, make sure the GPU has enough memory to handle the simulation. If the GPU runs out of memory, it could cause a segmentation fault.
  4. Debugging: Use a debugger to get more information about where the segmentation fault is occurring. This could help you pinpoint the cause of the issue.