Maniphest T63603

Blender crashing while rendering scene with linked rigs
Closed, Resolved

Assigned To
Sebastian Parborg (zeddb)
Authored By
AC (AC_3D)
Apr 14 2019, 8:31 PM
Tags
  • BF Blender
Subscribers
AC (AC_3D)
Brecht Van Lommel (brecht)
Jonathan Romer (AnsettAnimation)
Philipp Oeser (lichtwerk)
Robert Guetzkow (rjg)
Sebastian Parborg (zeddb)

Description

System Information
Win 10 Pro
32GB RAM
3 SSDs
2x Xeon 2690 v2 (20cores @3GHz)
RTX 2080 ti

Blender Version
Broken: (blender-2.80-009dbc2bc9fb)
Worked: (2.79.7)

I'm working on an animation with a linked scene and two linked rigs. It will run/render fine in 2.79.7 but in 2.8 when I render image about 30 seconds will pass while syncing then blender crashes(disappears). My memory appears to be well in acceptable range when this happens. I ran debug log while this happened I attached the two log files the crash produced.

Last line was in log was: Error : EXCEPTION_ACCESS_VIOLATION

Doesn't matter if I render CPU only, GPU only or both (I'm using supported feature set)

I have this same file in production in 2.79.7 with no issues I figured I'll try 2.8 to see if I could improve render time in cycles.

Event Timeline

AC (AC_3D) created this task.Apr 14 2019, 8:31 PM
Robert Guetzkow (rjg) added a subscriber: Robert Guetzkow (rjg).Apr 14 2019, 11:40 PM

Can you share a minimal .blend file where this error occurs?

Robert Guetzkow (rjg) added a comment.Apr 14 2019, 11:55 PM

Looks like this might be the same issue as T63582

AC (AC_3D) added a comment.Apr 15 2019, 12:34 AM
In T63603#660669, @Robert Guetzkow (rjg) wrote:

Can you share a minimal .blend file where this error occurs?

Unfortunately this is a full blown production file and I'm not sure how to reproduce the issue simply. I was hoping the logs could shine some light on it. If I can find a way to reproduce it simply I will post it.

In T63603#660674, @Robert Guetzkow (rjg) wrote:

Looks like this might be the same issue as T63582

Not sure this is the same issue. Specifically, my issue hangs/freezes upon "synchronizing linked objects" after clicking render image via cycles. The render time freezes at 4 seconds then crashes 30 seconds later before any pixels are rendered.

Jonathan Romer (AnsettAnimation) mentioned this in T63582: 2.79 Modified Rigs to 2.80 Crash To Desktop.Apr 15 2019, 2:22 AM
Jonathan Romer (AnsettAnimation) added a subscriber: Jonathan Romer (AnsettAnimation).
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).Apr 15 2019, 10:49 AM

Got some dependency cycles reported here:

Dependency cycle detected:

'OBRig_Sam_proxy.POSE_INIT_IK()' depends on 'OBRig_Sam_proxy.Bone.ForeArm.L.1.BONE_LOCAL()' through 'IK Constraint -> Init IK Tree'
'OBRig_Sam_proxy.Bone.ForeArm.L.1.BONE_LOCAL()' depends on 'OBRig_Sam_proxy.DRIVER(pose.bones["Bone.ForeArm.L.1"].constraints["IK"].influence)' through 'Driver -> Driven Property'
'OBRig_Sam_proxy.DRIVER(pose.bones["Bone.ForeArm.L.1"].constraints["IK"].influence)' depends on 'OBRig_Sam_proxy.Driver IK Switch.BONE_DONE()' through 'Bone Target -> Driver'
'OBRig_Sam_proxy.Driver IK Switch.BONE_DONE()' depends on 'OBRig_Sam_proxy.Driver IK Switch.BONE_READY()' through 'Ready -> Done'
'OBRig_Sam_proxy.Driver IK Switch.BONE_READY()' depends on 'OBRig_Sam_proxy.Driver IK Switch.BONE_CONSTRAINTS()' through 'Constraints -> Ready'
'OBRig_Sam_proxy.Driver IK Switch.BONE_CONSTRAINTS()' depends on 'OBRig_Sam_proxy.Driver IK Switch.BONE_POSE_PARENT()' through 'Pose -> Constraints Stack'
'OBRig_Sam_proxy.Driver IK Switch.BONE_POSE_PARENT()' depends on 'OBRig_Sam_proxy.Driver IK Label.BONE_DONE()' through 'Parent Bone -> Child Bone'
'OBRig_Sam_proxy.Driver IK Label.BONE_DONE()' depends on 'OBRig_Sam_proxy.Driver IK Label.BONE_READY()' through 'Ready -> Done'
'OBRig_Sam_proxy.Driver IK Label.BONE_READY()' depends on 'OBRig_Sam_proxy.Driver IK Label.BONE_POSE_PARENT()' through 'Pose -> Ready'
'OBRig_Sam_proxy.Driver IK Label.BONE_POSE_PARENT()' depends on 'OBRig_Sam_proxy.Bone.UpperArm.L.BONE_DONE()' through 'Parent Bone -> Child Bone'
'OBRig_Sam_proxy.Bone.UpperArm.L.BONE_DONE()' depends on 'OBRig_Sam_proxy.POSE_IK_SOLVER()' through 'IK Chain Result'
'OBRig_Sam_proxy.POSE_IK_SOLVER()' depends on 'OBRig_Sam_proxy.POSE_INIT_IK()' through 'Init IK -> IK Solver'

