MantaFlow (liquid fluids) Crash on Bake All #107539

Closed
opened 2023-05-02 14:34:08 +02:00 by zebus3d · 1 comment

System Information
Operating system: Linux-6.2.13-arch1-1-x86_64-with-glibc2.37 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 530.41.03

Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: 1be25cfff18b
Worked: (newest version of Blender that worked as expected)

Short description of error
I have two scenes that when I hit bake all in mantaflow it starts to bake but it gets to a point where it closes blender. Each scene gives a slightly different error output so I am including the two as they are quite similar and maybe it can give more clues as to what might be happening. I tried in OpenVDB and Uni Cache, but the result was the same.

MantaFlowCrash2.blend:

Writing: /tmp/MantaFlowCrash2.crash.txt:
Blender 3.5.0, Commit date: 2023-03-29 02:56, Hash 1be25cfff18b

backtrace

Python backtrace
  File "<string>", line 146 in liquid_step_5
  File "<string>", line 136 in liquid_adaptive_step_5
  File "<string>", line 164 in bake_fluid_process_data_5
  File "<string>", line 169 in bake_fluid_data_5
  File "<string>", line 1 in <module>

MantaFlowCrash.blend:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 169, in bake_fluid_data_6
  File "<string>", line 164, in bake_fluid_process_data_6
  File "<string>", line 136, in liquid_adaptive_step_6
  File "<string>", line 221, in liquid_step_6
RuntimeError: GridCg::iterate: The CG solver diverged, residual norm > 1e30, stopping.
Error raised in extern/mantaflow/preprocessed/conjugategrad.cpp:562
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 169, in bake_fluid_data_6
  File "<string>", line 164, in bake_fluid_process_data_6
  File "<string>", line 136, in liquid_adaptive_step_6
  File "<string>", line 221, in liquid_step_6
RuntimeError: GridCg::iterate: The CG solver diverged, residual norm > 1e30, stopping.
Error raised in extern/mantaflow/preprocessed/conjugategrad.cpp:562
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 169, in bake_fluid_data_6
  File "<string>", line 164, in bake_fluid_process_data_6
  File "<string>", line 136, in liquid_adaptive_step_6
  File "<string>", line 221, in liquid_step_6
RuntimeError: GridCg::iterate: The CG solver diverged, residual norm > 1e30, stopping.
Error raised in extern/mantaflow/preprocessed/conjugategrad.cpp:562
terminate called after throwing an instance of 'Manta::Error'
  what():  can't clean grid cache, some grids are still in use
Error raised in extern/mantaflow/preprocessed/fluidsolver.cpp:33

Exact steps for others to reproduce the error
To reproduce the error just open the scene and hit bake all in the mantaflow domain options.

**System Information** Operating system: Linux-6.2.13-arch1-1-x86_64-with-glibc2.37 64 Bits Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 530.41.03 **Blender Version** Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: `1be25cfff18b` Worked: (newest version of Blender that worked as expected) **Short description of error** I have two scenes that when I hit bake all in mantaflow it starts to bake but it gets to a point where it closes blender. Each scene gives a slightly different error output so I am including the two as they are quite similar and maybe it can give more clues as to what might be happening. I tried in OpenVDB and Uni Cache, but the result was the same. **MantaFlowCrash2.blend:** ``` Writing: /tmp/MantaFlowCrash2.crash.txt: Blender 3.5.0, Commit date: 2023-03-29 02:56, Hash 1be25cfff18b backtrace Python backtrace File "<string>", line 146 in liquid_step_5 File "<string>", line 136 in liquid_adaptive_step_5 File "<string>", line 164 in bake_fluid_process_data_5 File "<string>", line 169 in bake_fluid_data_5 File "<string>", line 1 in <module> ``` **MantaFlowCrash.blend:** ``` Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 169, in bake_fluid_data_6 File "<string>", line 164, in bake_fluid_process_data_6 File "<string>", line 136, in liquid_adaptive_step_6 File "<string>", line 221, in liquid_step_6 RuntimeError: GridCg::iterate: The CG solver diverged, residual norm > 1e30, stopping. Error raised in extern/mantaflow/preprocessed/conjugategrad.cpp:562 Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 169, in bake_fluid_data_6 File "<string>", line 164, in bake_fluid_process_data_6 File "<string>", line 136, in liquid_adaptive_step_6 File "<string>", line 221, in liquid_step_6 RuntimeError: GridCg::iterate: The CG solver diverged, residual norm > 1e30, stopping. Error raised in extern/mantaflow/preprocessed/conjugategrad.cpp:562 Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 169, in bake_fluid_data_6 File "<string>", line 164, in bake_fluid_process_data_6 File "<string>", line 136, in liquid_adaptive_step_6 File "<string>", line 221, in liquid_step_6 RuntimeError: GridCg::iterate: The CG solver diverged, residual norm > 1e30, stopping. Error raised in extern/mantaflow/preprocessed/conjugategrad.cpp:562 terminate called after throwing an instance of 'Manta::Error' what(): can't clean grid cache, some grids are still in use Error raised in extern/mantaflow/preprocessed/fluidsolver.cpp:33 ``` **Exact steps for others to reproduce the error** To reproduce the error just open the scene and hit bake all in the mantaflow domain options.
zebus3d added the
Severity
Normal
Status
Needs Triage
Type
Report
labels 2023-05-02 14:34:09 +02:00
zebus3d changed title from MantaFlow Crash on Bake All to MantaFlow (liquid fluids) Crash on Bake All 2023-05-02 14:39:16 +02:00
Member

Can confirm.

This is the same eror as in #87975 though, will merge reports.
Please subscribe in #87975 if you want further updates.
(note : in other merged reports, some workarounds were mentioned).

Can confirm. This is the same eror as in #87975 though, will merge reports. Please subscribe in #87975 if you want further updates. (note : in other merged reports, some workarounds were mentioned).
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-05-02 15:10:42 +02:00
Philipp Oeser added
Status
Duplicate
and removed
Status
Archived
labels 2023-05-02 15:10:52 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
2 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#107539
No description provided.