I connected gdb and it looks like the mesh->tdata and mesh->vdata are not correctly allocated when loading the .stl file.
Changing line 24 in libfab/formats/stl.c:
mesh_reserve_v(mesh, mesh->vcount_3);
with
mesh_reserve_v(mesh, mesh->tcount_3);
prevent the crash but then it does not seem to work correctly as my object is not displayed.
The application crashes when loading a .stl file.
I connected gdb and it looks like the mesh->tdata and mesh->vdata are not correctly allocated when loading the .stl file.
Changing line 24 in libfab/formats/stl.c: mesh_reserve_v(mesh, mesh->vcount_3); with mesh_reserve_v(mesh, mesh->tcount_3); prevent the crash but then it does not seem to work correctly as my object is not displayed.