-
Notifications
You must be signed in to change notification settings - Fork 342
Open
Labels
issue: bug (minor)Bug affecting only some users or with no major impact on the frameworkBug affecting only some users or with no major impact on the framework
Description
Problem
########## SIG 11 - SIGSEGV: segfault ##########
sofa::helper::BackTrace::dump
sofa::helper::BackTrace::sig
seh_filter_exe
seh_filter_exe
_C_specific_handler
_chkstk
RtlLocateExtendedFeature
KiUserExceptionDispatcher
PyIter_Check
PyGILState_Ensure
PyGILState_Ensure
PyGILState_Ensure
PyGILState_Ensure
PyObject_VectorcallMethod
PyObject_Call
PyErr_WarnExplicitObject
Py_FinalizeEx
Py_RunMain
Py_Main
Py_Main
BaseThreadInitThunk
RtlUserThreadStart
Environment
Context
USE_GUI = False
FLAG = 0
def main():
root = Sofa.Core.Node("root")
createScene(root)
Sofa.Simulation.initRoot(root)
if FLAG == 0:
if not USE_GUI:
for iteration in range(20):
Sofa.Simulation.animate(root, root.dt.value)
else:
SofaRuntime.importPlugin("SofaImGui")
Sofa.Gui.GUIManager.Init("myscene", "imgui")
Sofa.Gui.GUIManager.createGUI(root, __file__)
Sofa.Gui.GUIManager.SetDimension(1080, 1080)
Sofa.Gui.GUIManager.MainLoop(root)
Sofa.Gui.GUIManager.closeGUI()
windows, Sofa v25.
if USE_GUI = True, the code can run. however, if USE_GUI = False, we get the error above after first 20 iterations.
Thank you.
Metadata
Metadata
Assignees
Labels
issue: bug (minor)Bug affecting only some users or with no major impact on the frameworkBug affecting only some users or with no major impact on the framework