Blender 2.92.0 crashes when baking steam simulation #87063

Open
opened 2021-03-30 22:22:54 +02:00 by Björn · 4 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.92
CPU: Intel Core i7-8700K
Memory: 32 GB

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: 02948a2cab
Worked: I have not tried any other version than 2.92.0 (sorry)

Short description of error
I tried to make a simple steam simulation following the steps described here: https://www.youtube.com/watch?v=_K0XsHht6pg. It crashed while baking, and tried to simplify the setup with a minimal set of objects, and it still crashes after baking about 30-50% of the 300 frames.

Exact steps for others to reproduce the error
Follow the steps as described in the video https://www.youtube.com/watch?v=_K0XsHht6pg

Attached is .blend file that I tried to make as simple as possible: steam.blend

  • Open the attached file
  • Press "Bake Data" for Physics Properties for the cube
  • Blender crashes after 30%-50% of baking

I have not tried a newer experimental release or an older release.

I was able to reproduce the issue with the default 32 Resolution Divisions (which is way faster to reproduce than the 160 in the included file). I then tried experimenting which exact setting caused the crash. I got it to crash with Adaptive Domain disabled, and Gas Heat 1.5 and Dissolve Time 30, but now I'm not able to reproduce anymore with any setting (at least with 32 Resolution Divisions).

After some more experimenting, it seems it randomly crashes and sometimes works. It is definitely reproducible with 32 Resolution Divisions. I kept all settings as I had before, which had worked successfully, but then changed the Time Scale to 0.8, and then it crashed again when baking. However, it had previously crashed at least once with the exact same settings with which I had also successfully baked (and the Time Scale at the default 1.0), so it is not the Time Scale that is causing the issue.

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.92 CPU: Intel Core i7-8700K Memory: 32 GB **Blender Version** Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `02948a2cab` Worked: I have not tried any other version than 2.92.0 (sorry) **Short description of error** I tried to make a simple steam simulation following the steps described here: https://www.youtube.com/watch?v=_K0XsHht6pg. It crashed while baking, and tried to simplify the setup with a minimal set of objects, and it still crashes after baking about 30-50% of the 300 frames. **Exact steps for others to reproduce the error** Follow the steps as described in the video https://www.youtube.com/watch?v=_K0XsHht6pg Attached is .blend file that I tried to make as simple as possible: [steam.blend](https://archive.blender.org/developer/F9914949/steam.blend) - Open the attached file - Press "Bake Data" for Physics Properties for the cube - Blender crashes after 30%-50% of baking I have not tried a newer experimental release or an older release. I was able to reproduce the issue with the default 32 Resolution Divisions (which is way faster to reproduce than the 160 in the included file). I then tried experimenting which exact setting caused the crash. I got it to crash with Adaptive Domain disabled, and Gas Heat 1.5 and Dissolve Time 30, but now I'm not able to reproduce anymore with any setting (at least with 32 Resolution Divisions). After some more experimenting, it seems it randomly crashes and sometimes works. It is definitely reproducible with 32 Resolution Divisions. I kept all settings as I had before, which had worked successfully, but then changed the Time Scale to 0.8, and then it crashed again when baking. However, it had previously crashed at least once with the exact same settings with which I had also successfully baked (and the Time Scale at the default 1.0), so it is not the Time Scale that is causing the issue.
Author

Added subscriber: @Otso

