I got it!
That really was a bad mesh file: elements of brick and the remaining ones were inconsistent.
Thanks all! :)