You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When some SOFA collaboarators try to open the NeedleInsertion.py from the GUI with the Snake, SOFA throws an error and crashes (“Segmentation fault (core dumped)”). When I load a smaller example first, e.g. the liver-file and load NeedleInsertion.py afterwards, it works.
The Plugin Manager says, that the SofaPython3 library is loaded.
It looks like he is dealing with a segmentation fault (SIGSEGV) in his code, which indicates that the program accessed a memory location it wasn't supposed to.
Use debugging tools like gdb (for instancegdb runSofa myscene.py) to analyse the crash. We will have more information about the origin of the problem.
Running your program with gdb and examining the backtrace can provide more insights into where the crash occurs. You can also use tools like valgrind to detect memory-related errors.
you did not mention the version of SOFA. On the current master branch, I cannot reproduce the crash. If there is a fix for that problem, I would bet on this PR since it is related on your callstack. Maybe an update of SOFA would solve the problem.
I unfortunately do not have this information yet since it's not my issue but a partner from the community.
I will let you know as soon as I have more to share for reproductability
When some SOFA collaboarators try to open the NeedleInsertion.py from the GUI with the Snake, SOFA throws an error and crashes (“Segmentation fault (core dumped)”). When I load a smaller example first, e.g. the liver-file and load NeedleInsertion.py afterwards, it works.
The Plugin Manager says, that the SofaPython3 library is loaded.
Console output:
The text was updated successfully, but these errors were encountered: