Page MenuHome

--background crash when rendering objects that reference data outside active scene
Open, Needs Triage by DeveloperPublic

Description

System Information
Operating system: Windows 10
Graphics card: GeForce GTX 1070

Blender Version
Broken: 2.80.75

Short description of error
Blender --background execution with a script that bakes a scene that has objects with (some?) modifiers will crash with 'EXCEPTION_ACCESS_VIOLATION'. Baking the same scene in interactive mode with same settings works without issue.

Exact steps for others to reproduce the error
I'm no longer sure exactly how this can be reproduced as it seems to be an interaction between two objects. Removing/apply modifiers causes the problem to go away however. I am attaching a very simple scene that demonstrates the crash and a basic script that will try to bake the scene.

Run blender on the command line with: crash1.blend --background --python crash.py


Details

Type
Bug

Event Timeline

Germano Cavalcante (mano-wii) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Tue, Oct 22, 4:42 PM

Could you provide a simple blend file demonstrating the problem?

Yes.

Actually while trying to generate the most simple example, I am no longer sure what actually causes the problem. It has something to do with modifiers, because applying all of them fixes it. But no single modifier seems to be the cause.

I will edit the report and attach a file that causes the error along with a basic script to run it (since it only happens in background mode).

Netherby (netherby) raised the priority of this task from Needs Information from User to Needs Triage by Developer.Wed, Oct 30, 3:33 AM

My guess is that it's a baking operator which is not using correct object.
This is area where Dalai is the most familiar person.