Page MenuHome

Mantaflow crash: Baking data for domain type fluid on a plane.
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows 10
Graphics card: NVIDIA GTX 880

Blender Version
version: 2.83 (sub 4), 14856e149ff5c225ffe5a4022794cd12f7632f71

Short description of error
Baking data on Mantaflow plane.

Exact steps for others to reproduce the error
Creating Plane (shift + A), Scaling plane (S) Applying Fluid, Type- Domain, Domain Type Fluid and hitting Bake Data it closes the blende without any warning


Event Timeline

Correction: Graphics card: GTX 1080

I can reproduce both on 2.82 and 2.83.
Here is the file created when the crash happens:

i did give a plane a thickness by going on edit mode and extruding and it doesn't crash anymore maybe because simple plain has in computer world 0 thickness, I hope this helps to fix the issue.

first have extruded and it works
second is a simple plane and it crashes

Ankit Meel (ankitm) changed the task status from Needs Triage to Needs Information from User.Feb 24 2020, 3:30 PM

Could you add a simple blend file too? Thanks!

Could you add a simple blend file too? Thanks!

first have extruded and it works
second is a simple plane and it crashes

Ankit Meel (ankitm) renamed this task from Mantaflow to Mantaflow crash: Baking data for domain type fluid on a plane..EditedFeb 24 2020, 3:49 PM
Ankit Meel (ankitm) changed the task status from Needs Information from User to Confirmed.
Ankit Meel (ankitm) updated the task description. (Show Details)
Ankit Meel (ankitm) added a project: Physics.

mds->fluid (fluid*) is NULL in manta_step, thus in uploadfluidsflow, thus in manta_get_phi_in(MANTA *): and then in MANTA::getPhiIn:
added trace in the post ^.

Jacques Lucke (JacquesLucke) changed the subtype of this task from "Report" to "Bug".Mar 18 2020, 3:59 PM

mds->fluid is set to NULL in BKE_fluid_reallocate_fluid, because the min resolution is 0. However, the rest of the code cannot deal with the situation.

Also BKE_fluid_modifier_init returns a bool which probably indicates something like success. But the return value is never checked.