Hi,
We are experiencing an Arnold crash with the error Access violation - code c0000005 when rendering a Bifrost procedural in `Gaffer-1.3.x`. This crash occurs after Arnold writes the rendered image to the file system but it does not show any traceback in the render log. This issue happens only when using `Arnold-7.2.x`. But if I try to kick the gaffer sceneDescription.ass file it renders fine without any crash. This makes me think this issue might be more specific to Gaffer than Arnold, which is why I'm posting it here.
We are seeking help to resolve this problem. I have also tried setting ARNOLD_ADP_DISABLE=1, as suggested by Murray in an older thread, but that didn't work in our case.
I am sharing the following details in an attached zip file, to help you understand this problem.
Data:
Batch Command Used:
Logs and Proof:
Arnold Crash Report After Closing Gaffer Session Post Successful Interactive Render:
This popup UI also points to the following files:
Kick the gaffer exported sceneDescription.ass in Arnold-7.2.x
Command Used:
```
rez env --inherited python-3 arnold-7.2.5.2 mtoa-5.3.5.2 gaffer-1.3 bifrost-2.8.0.0 hyuu_compounds mjcg_compounds rebel_pack -- kick -dp -dw -v 6 -o D:\workspace\forums\gafferArnoldCrash\logs\kick_gafferArnoldCrash.log -i D:\workspace\forums\gafferArnoldCrash\asses\gafferArnoldCrash\gafferArnoldCrash.1001.ass >> D:\workspace\forums\gafferArnoldCrash\logs\kick_gafferArnoldCrash.log
```
"...\gafferArnoldCrash\logs\kick_gafferArnoldCrash.log"
Can you please look into this and help us with possible fixes?
Thanks,
Sudarshan
--
You received this message because you are subscribed to the Google Groups "gaffer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/8bf370f0-1b0d-4d88-8759-ae7ec3b5fef3n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/7e5f0008-5829-48ae-afcd-00ddc2ca4b43n%40googlegroups.com.
Hi Sachin,
Thanks for your response on this ticket, and sorry for the delay in getting back to you.
For now, wranglers are manually stoping the deadline job re-queue due to this error. But I will try to reproduce this issue on Linux and see what's going on under the hood.
Also, as shown in the command below, I've already tried the latest and bare minimum factory packages, but I still see the error at the end of the render logs.
I've reported this issue to Autodesk, and they forwarded it to the Arnold support team, and as you can see in my previous responses they suggested that the issue could be in Gaffer Python. I'm not sure how to validate that, but escalating this to the Bifrost team could be helpful. It would be greatly appreciated if you could assist with this.
I'll keep you updated on my progress.
Thanks,
Sudarshan
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/f5d99f1e-203c-4886-89c4-f8e69d8ee02dn%40googlegroups.com.
To answer your question, the .ass file I used contains a Maya cube scattered using Bifrost nodes, and there isn't any USD data in it. I'm not sure why those USD warnings appear, but I'll try exporting another .ass and .USD using the Bifrost sphere as you suggested and test it in the factory gaffer.bat with factory Arnold and Bifrost environments. Additionally, the log details you shared look similar to my interactive render (not batch) logs from the shared zip file, in case you want to verify.
Please let me know if there's anything else that needs to be tested.
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/8901c22e-146f-43b7-921a-50d97aee4be0n%40googlegroups.com.
We have confirmed that it works fine on Linux with the same packages I am using on Windows. You're right about the older versions; I already mentioned in my previous responses that compatible Bifrost .ass files work fine with older Arnold versions like Arnold-7.1.x. However, the crash starts occurring with Arnold-1.2.x and later versions, regardless of whether parallel_node_init is ON or OFF.
We are comparing libraries and will keep you posted if we notice anything suspicious. I've attached all logs for your reference.