Natron - Process exit code: -1073740940

You’ll definitely want to use the CheckExitCode there. You’ll also need to tie that new function into the plugin by adding this line in __init__():

        self.CheckExitCodeCallback += self.CheckExitCode

Then likely add this:

    def CheckExitCode( self, exitCode ):
        if self.FailWithoutFinishedMessage: # job marked to fail if no render success message found
            if exitCode != -1073740940:
                self.FailRender( "Exited with code: %s." % exitCode )
            else:
                self.LogInfo("Exited with heap corruption error. Considering non-fatal")

I looked into what Windows code that error is, and it seems to be heap corruption.

If the work is already done though, it’s likely fine? I wonder how many others are hitting the same issue. It’ll be worth reporting it to the Natron team so they can look into it.