I get the same error message. Presumably the Image Sampler crashes while it is trying to write itself to the file. Does this happen with all image samplers, or only for a specific image file?
This has been happening for several years, often reported on the old forum. Makes exchanging code files difficult since the image sampler has to be copy/pasted and wired into the new code to make it work.
No, the problem was that the old version of Grasshopper didn’t correctly save the image sampler. No version of GH can correctly open that file because it is inherently faulty.
Grasshopper files can be opened by both newer and older versions, provided that all components are available on your machine. If the file contains components from a plugin you do not have or components that ship with a newer version of Grasshopper, then the load will (partially) fail.