Blender crashes when wiring an image input to an image output in the compositor (not the same image) The string to keep the full path was usign FILE_MAXDIR, when has to be both, FILE_MAXDIR + FILE_MAXFILE (240, like FILE_MAX).