Consistent crashes when baking Mantaflow simulations (EXCEPTION_ACCESS_VIOLATION)

Hi,

I am getting consistent crashes with baking the smoke/fire simulations which happens couple frames into the baking process. This seems to be somewhat related to some addons enabled / settings (given factory default does not crash when baking) but I am not able pinpoint the exact addon or the exact settings that might cause the problem. I am hoping someone might offer an insight looking into this log which I got with --debug-all flag. I am also wondering if there is a bug here.

[SCScene :: View Layer]: BKE_object_eval_uber_data on OBTestMesh (00000235FC356B38)
[SCScene :: View Layer]: BKE_object_handle_data_update on OBTestMesh (00000235FC356B38)
[SCScene :: View Layer]: BKE_mesh_eval_geometry on MECube (00000235A88560B8)
[SCScene :: View Layer]: BKE_object_data_select_update on MECube (00000235A88560B8)
[SCScene :: View Layer]: BKE_object_eval_ptcache_reset on OBDomain (00000235FC355D38)
[SCScene :: View Layer]: BKE_object_eval_uber_data on OBDomain (00000235FC355D38)
[SCScene :: View Layer]: BKE_object_handle_data_update on OBDomain (00000235FC355D38)
Depsgraph updated in 0.006344 seconds.
Depsgraph evaluation FPS: 0.406822
recalcob TestMesh
UI_menutype_draw: opening menu "TIME_MT_editor_menus"
UI_menutype_draw: opening menu "NODE_MT_editor_menus"
recalcob TestMesh
Depsgraph updated in 0.478054 seconds.
Depsgraph evaluation FPS: 0.406822
[SCScene :: View Layer]: Operation is entry point for update: GEOMETRY_EVAL()
[SCScene :: View Layer]: Operation is entry point for update: GEOMETRY_EVAL()
[SCScene :: View Layer]: Operation is entry point for update: DRIVER(modifiers["Fluid"].flow_settings.texture_offset)
[SCScene :: View Layer]: Accumulated recalc bits for OBDomain: 2
[SCScene :: View Layer]: Accumulated recalc bits for OBTestMesh: 4294967295
[SCScene :: View Layer]: BKE_animsys_eval_driver on OBTestMesh (00000235FC356B38) fcu modifiers["Fluid"].flow_settings.texture_offset[0] (00000235FC0D78B8)
[SCScene :: View Layer]: BKE_object_eval_uber_data on OBTestMesh (00000235FC356B38)
[SCScene :: View Layer]: BKE_object_handle_data_update on OBTestMesh (00000235FC356B38)
[SCScene :: View Layer]: BKE_object_eval_uber_data on OBDomain (00000235FC355D38)
[SCScene :: View Layer]: BKE_object_handle_data_update on OBDomain (00000235FC355D38)
recalcob TestMesh
UI_menutype_draw: opening menu "TOPBAR_MT_editor_menus"
[SCScene :: View Layer]: Operation is entry point for update: GEOMETRY_EVAL()
[SCScene :: View Layer]: Operation is entry point for update: GEOMETRY_EVAL()
[SCScene :: View Layer]: Operation is entry point for update: DRIVER(modifiers["Fluid"].flow_settings.texture_offset)
[SCScene :: View Layer]: Accumulated recalc bits for OBDomain: 2
[SCScene :: View Layer]: Accumulated recalc bits for OBTestMesh: 4294967295
[SCScene :: View Layer]: BKE_animsys_eval_driver on OBTestMesh (00000235FC356B38) fcu modifiers["Fluid"].flow_settings.texture_offset[0] (00000235FC0D78B8)
[SCScene :: View Layer]: BKE_object_eval_uber_data on OBTestMesh (00000235FC356B38)
[SCScene :: View Layer]: BKE_object_handle_data_update on OBTestMesh (00000235FC356B38)
Error   : EXCEPTION_ACCESS_VIOLATION
[SCScene :: View Layer]: BKE_object_eval_uber_data on OBDomain (00000235FC355D38)Address : 0x00007FF7A29B4FC7

[SCScene :: View Layer]: BKE_object_handle_data_update on OBDomain (00000235FC355D38)Module  : blender.exe

Thread  : 0000544c
Writing: P:\temp\delete.crash.txt
Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF7A29B4FC7
Module  : blender.exe
Thread  : 000005ec
Writing: P:\temp\delete.crash.txt
Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF7A29B4FC7
Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF7A29B4FC7
Module  : blender.exe
Thread  : 00003d80
Module  : blender.exeWriting: P:\temp\delete.crash.txt

Thread  : 000055f0
Writing: P:\temp\delete.crash.txtError   : EXCEPTION_ACCESS_VIOLATION

Address : 0x00007FF7A29AC802
Module  : blender.exe
Thread  : 00004a50
Writing: P:\temp\delete.crash.txt
Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF7A29B4FC7
Module  : blender.exe
Thread  : 00001390

Here is the actual written crash log.

delete.crash.txt (48 KB)

Hi @kurk , devtalk is basically for development related discussion. I would suggest you to submit a report on tracker: https://developer.blender.org

I did one for for the particles bake crashing but I think it is the same issue because the crash happens with baking. The tester could not repeat it. I am just trying to gather more insight into this, given this can be a development related issue.

Can you please attach the link of that ticket?

https://developer.blender.org/T88757

1 Like

i see there is some output on the depsgraph performance in your log and i have a depsgraph poll in the GoB addon that currently causes a crash when baking fluids. So maybe you have some addon that does something similar which then causes the crash.
my bug report is over here> ⚓ T89011 Bake fluid domain simulation crashes when using a depsgraph poll

maybe you can try to disable the addons and see if that solves the issue and if so track down the one that causes it.

1 Like

I actually have GoB installed. I will try disabling it. That was the kind of information I was looking for here.

maybe you can try to disable the addons and see if that solves the issue and if so track down the one that causes it.

Blender does not crash with the factory defaults or when all the add-ons are disabled.

edit:

I can confirm that having the GoB addon enabled crashes Blender during bakes. I do not get crashes with baking simulations when I disable the add-on.

1 Like