VTK-9.0.3-1 is asserting with a simple cube FEM in FreeCAD

I’ve got a bunch of cmake config errors from missing libraries that I’ll have to track down. Is it worth it for me to build vtk-8.0.2 and test with it ?

I’ll need help figuring some of these out. For example __int64. And the pthread error.

See attached.
CMakeError.log (57.1 KB)

Probably not, the changes between VTK8 and VTK9 are too big.

Does anything about this look suspicious to you ?

It just means SMDS_Mesh::_meshList[myMeshId]->getGrid(); does not contain the expected unstructured grid, you will have to find out how it is created. Also you may want to check how many points does it actually contains ? 0 or 1 ?

So why does vtk-7,8 handle this without a problem and vtk-9 returns the wrong number ? There is a bug in vtk-9.

The cube can be meshed with FreeCAD 0.19-2 run via appimage.

OS: Fedora 34 (Workstation Edition) (KDE/plasmax11)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.19.2)
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)

1 Like