Invalid scripts makes Gmsh crash
When working on a geo script, we often make bugs. Most of them are repported in the Message Console. But sometimes, the application crash without any message, wich is very frustrating. If this script is Temp/untitled.geo, Gmsh will not launch anymore.
I reproduced this behaviour in the attached script.
The bug is, I forgot a semicolon on line 5.
When loading .geo file, GModel::importGEOInternals() tries to compute Surface 6, but crash in fullMatrix::svd() on line
F77NAME(dgesvd)("O", "A", &M, &N, _data, &LDA, S._data, _data, &LDA, VT._data, &LDVT, WORK._data, &LWORK, &info);
This surface is incoherent and shouldn't be computed.