Dependency cycle detected:

'OBRig_Sam_proxy.POSE_IK_SOLVER()' depends on 'OBRig_Sam_proxy.Bone.ForeArm.L.1.BONE_READY()' through 'IK Solver Owner'
'OBRig_Sam_proxy.Bone.ForeArm.L.1.BONE_READY()' depends on 'OBRig_Sam_proxy.Bone.ForeArm.L.1.BONE_CONSTRAINTS()' through 'Constraints -> Ready'
'OBRig_Sam_proxy.Bone.ForeArm.L.1.BONE_CONSTRAINTS()' depends on 'OBRig_Sam_proxy.Bone.ForeArm.L.1.BONE_POSE_PARENT()' through 'Pose -> Constraints Stack'
'OBRig_Sam_proxy.Bone.ForeArm.L.1.BONE_POSE_PARENT()' depends on 'OBRig_Sam_proxy.Bone.ForeArm.L.1.BONE_LOCAL()' through 'Bone Local - Bone Pose'
'OBRig_Sam_proxy.Bone.ForeArm.L.1.BONE_LOCAL()' depends on 'OBRig_Sam_proxy.DRIVER(pose.bones["Bone.ForeArm.L.1"].constraints["IK"].influence)' through 'Driver -> Driven Property'
'OBRig_Sam_proxy.DRIVER(pose.bones["Bone.ForeArm.L.1"].constraints["IK"].influence)' depends on 'OBRig_Sam_proxy.Driver IK Switch.BONE_DONE()' through 'Bone Target -> Driver'
'OBRig_Sam_proxy.Driver IK Switch.BONE_DONE()' depends on 'OBRig_Sam_proxy.Driver IK Switch.BONE_READY()' through 'Ready -> Done'
'OBRig_Sam_proxy.Driver IK Switch.BONE_READY()' depends on 'OBRig_Sam_proxy.Driver IK Switch.BONE_CONSTRAINTS()' through 'Constraints -> Ready'
'OBRig_Sam_proxy.Driver IK Switch.BONE_CONSTRAINTS()' depends on 'OBRig_Sam_proxy.Driver IK Switch.BONE_POSE_PARENT()' through 'Pose -> Constraints Stack'
'OBRig_Sam_proxy.Driver IK Switch.BONE_POSE_PARENT()' depends on 'OBRig_Sam_proxy.Driver IK Label.BONE_DONE()' through 'Parent Bone -> Child Bone'
'OBRig_Sam_proxy.Driver IK Label.BONE_DONE()' depends on 'OBRig_Sam_proxy.Driver IK Label.BONE_READY()' through 'Ready -> Done'
'OBRig_Sam_proxy.Driver IK Label.BONE_READY()' depends on 'OBRig_Sam_proxy.Driver IK Label.BONE_POSE_PARENT()' through 'Pose -> Ready'
'OBRig_Sam_proxy.Driver IK Label.BONE_POSE_PARENT()' depends on 'OBRig_Sam_proxy.Bone.UpperArm.L.BONE_DONE()' through 'Parent Bone -> Child Bone'
'OBRig_Sam_proxy.Bone.UpperArm.L.BONE_DONE()' depends on 'OBRig_Sam_proxy.POSE_IK_SOLVER()' through 'IK Chain Result'