Added subscriber: @Otso

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I can confirm a consistent crash at 30%:

 	ntdll.dll!00007ffe5bf91afc()	Unknown
 	ntdll.dll!00007ffe5bf938e3()	Unknown
 	ntdll.dll!00007ffe5bf936bd()	Unknown
 	ucrtbase.dll!00007ffe59c01699()	Unknown
 	[Inline Frame] python39.dll!PyMem_RawRealloc(void *) Line 590	C
 	python39.dll!_PyObject_Realloc(void * ctx, void * ptr, unsigned __int64 nbytes) Line 2011	C
 	[Inline Frame] python39.dll!PyMem_Realloc(void *) Line 623	C
 	python39.dll!list_resize(PyListObject * self, __int64 newsize) Line 73	C
 	python39.dll!app1(PyListObject * self, _object * v) Line 304	C
 	[Inline Frame] python39.dll!PyList_Append(_object * op, _object *) Line 316	C
 	python39.dll!PyArena_AddPyObject(_arena * arena, _object * obj) Line 205	C
 	python39.dll!make_str_node_and_del(Parser * p, _object * * str, Token * first_token, Token * last_token) Line 1039	C
 	python39.dll!_PyPegen_FstringParser_Finish(Parser * p, FstringParser * state, Token * first_token, Token * last_token) Line 1193	C
 	python39.dll!_PyPegen_concatenate_strings(Parser * p, asdl_seq * strings) Line 2098	C
 	[Inline Frame] python39.dll!strings_rule(Parser *) Line 11032	C
 	python39.dll!atom_rule(Parser * p) Line 10872	C
 	python39.dll!t_primary_raw(Parser * p) Line 14268	C
 	python39.dll!t_primary_rule(Parser * p) Line 14062	C
 	python39.dll!target_with_star_atom_rule(Parser * p) Line 13050	C
 	python39.dll!star_target_rule(Parser * p) Line 12990	C
 	python39.dll!star_targets_rule(Parser * p) Line 12739	C
 	[Inline Frame] python39.dll!_tmp_138_rule(Parser *) Line 24078	C
 	python39.dll!_loop1_22_rule(Parser * p) Line 17019	C
 	python39.dll!assignment_rule(Parser * p) Line 2152	C
 	python39.dll!small_stmt_rule(Parser * p) Line 1539	C
 	python39.dll!simple_stmt_rule(Parser * p) Line 1440	C
 	[Inline Frame] python39.dll!statement_rule(Parser *) Line 1271	C
 	python39.dll!_loop1_11_rule(Parser * p) Line 16386	C
 	python39.dll!statements_rule(Parser * p) Line 1206	C
 	[Inline Frame] python39.dll!file_rule(Parser *) Line 740	C
 	python39.dll!_PyPegen_parse(Parser * p) Line 25007	C
 	python39.dll!_PyPegen_run_parser(Parser * p) Line 1121	C
 	[Inline Frame] python39.dll!_PyPegen_run_parser_from_string(const char *) Line 1250	C
 	python39.dll!PyPegen_ASTFromStringObject(const char * str, _object * filename, int mode, PyCompilerFlags * flags, _arena * arena) Line 27	C
 	python39.dll!PyRun_StringFlags(const char * str, int start, _object * globals, _object * locals, PyCompilerFlags * flags) Line 1099	C
>	blender.exe!MANTA::runPythonString(std::vector<std::string,std::allocator<std::string>> commands) Line 612	C++

 	blender.exe!MANTA::initDomain(FluidModifierData * fmd) Line 305	C++
 	blender.exe!MANTA::MANTA(int * res, FluidModifierData * fmd) Line 245	C++
 	blender.exe!BKE_fluid_reallocate_fluid(FluidDomainSettings * fds, int * res, int free_old) Line 130	C
 	blender.exe!BKE_fluid_modifier_processDomain(FluidModifierData * fmd, Depsgraph * depsgraph, Scene * scene, Object * ob, Mesh * me, const int scene_framenr) Line 4061	C
 	blender.exe!BKE_fluid_modifier_process(FluidModifierData * fmd, Depsgraph * depsgraph, Scene * scene, Object * ob, Mesh * me) Line 4162	C
 	blender.exe!BKE_fluid_modifier_do(FluidModifierData * fmd, Depsgraph * depsgraph, Scene * scene, Object * ob, Mesh * me) Line 4180	C
 	blender.exe!modifyMesh(ModifierData * md, const ModifierEvalContext * ctx, Mesh * me) Line 131	C
 	blender.exe!modifier_modify_mesh_and_geometry_set(ModifierData * md, const ModifierEvalContext & mectx, Mesh * input_mesh, GeometrySet & geometry_set) Line 930	C++
 	blender.exe!mesh_calc_modifiers(Depsgraph * depsgraph, Scene * scene, Object * ob, int useDeform, const bool need_mapping, const CustomData_MeshMasks * dataMask, const int index, const bool use_cache, const bool allow_shared_mesh, Mesh * * r_deform, Mesh * * r_final, GeometrySet * * r_geometry_set) Line 1304	C++
 	blender.exe!mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping) Line 1941	C++
 	blender.exe!makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask) Line 2072	C++
 	blender.exe!BKE_object_handle_data_update(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 197	C
 	blender.exe!BKE_object_eval_uber_data(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 382	C
 	[Inline Frame] blender.exe!std::_Func_class<void,Depsgraph *>::operator()(Depsgraph * <_Args_0>) Line 986	C++
 	blender.exe!blender::deg::`anonymous namespace'::evaluate_node(const blender::deg::`anonymous-namespace'::DepsgraphEvalState * state, blender::deg::OperationNode * operation_node) Line 115	C++
 	blender.exe!blender::deg::`anonymous namespace'::deg_task_run_func(TaskPool * pool, void * taskdata) Line 127	C++
 	[External Code]	
 	blender.exe!tbb::interface7::internal::isolate_impl<void,<lambda_4c4e9cab0012cf46ce574e5cf4859202> const>(const Task::()::__l2::<lambda_4c4e9cab0012cf46ce574e5cf4859202> & f) Line 216	C++
 	[Inline Frame] blender.exe!Task::operator()() Line 118	C++
 	blender.exe!tbb::internal::function_task<Task>::execute() Line 1060	C++
 	[External Code]	
I can confirm a consistent crash at 30%: ```lines=15 ntdll.dll!00007ffe5bf91afc() Unknown ntdll.dll!00007ffe5bf938e3() Unknown ntdll.dll!00007ffe5bf936bd() Unknown ucrtbase.dll!00007ffe59c01699() Unknown [Inline Frame] python39.dll!PyMem_RawRealloc(void *) Line 590 C python39.dll!_PyObject_Realloc(void * ctx, void * ptr, unsigned __int64 nbytes) Line 2011 C [Inline Frame] python39.dll!PyMem_Realloc(void *) Line 623 C python39.dll!list_resize(PyListObject * self, __int64 newsize) Line 73 C python39.dll!app1(PyListObject * self, _object * v) Line 304 C [Inline Frame] python39.dll!PyList_Append(_object * op, _object *) Line 316 C python39.dll!PyArena_AddPyObject(_arena * arena, _object * obj) Line 205 C python39.dll!make_str_node_and_del(Parser * p, _object * * str, Token * first_token, Token * last_token) Line 1039 C python39.dll!_PyPegen_FstringParser_Finish(Parser * p, FstringParser * state, Token * first_token, Token * last_token) Line 1193 C python39.dll!_PyPegen_concatenate_strings(Parser * p, asdl_seq * strings) Line 2098 C [Inline Frame] python39.dll!strings_rule(Parser *) Line 11032 C python39.dll!atom_rule(Parser * p) Line 10872 C python39.dll!t_primary_raw(Parser * p) Line 14268 C python39.dll!t_primary_rule(Parser * p) Line 14062 C python39.dll!target_with_star_atom_rule(Parser * p) Line 13050 C python39.dll!star_target_rule(Parser * p) Line 12990 C python39.dll!star_targets_rule(Parser * p) Line 12739 C [Inline Frame] python39.dll!_tmp_138_rule(Parser *) Line 24078 C python39.dll!_loop1_22_rule(Parser * p) Line 17019 C python39.dll!assignment_rule(Parser * p) Line 2152 C python39.dll!small_stmt_rule(Parser * p) Line 1539 C python39.dll!simple_stmt_rule(Parser * p) Line 1440 C [Inline Frame] python39.dll!statement_rule(Parser *) Line 1271 C python39.dll!_loop1_11_rule(Parser * p) Line 16386 C python39.dll!statements_rule(Parser * p) Line 1206 C [Inline Frame] python39.dll!file_rule(Parser *) Line 740 C python39.dll!_PyPegen_parse(Parser * p) Line 25007 C python39.dll!_PyPegen_run_parser(Parser * p) Line 1121 C [Inline Frame] python39.dll!_PyPegen_run_parser_from_string(const char *) Line 1250 C python39.dll!PyPegen_ASTFromStringObject(const char * str, _object * filename, int mode, PyCompilerFlags * flags, _arena * arena) Line 27 C python39.dll!PyRun_StringFlags(const char * str, int start, _object * globals, _object * locals, PyCompilerFlags * flags) Line 1099 C > blender.exe!MANTA::runPythonString(std::vector<std::string,std::allocator<std::string>> commands) Line 612 C++ blender.exe!MANTA::initDomain(FluidModifierData * fmd) Line 305 C++ blender.exe!MANTA::MANTA(int * res, FluidModifierData * fmd) Line 245 C++ blender.exe!BKE_fluid_reallocate_fluid(FluidDomainSettings * fds, int * res, int free_old) Line 130 C blender.exe!BKE_fluid_modifier_processDomain(FluidModifierData * fmd, Depsgraph * depsgraph, Scene * scene, Object * ob, Mesh * me, const int scene_framenr) Line 4061 C blender.exe!BKE_fluid_modifier_process(FluidModifierData * fmd, Depsgraph * depsgraph, Scene * scene, Object * ob, Mesh * me) Line 4162 C blender.exe!BKE_fluid_modifier_do(FluidModifierData * fmd, Depsgraph * depsgraph, Scene * scene, Object * ob, Mesh * me) Line 4180 C blender.exe!modifyMesh(ModifierData * md, const ModifierEvalContext * ctx, Mesh * me) Line 131 C blender.exe!modifier_modify_mesh_and_geometry_set(ModifierData * md, const ModifierEvalContext & mectx, Mesh * input_mesh, GeometrySet & geometry_set) Line 930 C++ blender.exe!mesh_calc_modifiers(Depsgraph * depsgraph, Scene * scene, Object * ob, int useDeform, const bool need_mapping, const CustomData_MeshMasks * dataMask, const int index, const bool use_cache, const bool allow_shared_mesh, Mesh * * r_deform, Mesh * * r_final, GeometrySet * * r_geometry_set) Line 1304 C++ blender.exe!mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping) Line 1941 C++ blender.exe!makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask) Line 2072 C++ blender.exe!BKE_object_handle_data_update(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 197 C blender.exe!BKE_object_eval_uber_data(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 382 C [Inline Frame] blender.exe!std::_Func_class<void,Depsgraph *>::operator()(Depsgraph * <_Args_0>) Line 986 C++ blender.exe!blender::deg::`anonymous namespace'::evaluate_node(const blender::deg::`anonymous-namespace'::DepsgraphEvalState * state, blender::deg::OperationNode * operation_node) Line 115 C++ blender.exe!blender::deg::`anonymous namespace'::deg_task_run_func(TaskPool * pool, void * taskdata) Line 127 C++ [External Code] blender.exe!tbb::interface7::internal::isolate_impl<void,<lambda_4c4e9cab0012cf46ce574e5cf4859202> const>(const Task::()::__l2::<lambda_4c4e9cab0012cf46ce574e5cf4859202> & f) Line 216 C++ [Inline Frame] blender.exe!Task::operator()() Line 118 C++ blender.exe!tbb::internal::function_task<Task>::execute() Line 1060 C++ [External Code] ```
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:45:00 +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
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#87063
No description provided.