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
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 text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: