Facing malloc(): mismatching next->prev_size (unsorted) Aborted error while importing mesh file

Without having the actual script that generated the msh file, it is impossible to give any further guidance.

A similar error was resolved in: