Bake fluid domain simulation crashes when using a depsgraph poll #89011

Open
opened 2021-06-09 23:05:34 +02:00 by Daniel Grauer · 13 comments
Member

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: 02948a2cab
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
    mantaflow.blend

  2. make sure the chace type is set to modular
    image.png

  3. run the simple operator script (should come with the blend file)
    operator_simple.py

  4. press the bake Data in the Fluid domain settings and blender should crash
    image.png

**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: `02948a2cab` 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 [mantaflow.blend](https://archive.blender.org/developer/F10166290/mantaflow.blend) 2. make sure the chace type is set to modular ![image.png](https://archive.blender.org/developer/F10164761/image.png) 3. run the simple operator script (should come with the blend file) [operator_simple.py](https://archive.blender.org/developer/F10164767/operator_simple.py) 4. press the bake Data in the Fluid domain settings and blender should crash ![image.png](https://archive.blender.org/developer/F10164763/image.png)
Author
Member

Added subscriber: @DanielGrauer

Added subscriber: @DanielGrauer

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

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?

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?
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

I can't reproduce either with these steps.

System Information

Graphics card : AMD Radeon(TM) 535 ATI Technologies .```
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 .```
Author
Member

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.

mantaflow.blend

operator_crash.py

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. [mantaflow.blend](https://archive.blender.org/developer/F10166290/mantaflow.blend) [operator_crash.py](https://archive.blender.org/developer/F10166281/operator_crash.py)

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

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

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

Added subscriber: @kursadk

Added subscriber: @kursadk
Member

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.

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.

Added subscriber: @dfelinto

Added subscriber: @dfelinto

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

Thanks for the report. Marking this as known issue since it depends on the [old particle settings which is end of life ](https://developer.blender.org/tag/nodes_physics/).
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:44:49 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#89011
No description provided.