Just to let you know. This issue has been reported again.
NetCDF-CF writing: Segmentation fault and metadata issues with SNAP v9.0.4+ - snap / Problem Reports - STEP Forum (esa.int)
We have now created a ticket for it and will further investigate it.
[SNAP-3509] Invalid memory access error occurs when writing NetCDF-CF file