sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
906 stars 310 forks source link

Incompatibility of new style dataset element in MeshVTKLoader and Indices2ValuesMapper #2897

Open sergeiNikolaev opened 2 years ago

sergeiNikolaev commented 2 years ago

test_scene.zip

Problem

Description The problem is related to a dataset field in MeshVTKLoader, which declares object heterogeneous parts. Some time ago when it was defined using Data<> filed the data was loaded directly during init step. Now it is defined using createSofaData() method and initialized slightly later. On the other hand, in the scenes where the issue appears this dataset is used in Indices2ValuesMapper component (using @ link system), the output of which, in its turn, is used in TetrahedronFEMForceField (the same @links). So, without initialization, during init step, the ForceField just crashes.

Steps to reproduce runSofa -l libSofaPython3.so test_scene.py

########## SIG 11 - SIGSEGV: segfault ########## sofa::helper::BackTrace::sig(int) sofa::component::forcefield::TetrahedronFEMForceField<sofa::defaulttype::StdVectorTypes<sofa::type::Vec<3u, double>, sofa::type::Vec<3u, double>, double> >::init() sofa::simulation::InitVisitor::processNodeTopDown(sofa::simulation::Node) sofa::simulation::graph::DAGNode::executeVisitorTopDown(sofa::simulation::Visitor, std::cxx11::list<sofa::simulation::graph::DAGNode, std::allocator<sofa::simulation::graph::DAGNode> >&, std::map<sofa::simulation::graph::DAGNode, sofa::simulation::graph::DAGNode::StatusStruct, std::less<sofa::simulation::graph::DAGNode>, std::allocator<std::pair<sofa::simulation::graph::DAGNode const, sofa::simulation::graph::DAGNode::StatusStruct> > >&, sofa::simulation::graph::DAGNode) sofa::simulation::graph::DAGNode::executeVisitorTopDown(sofa::simulation::Visitor*, std::cxx11::list<sofa::simulation::graph::DAGNode, std::allocator<sofa::simulation::graph::DAGNode> >&, std::map<sofa::simulation::graph::DAGNode, sofa::simulation::graph::DAGNode::StatusStruct, std::less<sofa::simulation::graph::DAGNode>, std::allocator<std::pair<sofa::simulation::graph::DAGNode const, sofa::simulation::graph::DAGNode::StatusStruct> > >&, sofa::simulation::graph::DAGNode) sofa::simulation::graph::DAGNode::doExecuteVisitor(sofa::simulation::Visitor, bool) sofa::simulation::Simulation::initNode(sofa::simulation::Node) sofa::simulation::Simulation::init(sofa::simulation::Node*) __libc_start_main Segmentation fault (core dumped)

