[3ds Max 2022.3 + Corona 9] Error: Trapped SEH Exception in RenderFrame(): Access Violation

Hello,
we’re are having the following error on some jobs (3ds Max 2022.3 + Corona 9.1):
a sample of the log is in the attachments.

Error: FailRenderException : RenderTask: Unexpected exception (Trapped SEH Exception in RenderFrame(): Access Violation

I tried looking on the forum but none of the solutions or suggestions seem to work.

We’re loading the jobs to Deadline through a python script, with the deadlinecommand, and using the pluginInfo.job and jobInfo.job as arguments.
Interestingly if I submit the jobs manually from 3ds Max with the GUI Submitter there are no errors.

To create the pluginInfo.job and jobInfo.job I first submitted a job manually and then copied the info inside from the 2 files. Then the python script is in charge of replacing the “name=” parameter and all the other custom parameters for the single job.

Has anyone else had similar problems? where submitting the job manually works, but not through the deadlinecommand.
I also tried to submit a single job with the deadlinecommand but it fails with the same error.

The strange thing is that I’m using the same method to submit different 3ds Max scenes, and with some of them it works without any error

sample_log.zip (15.3 KB)

An Access Violation means that when rendering the frame, Max either ran out of memory, or memory became corrupted - in this case we can see memory usage doesn’t go over 11%, so it’s likely the latter.

But since you’re not having issues submitting through the integrated submitter I’d compare the job info and plugin info files created through your process to the ones created by the submitter. As far as the Worker running the job is concerned, you could have hand-written those job and plugin info files as long as the contents are valid.

Maybe there’s a file path getting mangled in the update and Max is unhappy about it?

If that path of investigation goes nowhere, see about going through the 3ds Max troubleshooting guide to see if the issue is this scene when run in the Deadline Worker’s render sandbox.

Thank you Justin for the feedback.

I checked the pluginInfo and jobInfo files and they’re the same, considering that to create those files I first submitted a job manually and then add/replace only the specific parameters for each individual job.

Also, I’m uploading different 3ds Max scenes and in one of them there are no errors, and the other one doesn’t even starts. But the scene processing uses the same python code.

I’ll try to look deeper to understand where the problem is.

I tried to submit the scene with the 3dsmax command option and it renders correctly (I followed the steps in 3ds Max troubleshooting guide).

So at this point I imagine the problem is in the pluginInfo or jobInfo files?