Compatibility issue between v3.4.0 and v4.1.1

Description

After updating CGNS from version 3.4.0 to 4.1.1, I can't read some old files which have MIXED element sections - cg_open(...) exits with "Error: ElementStartOffset defined more than once" (cgns_internals.c, line 1285). If I roll back to version 3.4.0 everything works as expected.

Furthermore, files with MIXED element sections that don't have an "ElementStartOffset" node (prior to version 3.4.0, I believe) are successfully read with CGNS 4.1.1.

I have provided two files (from versions 3.3.1 and 3.4.0) and a small cpp file that reproduces this issue on my GitHub (https://github.com/felipegiacomelli/CgnsIssue).

Also, my CGNS has been installed with HDF5 (1.10.5) MotherNode.

Thank you,
Felipe

Environment

None

Assignee

Mickael PHILIT

Reporter

Scot Breitenfeld

Components

Fix versions

Affects versions

Priority

Blocker
Configure