Expected behavior the scene has to run (When I replace dataset with dataset1 which I declared as:

diff --git a/SofaKernel/modules/SofaCore/src/sofa/core/loader/MeshLoader.cpp b/SofaKernel/modules/SofaCore/src/sofa/core/loader/MeshLoader.cpp index 2f00fe62dc..782ce854ce 100644 --- a/SofaKernel/modules/SofaCore/src/sofa/core/loader/MeshLoader.cpp +++ b/SofaKernel/modules/SofaCore/src/sofa/core/loader/MeshLoader.cpp @@ -72,6 +72,7 @@ MeshLoader::MeshLoader() : BaseLoader() , d_rotation(initData(&d_rotation, Vec3(), "rotation", "Rotation of the DOFs")) , d_scale(initData(&d_scale, Vec3(1.0, 1.0, 1.0), "scale3d", "Scale of the DOFs in 3 dimensions")) , d_transformation(initData(&d_transformation, type::Matrix4::s_identity, "transformation", "4x4 Homogeneous matrix to transform the DOFs (when present replace any)"))

diff --git a/SofaKernel/modules/SofaCore/src/sofa/core/loader/MeshLoader.h b/SofaKernel/modules/SofaCore/src/sofa/core/loader/MeshLoader.h index d972c27d75..5fc1d75345 100644 --- a/SofaKernel/modules/SofaCore/src/sofa/core/loader/MeshLoader.h +++ b/SofaKernel/modules/SofaCore/src/sofa/core/loader/MeshLoader.h @@ -183,6 +183,7 @@ public: Data< Vec3 > d_scale; ///< Scale of the DOFs in 3 dimensions Data< type::Matrix4 > d_transformation; ///< 4x4 Homogeneous matrix to transform the DOFs (when present replace any)

everything work fine


Environment

Context


runSofa -l SofaPython3 test_scene.py

Env vars

python -c "exec( \"import os, sys\nprint('#################')\nprint('--- sys.version ---')\nprint(sys.version)\nprint('--- PATH ---')\ntry:\n  print(os.environ['PATH'])\nexcept Exception:\n  pass\nprint('--- SOFA_ROOT ---')\ntry:\n  print(os.environ['SOFA_ROOT'])\nexcept Exception:\n  pass\nprint('--- PYTHONPATH ---')\ntry:\n  print(os.environ['PYTHONPATH'])\nexcept Exception:\n  pass\nprint('--- sys.path ---')\ntry:\n   print(str(sys.path))\nexcept Exception:\n   pass\nprint('#################')\" )"

#################
--- sys.version ---
3.10.4 (main, Mar 23 2022, 23:05:40) [GCC 11.2.0]
--- PATH ---
/home/sergei/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
--- SOFA_ROOT ---
/home/sergei/Source_code/Sofa_development/sofa/build_release/install
--- PYTHONPATH ---
/home/sergei/Source_code/Sofa_development/SofaPyhton3/build_release/lib/pyhton3/site-packages
--- sys.path ---
['', '/home/sergei/Source_code/Sofa_development/SofaPyhton3/build_release/lib/pyhton3/site-packages', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/home/sergei/.local/lib/python3.10/site-packages', '/usr/lib/python3.10/site-packages']
#################

Logs

Full output


[sergei@sergei-20hd0000fr sofa]$ /home/sergei/Source_code/Sofa_development/sofa/build_release/bin/runSofa -l /home/sergei/Source_code/Sofa_development/SofaPython3/build_release/lib/libSofaPython3.so /home/sergei/Optimus_test/test_scene.py 
[ERROR]   [FileSystem::isDirectory()] /home/sergei/Source_code/Sofa_development/sofa/build_release/share/sofa/gui/runSofa: No such file or directory
[WARNING] [SofaEigen2Solver] SofaEigen2Solver is deprecated; Eigen classes are now located in Sofa.LinearAlgebra and SVDLinearSolver in SofaDenseSolver.You can remove SofaEigen2Solver from your scene, and if using SVDLinearSolver, please load SofaDenseSolver instead.
[INFO]    [runSofa] PluginRepository paths = /home/sergei/Source_code/Sofa_development/Optimus/build_release:/home/sergei/Source_code/Sofa_development/SofaAuxiliaryComponents/build_release:/home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins:/home/sergei/Source_code/Sofa_development/sofa/build_release/install/lib
[INFO]    [runSofa] DataRepository paths = /home/sergei/Source_code/Sofa_development/sofa/build_release/install/share/sofa:/home/sergei/Source_code/Sofa_development/sofa/build_release/install/share/sofa/examples
[INFO]    [runSofa] GuiDataRepository paths = /home/sergei/Source_code/Sofa_development/sofa/build_release/install/share/sofa/gui/qt
[INFO]    [SofaPython3] Initializing with python version 3.10.4 (main, Mar 23 2022, 23:05:40) [GCC 11.2.0]
[INFO]    [SofaPython3] Registering a scene loader for [.py, .py3, .pyscn, .py3scn] files.
[INFO]    [SofaPython3] Shared library name is 'libpython3.1m.so'
[INFO]    [SofaPython3] Intializing python
[INFO]    [SofaPython3] Added '/home/sergei/Source_code/Sofa_development/SofaPython3/build_release/lib/python3/site-packages' to sys.path
---------------------------------------
Checking SOFA_ROOT and SOFAPYTHON3_ROOT
Using environment variable SOFA_ROOT: /home/sergei/Source_code/Sofa_development/sofa/build_release/install
---------------------------------------
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/SofaPython3/build_release/lib/libSofaPython3.so
[INFO]    [runSofa] Loading automatically plugin list in /home/sergei/Source_code/Sofa_development/sofa/build_release/install/lib/plugin_list.conf.default
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaSimpleFem/lib/libSofaSimpleFem.so
[WARNING] [ObjectFactory] Class already registered: JointSpringForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: RigidMapping<Rigid2d,Vec2d>
[WARNING] [ObjectFactory] Class already registered: RigidMapping<Rigid3d,Vec3d>
[WARNING] [ObjectFactory] Class already registered: RigidRigidMapping<Rigid3d,Rigid3d>
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaRigid/lib/libSofaRigid.so
[WARNING] [ObjectFactory] Class already registered: AngularSpringForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: MeshSpringForceField<Vec1d>
[WARNING] [ObjectFactory] Class already registered: MeshSpringForceField<Vec2d>
[WARNING] [ObjectFactory] Class already registered: MeshSpringForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: RestShapeSpringsForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: RestShapeSpringsForceField<Vec1d>
[WARNING] [ObjectFactory] Class already registered: RestShapeSpringsForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: PolynomialRestShapeSpringsForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: SpringForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: SpringForceField<Vec1d>
[WARNING] [ObjectFactory] Class already registered: SpringForceField<Vec2d>
[WARNING] [ObjectFactory] Class already registered: SpringForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: SpringForceField<Vec6d>
[WARNING] [ObjectFactory] Class already registered: StiffSpringForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: StiffSpringForceField<Vec1d>
[WARNING] [ObjectFactory] Class already registered: StiffSpringForceField<Vec2d>
[WARNING] [ObjectFactory] Class already registered: StiffSpringForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: StiffSpringForceField<Vec6d>
[WARNING] [ObjectFactory] Class already registered: PolynomialSpringsForceField<Vec3d>
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaDeformable/lib/libSofaDeformable.so
[WARNING] [ObjectFactory] Class already registered: PenalityContactForceField<Vec3d>
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaObjectInteraction/lib/libSofaObjectInteraction.so
[WARNING] [ObjectFactory] Class already registered: LineCollisionModel<Vec3d>
[WARNING] [ObjectFactory] Class already registered: PointCollisionModel<Vec3d>
[WARNING] [ObjectFactory] Class already registered: TriangleCollisionModel<Vec3d>
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMeshCollision/lib/libSofaMeshCollision.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaEngine/lib/libSofaEngine.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaExplicitOdeSolver/lib/libSofaExplicitOdeSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaImplicitOdeSolver/lib/libSofaImplicitOdeSolver.so
[WARNING] [ObjectFactory] Class already registered: MeshOBJLoader
[WARNING] [ObjectFactory] Class already registered: MeshVTKLoader
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaLoader/lib/libSofaLoader.so
[WARNING] [ObjectFactory] Class already registered: RecordedCamera
[WARNING] [ObjectFactory] Class already registered: VisualTransform
[WARNING] [ObjectFactory] Class already registered: Visual3DText
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralVisual/lib/libSofaGeneralVisual.so
[WARNING] [ObjectFactory] Class already registered: AddFrameButtonSetting
[WARNING] [ObjectFactory] Class already registered: AddRecordedCameraButtonSetting
[WARNING] [ObjectFactory] Class already registered: StartNavigationButtonSetting
[WARNING] [ObjectFactory] Class already registered: AttachBodyButtonSetting
[WARNING] [ObjectFactory] Class already registered: FixPickedParticleButtonSetting
[WARNING] [ObjectFactory] Class already registered: Gravity
[WARNING] [ObjectFactory] Class already registered: PauseAnimationOnEvent
[WARNING] [ObjectFactory] Class already registered: SofaDefaultPathSetting
[WARNING] [ObjectFactory] Class already registered: StatsSetting
[WARNING] [ObjectFactory] Class already registered: ViewerSetting
[WARNING] [ObjectFactory] Class already registered: APIVersion
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGraphComponent/lib/libSofaGraphComponent.so
[WARNING] [ObjectFactory] Class already registered: DirectSAP
[WARNING] [ObjectFactory] Class already registered: DirectSAPNarrowPhase
[WARNING] [ObjectFactory] Class already registered: IncrSAP
[WARNING] [ObjectFactory] Class already registered: RayTraceNarrowPhase
[WARNING] [ObjectFactory] Class already registered: TriangleOctreeModel
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralMeshCollision/lib/libSofaGeneralMeshCollision.so
[WARNING] [ObjectFactory] Class already registered: AffineMovementConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: AffineMovementConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: ConicalForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: ConstantForceField<Rigid2d>
[WARNING] [ObjectFactory] Class already registered: ConstantForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: ConstantForceField<Vec1d>
[WARNING] [ObjectFactory] Class already registered: ConstantForceField<Vec2d>
[WARNING] [ObjectFactory] Class already registered: ConstantForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: ConstantForceField<Vec6d>
[WARNING] [ObjectFactory] Class already registered: DiagonalVelocityDampingForceField<Rigid2d>
[WARNING] [ObjectFactory] Class already registered: DiagonalVelocityDampingForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: DiagonalVelocityDampingForceField<Vec1d>
[WARNING] [ObjectFactory] Class already registered: DiagonalVelocityDampingForceField<Vec2d>
[WARNING] [ObjectFactory] Class already registered: DiagonalVelocityDampingForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: DiagonalVelocityDampingForceField<Vec6d>
[WARNING] [ObjectFactory] Class already registered: EdgePressureForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: EllipsoidForceField<Vec1d>
[WARNING] [ObjectFactory] Class already registered: EllipsoidForceField<Vec2d>
[WARNING] [ObjectFactory] Class already registered: EllipsoidForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: FixedConstraint<Rigid2d>
[WARNING] [ObjectFactory] Class already registered: FixedConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: FixedConstraint<Vec1d>
[WARNING] [ObjectFactory] Class already registered: FixedConstraint<Vec2d>
[WARNING] [ObjectFactory] Class already registered: FixedConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: FixedConstraint<Vec6d>
[WARNING] [ObjectFactory] Class already registered: FixedPlaneConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: FixedPlaneConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: FixedPlaneConstraint<Vec6d>
[WARNING] [ObjectFactory] Class already registered: FixedRotationConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: FixedTranslationConstraint<Rigid2d>
[WARNING] [ObjectFactory] Class already registered: FixedTranslationConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: FixedTranslationConstraint<Vec6d>
[WARNING] [ObjectFactory] Class already registered: HermiteSplineConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: HermiteSplineConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: LinearForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: LinearForceField<Vec1d>
[WARNING] [ObjectFactory] Class already registered: LinearForceField<Vec2d>
[WARNING] [ObjectFactory] Class already registered: LinearForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: LinearForceField<Vec6d>
[WARNING] [ObjectFactory] Class already registered: LinearMovementConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: LinearMovementConstraint<Vec1d>
[WARNING] [ObjectFactory] Class already registered: LinearMovementConstraint<Vec2d>
[WARNING] [ObjectFactory] Class already registered: LinearMovementConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: LinearMovementConstraint<Vec6d>
[WARNING] [ObjectFactory] Class already registered: LinearVelocityConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: LinearVelocityConstraint<Vec1d>
[WARNING] [ObjectFactory] Class already registered: LinearVelocityConstraint<Vec2d>
[WARNING] [ObjectFactory] Class already registered: LinearVelocityConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: LinearVelocityConstraint<Vec6d>
[WARNING] [ObjectFactory] Class already registered: OscillatingTorsionPressureForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: OscillatorConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: OscillatorConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: ParabolicConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: ParabolicConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: PartialFixedConstraint<Rigid2d>
[WARNING] [ObjectFactory] Class already registered: PartialFixedConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: PartialFixedConstraint<Vec1d>
[WARNING] [ObjectFactory] Class already registered: PartialFixedConstraint<Vec2d>
[WARNING] [ObjectFactory] Class already registered: PartialFixedConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: PartialFixedConstraint<Vec6d>
[WARNING] [ObjectFactory] Class already registered: PartialLinearMovementConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: PartialLinearMovementConstraint<Vec1d>
[WARNING] [ObjectFactory] Class already registered: PartialLinearMovementConstraint<Vec2d>
[WARNING] [ObjectFactory] Class already registered: PartialLinearMovementConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: PartialLinearMovementConstraint<Vec6d>
[WARNING] [ObjectFactory] Class already registered: PatchTestMovementConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: PatchTestMovementConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: PlaneForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: PlaneForceField<Vec1d>
[WARNING] [ObjectFactory] Class already registered: PlaneForceField<Vec2d>
[WARNING] [ObjectFactory] Class already registered: PlaneForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: PlaneForceField<Vec6d>
[WARNING] [ObjectFactory] Class already registered: PointConstraint<Vec3d>
[WARNING] [ObjectFactory] Default template for class PositionBasedDynamicsConstraint already registered (Vec3d), do not register Vec3d as the default
[WARNING] [ObjectFactory] Class already registered: PositionBasedDynamicsConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: PositionBasedDynamicsConstraint<Vec1d>
[WARNING] [ObjectFactory] Class already registered: PositionBasedDynamicsConstraint<Vec2d>
[WARNING] [ObjectFactory] Class already registered: PositionBasedDynamicsConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: PositionBasedDynamicsConstraint<Vec6d>
[WARNING] [ObjectFactory] Class already registered: QuadPressureForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: SkeletalMotionConstraint<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: SphereForceField<Vec1d>
[WARNING] [ObjectFactory] Class already registered: SphereForceField<Vec2d>
[WARNING] [ObjectFactory] Class already registered: SphereForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: SurfacePressureForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: SurfacePressureForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: TaitSurfacePressureForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: TorsionForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: TorsionForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: TrianglePressureForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: UniformVelocityDampingForceField<Rigid2d>
[WARNING] [ObjectFactory] Class already registered: UniformVelocityDampingForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: UniformVelocityDampingForceField<Vec1d>
[WARNING] [ObjectFactory] Class already registered: UniformVelocityDampingForceField<Vec2d>
[WARNING] [ObjectFactory] Class already registered: UniformVelocityDampingForceField<Vec3d>
[WARNING] [ObjectFactory] Class already registered: UniformVelocityDampingForceField<Vec6d>
[WARNING] [ObjectFactory] Class already registered: ProjectToLineConstraint<Vec2d>
[WARNING] [ObjectFactory] Class already registered: ProjectToLineConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: ProjectToPlaneConstraint<Vec2d>
[WARNING] [ObjectFactory] Class already registered: ProjectToPlaneConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: ProjectToPointConstraint<Vec1d>
[WARNING] [ObjectFactory] Class already registered: ProjectToPointConstraint<Vec2d>
[WARNING] [ObjectFactory] Class already registered: ProjectToPointConstraint<Vec3d>
[WARNING] [ObjectFactory] Class already registered: ProjectToPointConstraint<Vec6d>
[WARNING] [ObjectFactory] Class already registered: ProjectDirectionConstraint<Vec2d>
[WARNING] [ObjectFactory] Class already registered: ProjectDirectionConstraint<Vec3d>
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaBoundaryCondition/lib/libSofaBoundaryCondition.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralAnimationLoop/lib/libSofaGeneralAnimationLoop.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralDeformable/lib/libSofaGeneralDeformable.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralEngine/lib/libSofaGeneralEngine.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralExplicitOdeSolver/lib/libSofaGeneralExplicitOdeSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralImplicitOdeSolver/lib/libSofaGeneralImplicitOdeSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralLinearSolver/lib/libSofaGeneralLinearSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralRigid/lib/libSofaGeneralRigid.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralObjectInteraction/lib/libSofaGeneralObjectInteraction.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralSimpleFem/lib/libSofaGeneralSimpleFem.so
[WARNING] [ObjectFactory] Class already registered: CubeTopology
[WARNING] [ObjectFactory] Class already registered: CylinderGridTopology
[WARNING] [ObjectFactory] Class already registered: SphereGridTopology
[WARNING] [ObjectFactory] Class already registered: SphereQuadTopology
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralTopology/lib/libSofaGeneralTopology.so
[WARNING] [ObjectFactory] Class already registered: CenterPointTopologicalMapping
[WARNING] [ObjectFactory] Class already registered: Edge2QuadTopologicalMapping
[WARNING] [ObjectFactory] Class already registered: Hexa2QuadTopologicalMapping
[WARNING] [ObjectFactory] Class already registered: Hexa2TetraTopologicalMapping
[WARNING] [ObjectFactory] Class already registered: IdentityTopologicalMapping
[WARNING] [ObjectFactory] Class already registered: Mesh2PointMechanicalMapping<Vec3d,Vec3d>
[WARNING] [ObjectFactory] Class already registered: Mesh2PointTopologicalMapping
[WARNING] [ObjectFactory] Class already registered: Quad2TriangleTopologicalMapping
[WARNING] [ObjectFactory] Class already registered: SimpleTesselatedHexaTopologicalMapping
[WARNING] [ObjectFactory] Class already registered: SimpleTesselatedTetraMechanicalMapping<Vec3d,Vec3d>
[WARNING] [ObjectFactory] Class already registered: SimpleTesselatedTetraTopologicalMapping
[WARNING] [ObjectFactory] Class already registered: SubsetTopologicalMapping
[WARNING] [ObjectFactory] Class already registered: Tetra2TriangleTopologicalMapping
[WARNING] [ObjectFactory] Class already registered: Triangle2EdgeTopologicalMapping
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaTopologyMapping/lib/libSofaTopologyMapping.so
[WARNING] [ObjectFactory] Class already registered: MouseInteractor<Vec2d>
[WARNING] [ObjectFactory] Class already registered: MouseInteractor<Vec3d>
[WARNING] [ObjectFactory] Class already registered: MouseInteractor<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: MechanicalStateController<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: MechanicalStateController<Vec1d>
[WARNING] [ObjectFactory] Class already registered: RayCollisionModel
[WARNING] [ObjectFactory] Class already registered: RayTraceDetection
[WARNING] [ObjectFactory] Class already registered: SleepController
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaUserInteraction/lib/libSofaUserInteraction.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaConstraint/lib/libSofaConstraint.so
[WARNING] [ObjectFactory] Class already registered: ReadState
[WARNING] [ObjectFactory] Class already registered: ReadTopology
[WARNING] [ObjectFactory] Class already registered: GIDMeshLoader
[WARNING] [ObjectFactory] Class already registered: GridMeshCreator
[WARNING] [ObjectFactory] Class already registered: InputEventReader
[WARNING] [ObjectFactory] Class already registered: MeshGmshLoader
[WARNING] [ObjectFactory] Class already registered: MeshOffLoader
[WARNING] [ObjectFactory] Class already registered: MeshSTLLoader
[WARNING] [ObjectFactory] Class already registered: MeshTrianLoader
[WARNING] [ObjectFactory] Class already registered: MeshXspLoader
[WARNING] [ObjectFactory] Class already registered: OffSequenceLoader
[WARNING] [ObjectFactory] Class already registered: SphereLoader
[WARNING] [ObjectFactory] Class already registered: StringMeshCreator
[WARNING] [ObjectFactory] Class already registered: VoxelGridLoader
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralLoader/lib/libSofaGeneralLoader.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaExporter/lib/libSofaExporter.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaSparseSolver/lib/libSofaSparseSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaPreconditioner/lib/libSofaPreconditioner.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaHaptics/lib/libSofaHaptics.so
[WARNING] [ObjectFactory] Class already registered: CompareState
[WARNING] [ObjectFactory] Class already registered: CompareTopology
[WARNING] [ObjectFactory] Class already registered: DataController
[WARNING] [ObjectFactory] Class already registered: DataMonitor
[WARNING] [ObjectFactory] Class already registered: DevAngleCollisionMonitor<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: DevMonitorManager
[WARNING] [ObjectFactory] Class already registered: DevTensionMonitor<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: EvalPointsDistance<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: EvalPointsDistance<Vec3d>
[WARNING] [ObjectFactory] Class already registered: EvalSurfaceDistance<Vec3d>
[WARNING] [ObjectFactory] Default template for class ExtraMonitor already registered (Vec3d), do not register Vec3d as the default
[WARNING] [ObjectFactory] Class already registered: ExtraMonitor<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: ExtraMonitor<Vec3d>
[WARNING] [ObjectFactory] Class already registered: ExtraMonitor<Vec6d>
[WARNING] [ObjectFactory] Default template for class Monitor already registered (Vec3d), do not register Vec3d as the default
[WARNING] [ObjectFactory] Class already registered: Monitor<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: Monitor<Vec3d>
[WARNING] [ObjectFactory] Class already registered: Monitor<Vec6d>
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaValidation/lib/libSofaValidation.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaDenseSolver/lib/libSofaDenseSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaNonUniformFem/lib/libSofaNonUniformFem.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaOpenglVisual/lib/libSofaOpenglVisual.so
[WARNING] [ObjectFactory] Class already registered: TopologicalChangeProcessor
[WARNING] [ObjectFactory] Class already registered: TopologyChecker
[WARNING] [ObjectFactory] Default template for class TopologyBoundingTrasher already registered (Vec3d), do not register Vec3d as the default
[WARNING] [ObjectFactory] Class already registered: TopologyBoundingTrasher<Vec3d>
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscTopology/lib/libSofaMiscTopology.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscExtra/lib/libSofaMiscExtra.so
[WARNING] [ObjectFactory] Class already registered: GearSpringForceField<Rigid3d>
[WARNING] [ObjectFactory] Class already registered: MeshMatrixMass<Vec1d,double>
[WARNING] [ObjectFactory] Class already registered: MeshMatrixMass<Vec2d,double>
[WARNING] [ObjectFactory] Class already registered: MeshMatrixMass<Vec3d,double>
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscForceField/lib/libSofaMiscForceField.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscEngine/lib/libSofaMiscEngine.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscSolver/lib/libSofaMiscSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscFem/lib/libSofaMiscFem.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscMapping/lib/libSofaMiscMapping.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscCollision/lib/libSofaMiscCollision.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/CImgPlugin/lib/libCImgPlugin.so
Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing.
The constructor with a QGLFormat is deprecated, use the regular contructor instead.

[WARNING] [SparseLDLSolver(SparseLDLSolver)] Template is empty
By default SparseLDLSolver uses blocks with a single double (to handle all cases of simulations).
If you are using only 3D DOFs, you may consider using blocks of Matrix3 to speedup the calculations.
If it is the case, add template="CompressedRowSparseMatrixMat3x3d" to this object in your scene
Otherwise, if you want to disable this message, add template="CompressedRowSparseMatrixd" .
[INFO]    [SceneCheckerVisitor] Validating node "root" with checks: [SceneCheckDuplicatedName, SceneCheckMissingRequiredPlugin, SceneCheckUsingAlias, SceneCheckDeprecatedComponents, SceneCheckCollisionResponse]
[INFO]    [SceneCheckerVisitor] Finished validating node "root".
[WARNING] [Simulation] Default Animation Manager Loop will be used. Add DefaultAnimationLoop to the root node of scene file to remove this warning
[WARNING] [Simulation] Default Visual Manager Loop will be used. Add DefaultVisualManagerLoop to the root node of scene file to remove this warning

########## SIG 11 - SIGSEGV: segfault ##########
  sofa::helper::BackTrace::sig(int)
  sofa::component::forcefield::TetrahedronFEMForceField<sofa::defaulttype::StdVectorTypes<sofa::type::Vec<3u, double>, sofa::type::Vec<3u, double>, double> >::init()
  sofa::simulation::InitVisitor::processNodeTopDown(sofa::simulation::Node*)
  sofa::simulation::graph::DAGNode::executeVisitorTopDown(sofa::simulation::Visitor*, std::__cxx11::list<sofa::simulation::graph::DAGNode*, std::allocator<sofa::simulation::graph::DAGNode*> >&, std::map<sofa::simulation::graph::DAGNode*, sofa::simulation::graph::DAGNode::StatusStruct, std::less<sofa::simulation::graph::DAGNode*>, std::allocator<std::pair<sofa::simulation::graph::DAGNode* const, sofa::simulation::graph::DAGNode::StatusStruct> > >&, sofa::simulation::graph::DAGNode*)
  sofa::simulation::graph::DAGNode::executeVisitorTopDown(sofa::simulation::Visitor*, std::__cxx11::list<sofa::simulation::graph::DAGNode*, std::allocator<sofa::simulation::graph::DAGNode*> >&, std::map<sofa::simulation::graph::DAGNode*, sofa::simulation::graph::DAGNode::StatusStruct, std::less<sofa::simulation::graph::DAGNode*>, std::allocator<std::pair<sofa::simulation::graph::DAGNode* const, sofa::simulation::graph::DAGNode::StatusStruct> > >&, sofa::simulation::graph::DAGNode*)
  sofa::simulation::graph::DAGNode::doExecuteVisitor(sofa::simulation::Visitor*, bool)
  sofa::simulation::Simulation::initNode(sofa::simulation::Node*)
  sofa::simulation::Simulation::init(sofa::simulation::Node*)
  __libc_start_main
Segmentation fault (core dumped)

Content of build_dir/CMakeCache.txt CMakeCache.txt test_scene.zip

< DRAG AND DROP YOUR CMAKECACHE.TXT HERE >


Thank you for your report.

fredroy commented 2 years ago

First of all, you should try to get rid of the [WARNING] [ObjectFactory] Class already registered It usually means you already loaded a library with the same components inside. In your case, you have a mixup between your build version and an installed version. Indeed, you are running runSofa from the build (/home/sergei/Source_code/Sofa_development/sofa/build_release/bin/runSofa) and SOFA_ROOT is set to SOFA_ROOT: /home/sergei/Source_code/Sofa_development/sofa/build_release/install

Either run from your install (and keep SOFA_ROOT); or set SOFA_ROOT to your build directory.

sergeiNikolaev commented 2 years ago

Well, here is the updated log. (I also did small corrections in scene to remove warnings I know how to remove. Anyway, the issue is still there). The scene with corrections is attached. test_scene.zip

Full output



[sergei@sergei-20hd0000fr test_scene]$ /home/sergei/Source_code/Sofa_development/sofa/build_release/install/bin/runSofa -l /home/sergei/Source_code/Sofa_development/SofaPython3/build_release/install/lib/libSofaPython3.so /home/sergei/Source_code/test_scene/test_scene.py 
[WARNING] [SofaEigen2Solver] SofaEigen2Solver is deprecated; Eigen classes are now located in Sofa.LinearAlgebra and SVDLinearSolver in SofaDenseSolver.You can remove SofaEigen2Solver from your scene, and if using SVDLinearSolver, please load SofaDenseSolver instead.
[INFO]    [runSofa] PluginRepository paths = /home/sergei/Source_code/Sofa_development/Optimus/build_release:/home/sergei/Source_code/Sofa_development/SofaAuxiliaryComponents/build_release:/home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins:/home/sergei/Source_code/Sofa_development/sofa/build_release/install/lib
[INFO]    [runSofa] DataRepository paths = /home/sergei/Source_code/Sofa_development/sofa/build_release/install/share/sofa:/home/sergei/Source_code/Sofa_development/sofa/build_release/install/share/sofa/examples:/home/sergei/Source_code/Sofa_development/sofa/build_release/install/share/sofa:/home/sergei/Source_code/Sofa_development/sofa/build_release/install/share/sofa/examples
[INFO]    [runSofa] GuiDataRepository paths = /home/sergei/Source_code/Sofa_development/sofa/build_release/install/share/sofa/gui/runSofa:/home/sergei/Source_code/Sofa_development/sofa/build_release/install/share/sofa/gui/qt:/home/sergei/Source_code/Sofa_development/sofa/build_release/install/share/sofa/gui/qt
[INFO]    [SofaPython3] Initializing with python version 3.10.4 (main, Mar 23 2022, 23:05:40) [GCC 11.2.0]
[INFO]    [SofaPython3] Registering a scene loader for [.py, .py3, .pyscn, .py3scn] files.
[INFO]    [SofaPython3] Shared library name is 'libpython3.1m.so'
[INFO]    [SofaPython3] Intializing python
[INFO]    [SofaPython3] Added '/home/sergei/Source_code/Sofa_development/SofaPython3/build_release/install/lib/python3/site-packages' to sys.path
---------------------------------------
Checking SOFA_ROOT and SOFAPYTHON3_ROOT
Using environment variable SOFA_ROOT: /home/sergei/Source_code/Sofa_development/sofa/build_release/install
---------------------------------------
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/SofaPython3/build_release/install/lib/libSofaPython3.so
[INFO]    [runSofa] Loading automatically plugin list in /home/sergei/Source_code/Sofa_development/sofa/build_release/install/lib/plugin_list.conf.default
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaSimpleFem/lib/libSofaSimpleFem.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaRigid/lib/libSofaRigid.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaDeformable/lib/libSofaDeformable.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaObjectInteraction/lib/libSofaObjectInteraction.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMeshCollision/lib/libSofaMeshCollision.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaEngine/lib/libSofaEngine.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaExplicitOdeSolver/lib/libSofaExplicitOdeSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaImplicitOdeSolver/lib/libSofaImplicitOdeSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaLoader/lib/libSofaLoader.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralVisual/lib/libSofaGeneralVisual.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGraphComponent/lib/libSofaGraphComponent.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralMeshCollision/lib/libSofaGeneralMeshCollision.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaBoundaryCondition/lib/libSofaBoundaryCondition.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralAnimationLoop/lib/libSofaGeneralAnimationLoop.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralDeformable/lib/libSofaGeneralDeformable.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralEngine/lib/libSofaGeneralEngine.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralExplicitOdeSolver/lib/libSofaGeneralExplicitOdeSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralImplicitOdeSolver/lib/libSofaGeneralImplicitOdeSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralLinearSolver/lib/libSofaGeneralLinearSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralRigid/lib/libSofaGeneralRigid.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralObjectInteraction/lib/libSofaGeneralObjectInteraction.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralSimpleFem/lib/libSofaGeneralSimpleFem.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralTopology/lib/libSofaGeneralTopology.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaTopologyMapping/lib/libSofaTopologyMapping.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaUserInteraction/lib/libSofaUserInteraction.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaConstraint/lib/libSofaConstraint.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaGeneralLoader/lib/libSofaGeneralLoader.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaExporter/lib/libSofaExporter.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaSparseSolver/lib/libSofaSparseSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaPreconditioner/lib/libSofaPreconditioner.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaHaptics/lib/libSofaHaptics.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaValidation/lib/libSofaValidation.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaDenseSolver/lib/libSofaDenseSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaNonUniformFem/lib/libSofaNonUniformFem.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaOpenglVisual/lib/libSofaOpenglVisual.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscTopology/lib/libSofaMiscTopology.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscExtra/lib/libSofaMiscExtra.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscForceField/lib/libSofaMiscForceField.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscEngine/lib/libSofaMiscEngine.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscSolver/lib/libSofaMiscSolver.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscFem/lib/libSofaMiscFem.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscMapping/lib/libSofaMiscMapping.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/SofaMiscCollision/lib/libSofaMiscCollision.so
[INFO]    [PluginManager] Loaded plugin: /home/sergei/Source_code/Sofa_development/sofa/build_release/install/plugins/CImgPlugin/lib/libCImgPlugin.so
Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing.
The constructor with a QGLFormat is deprecated, use the regular contructor instead.

[INFO]    [SceneCheckerVisitor] Validating node "root" with checks: [SceneCheckDuplicatedName, SceneCheckMissingRequiredPlugin, SceneCheckUsingAlias, SceneCheckDeprecatedComponents, SceneCheckCollisionResponse]
[INFO]    [SceneCheckerVisitor] Finished validating node "root".

########## SIG 11 - SIGSEGV: segfault ##########
  sofa::helper::BackTrace::sig(int)
  sofa::component::forcefield::TetrahedronFEMForceField<sofa::defaulttype::StdVectorTypes<sofa::type::Vec<3u, double>, sofa::type::Vec<3u, double>, double> >::init()
  sofa::simulation::InitVisitor::processNodeTopDown(sofa::simulation::Node*)
  sofa::simulation::graph::DAGNode::executeVisitorTopDown(sofa::simulation::Visitor*, std::__cxx11::list<sofa::simulation::graph::DAGNode*, std::allocator<sofa::simulation::graph::DAGNode*> >&, std::map<sofa::simulation::graph::DAGNode*, sofa::simulation::graph::DAGNode::StatusStruct, std::less<sofa::simulation::graph::DAGNode*>, std::allocator<std::pair<sofa::simulation::graph::DAGNode* const, sofa::simulation::graph::DAGNode::StatusStruct> > >&, sofa::simulation::graph::DAGNode*)
  sofa::simulation::graph::DAGNode::executeVisitorTopDown(sofa::simulation::Visitor*, std::__cxx11::list<sofa::simulation::graph::DAGNode*, std::allocator<sofa::simulation::graph::DAGNode*> >&, std::map<sofa::simulation::graph::DAGNode*, sofa::simulation::graph::DAGNode::StatusStruct, std::less<sofa::simulation::graph::DAGNode*>, std::allocator<std::pair<sofa::simulation::graph::DAGNode* const, sofa::simulation::graph::DAGNode::StatusStruct> > >&, sofa::simulation::graph::DAGNode*)
  sofa::simulation::graph::DAGNode::doExecuteVisitor(sofa::simulation::Visitor*, bool)
  sofa::simulation::Simulation::initNode(sofa::simulation::Node*)
  sofa::simulation::Simulation::init(sofa::simulation::Node*)
  __libc_start_main
Segmentation fault (core dumped)
[sergei@sergei-20hd0000fr test_scene]$