# A malloc() mismatch error when importing a GMSH mesh

**URL:** https://fenicsproject.discourse.group/t/a-malloc-mismatch-error-when-importing-a-gmsh-mesh/11687
**Category:** Errors
**Created:** [July 7, 2023, 5:35pm UTC](https://fenicsproject.discourse.group/t/a-malloc-mismatch-error-when-importing-a-gmsh-mesh/11687 "2023-07-07T17:35:52Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![dokken](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/dokken/32/1560_2.png) [@dokken](https://fenicsproject.discourse.group/u/dokken)
#### Post date: [July 7, 2023, 7:54pm UTC](https://fenicsproject.discourse.group/t/a-malloc-mismatch-error-when-importing-a-gmsh-mesh/11687/2 "2023-07-07T19:54:37Z")

</div>

> [@hiiamfrompoland](#):
>
> ```auto
> gmsh.model.occ.synchronize()
> gmsh.model.mesh.generate(3)
> 
> ```

I would not synchronize after adding the physical tags (Im not at a computer, so i cannot test it).

---

_[View the full topic](https://fenicsproject.discourse.group/t/a-malloc-mismatch-error-when-importing-a-gmsh-mesh/11687)._
