Error during pointer being freed was not allocated
Dear,
When trying to mesh a .geo file, I get the following error (see below). When I run it again, the curve upon which gmsh crashes always changes. I added the geo file in the attachement. I indicate mesh size with a background file (also attached) and when I try to impose a constant mesh size, it can generate a mesh. The resulting mesh will probably be a mesh of 3 - 4 million nodes. Gulf.geo xyfield-bg.zip
Is it memory related?
kind regards, Ignace
Info : Running 'gmsh /Users/ignace/Documents/PhD/TELEMAC/Gulf/aquaculture_vs_mangroves/setup/input/v1/Gulf.geo -nt 8 -2 -o /Users/ignace/Documents/PhD/TELEMAC/Gulf/aquaculture_vs_mangroves/setup/input/v1/Gulf_v1.msh -format msh2' [Gmsh 4.9.4, 1 node, max. 8 threads] Info : Started on Sat Mar 25 10:52:43 2023 Info : Reading '/Users/ignace/Documents/PhD/TELEMAC/Gulf/aquaculture_vs_mangroves/setup/input/v1/Gulf.geo'... Info : Done reading '/Users/ignace/Documents/PhD/TELEMAC/Gulf/aquaculture_vs_mangroves/setup/input/v1/Gulf.geo' Info : Meshing 1D... Info : [ 0%] Meshing curve 3325 (Line) Info : [ 0%] Meshing curve 4433 (Line) Info : [ 0%] Meshing curve 1 (Line) Info : [ 0%] Meshing curve 1109 (Line) Info : [ 0%] Meshing curve 2217 (Line) Info : [ 0%] Meshing curve 5540 (Line) gmsh(4388,0x16e03b000) malloc: *** error for object 0x280000000: pointer being freed was not allocated gmsh(4388,0x16c823000) malloc: *** error for object 0x280000000: pointer being freed was not allocated gmsh(4388,0x106144580) malloc: *** error for object 0x280000000: pointer being freed was not allocated gmsh(4388,0x16c823000) malloc: *** set a breakpoint in malloc_error_break to debug gmsh(4388,0x106144580) malloc: *** set a breakpoint in malloc_error_break to debug gmsh(4388,0x16c01b000) malloc: *** error for object 0x280000000: pointer being freed was not allocated