Deleting Surface after calling `BoundingBox` results in Segfault
Calling BoundingBox
and trying to delete a surface afterwards results in an error and leads to Segmentation Fault:
gmsh bounding-box.geo
Info : Done reading 'bounding-box.geo'
Error : Unknown surface type in interpolation
Error : Unknown surface type in interpolation
Segmentation fault
Not calling BoundingBox
or not deleting the surface prevents the error.
The minimal example resulting in the output is appended to this ticket.
The offending function is InterpolateSurface()
in GeoInterpolation.cpp
. I think it somehow has to be prevented that this function is called for the surface just deleted.
Thanks for this great piece of software.