Maniphest T89011

Bake fluid domain simulation crashes when using a depsgraph poll
Confirmed, NormalKNOWN ISSUE

Assigned To
None
Authored By
dan grauer (kromar)
Jun 9 2021, 11:05 PM
Tags
  • BF Blender
  • Nodes & Physics
Subscribers
Dalai Felinto (dfelinto)
dan grauer (kromar)
kursad k (kursadk)
Pratik Borhade (PratikPB2123)
Richard Antalik (ISS)

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 462.59

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: rB02948a2cab44
Worked: (newest version of Blender that worked as expected)

Short description of error
When using bpy.context.evaluated_depsgraph_get() in a poll and then baking a fluid blender crashes

Exact steps for others to reproduce the error

  1. use the provided file with a fluid prepared to bake data or create a fluid domain and a fluid source

  1. make sure the chace type is set to modular

  1. run the simple operator script (should come with the blend file)

  1. press the bake Data in the Fluid domain settings and blender should crash

Event Timeline

dan grauer (kromar) created this task.Jun 9 2021, 11:05 PM
Richard Antalik (ISS) changed the task status from Needs Triage to Needs Information from User.Jun 10 2021, 5:52 PM
Richard Antalik (ISS) added a subscriber: Richard Antalik (ISS).

I wasn't able to reproduce in 2.92 or 3.0

Please check if this issue exists in latest alpha from https://builder.blender.org/download/daily/
If crash still happens, please run rile blender_debug_log.cmd, redo all steps, and after crash upload files that will be created.

I assume that in step 1 you don't bake domain yet, only in step 4 is that correct?

Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).Jun 10 2021, 6:05 PM

I can't reproduce either with these steps.

System Information

Operating system : Windows-10-10.0.18362-SP0 64 Bits
Graphics card : AMD Radeon(TM) 535 ATI Technologies .
dan grauer (kromar) added a comment.Jun 10 2021, 11:07 PM

i adjusted the script so it should resemble more what the addon is doing and should now cause the crash.
With this version all you need to do is load the blend file, run the script and blender should crash.

Richard Antalik (ISS) added a comment.Jun 14 2021, 12:40 AM

This did trigger assert in BKE_object_eval_assign_data, object_eval->runtime.data_eval wasn't NULL.

Richard Antalik (ISS) changed the task status from Needs Information from User to Confirmed.Jun 14 2021, 12:40 AM
Richard Antalik (ISS) updated the task description.
Richard Antalik (ISS) added a project: Nodes & Physics.
kursad k (kursadk) added a subscriber: kursad k (kursadk).Jun 16 2021, 8:15 PM

I can reproduce this issue with the Gob add-on ( which seems to use the mentioned depsgraph function) enabled. Disabling the add-on resolves the crash issue during bake.

Dalai Felinto (dfelinto) changed the subtype of this task from "Report" to "Known Issue".May 9 2022, 3:25 PM
Dalai Felinto (dfelinto) added a subscriber: Dalai Felinto (dfelinto).

Thanks for the report. Marking this as known issue since it depends on the old particle settings which is end of life.