Dependency cycle detected:

'OBRig_Sam_proxy.POSE_INIT_IK()' depends on 'OBRig_Sam_proxy.Bone.ForeArm.R.1.BONE_LOCAL()' through 'IK Constraint -> Init IK Tree'
'OBRig_Sam_proxy.Bone.ForeArm.R.1.BONE_LOCAL()' depends on 'OBRig_Sam_proxy.DRIVER(pose.bones["Bone.ForeArm.R.1"].constraints["IK"].influence)' through 'Driver -> Driven Property'
'OBRig_Sam_proxy.DRIVER(pose.bones["Bone.ForeArm.R.1"].constraints["IK"].influence)' depends on 'OBRig_Sam_proxy.Driver IK Switch.BONE_DONE()' through 'Bone Target -> Driver'
'OBRig_Sam_proxy.Driver IK Switch.BONE_DONE()' depends on 'OBRig_Sam_proxy.Driver IK Switch.BONE_READY()' through 'Ready -> Done'
'OBRig_Sam_proxy.Driver IK Switch.BONE_READY()' depends on 'OBRig_Sam_proxy.Driver IK Switch.BONE_CONSTRAINTS()' through 'Constraints -> Ready'
'OBRig_Sam_proxy.Driver IK Switch.BONE_CONSTRAINTS()' depends on 'OBRig_Sam_proxy.Driver IK Switch.BONE_POSE_PARENT()' through 'Pose -> Constraints Stack'
'OBRig_Sam_proxy.Driver IK Switch.BONE_POSE_PARENT()' depends on 'OBRig_Sam_proxy.Driver IK Label.BONE_DONE()' through 'Parent Bone -> Child Bone'
'OBRig_Sam_proxy.Driver IK Label.BONE_DONE()' depends on 'OBRig_Sam_proxy.Driver IK Label.BONE_READY()' through 'Ready -> Done'
'OBRig_Sam_proxy.Driver IK Label.BONE_READY()' depends on 'OBRig_Sam_proxy.Driver IK Label.BONE_POSE_PARENT()' through 'Pose -> Ready'
'OBRig_Sam_proxy.Driver IK Label.BONE_POSE_PARENT()' depends on 'OBRig_Sam_proxy.Bone.UpperArm.L.BONE_DONE()' through 'Parent Bone -> Child Bone'
'OBRig_Sam_proxy.Bone.UpperArm.L.BONE_DONE()' depends on 'OBRig_Sam_proxy.POSE_IK_SOLVER()' through 'IK Chain Result'
'OBRig_Sam_proxy.POSE_IK_SOLVER()' depends on 'OBRig_Sam_proxy.POSE_INIT_IK()' through 'Init IK -> IK Solver'

Detected 3 dependency cycles

Brecht Van Lommel (brecht) lowered the priority of this task from 90 to 30.Apr 15 2019, 11:43 PM
Brecht Van Lommel (brecht) added a subscriber: Brecht Van Lommel (brecht).

We can't investigate this without a .blend file, the backtraces do not provide enough information.

AC (AC_3D) added a comment.Apr 18 2019, 9:25 PM

I was able to reproduce the problem with a simple .blend file, it has to do with the subsurf being set higher than I needed (render=5) for an object in my scene. If I reduce the "render subsurf" it will render fine in 2.8. However keeping the render subsurf set to 5, it will render fine in 2.79.7 but crashes for me in 2.8 as described in my original post.

Brecht Van Lommel (brecht) raised the priority of this task from 30 to 90.Apr 30 2019, 1:23 PM
Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 30.May 2 2019, 10:31 AM
Sebastian Parborg (zeddb) added a subscriber: Sebastian Parborg (zeddb).

Does this still happen for you with the latest blender beta? I don't seem to get any crashes when rendering with a subsurf level of 5.

Sebastian Parborg (zeddb) raised the priority of this task from 30 to Normal.May 2 2019, 11:28 AM
Sebastian Parborg (zeddb) triaged this task as 30 priority.

gah, wrong ticket.

AC (AC_3D) added a comment.May 2 2019, 10:14 PM

I can confirm this does render with the latest version. Thanks!

Sebastian Parborg (zeddb) changed the task status from Unknown Status to Resolved.May 2 2019, 10:32 PM
Sebastian Parborg (zeddb) claimed this task.