Page MenuHome

Smoke simulation crash Blender
Closed, ResolvedPublic


System Information

Blender Version

Short description of error
Blender crash during smoke simulation

Exact steps for others to reproduce the error

  1. Open

  1. Play
  2. Crash



Event Timeline

Philipp Oeser (lichtwerk) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.

Crash confirmed

==11120==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000027c (pc 0x000004046595 bp 0x7f9b4bf04670 sp 0x7f9b4bf04650 T18)
==11120==The signal is caused by a READ memory access.
==11120==Hint: address points to the zero page.
    #0 0x4046594 in sub_v3_v3v3 /blender/source/blender/blenlib/intern/math_vector_inline.c:381
    #1 0x405fa9c in emit_from_derivedmesh /blender/source/blender/blenkernel/intern/smoke.c:1710
    #2 0x4067f24 in update_flowsfluids /blender/source/blender/blenkernel/intern/smoke.c:2218
    #3 0x4070458 in step /blender/blenkernel/intern/smoke.c:2631
    #4 0x4073a05 in smokeModifier_process /blender/source/blender/blenkernel/intern/smoke.c:2849
    #5 0x4073d36 in smokeModifier_do /blender/source/blender/blenkernel/intern/smoke.c:2876
    #6 0x31c35d5 in applyModifier /blender/source/blender/modifiers/intern/MOD_smoke.c:113
    #7 0x3e4f1b2 in modwrap_applyModifier /blender/source/blender/blenkernel/intern/modifier.c:804
    #8 0x3a7d5f0 in mesh_calc_modifiers /blender/source/blender/blenkernel/intern/DerivedMesh.c:2082
    #9 0x3a82279 in mesh_build_data /blender/source/blender/blenkernel/intern/DerivedMesh.c:2653
    #10 0x3a82d58 in makeDerivedMesh /blender/source/blender/blenkernel/intern/DerivedMesh.c:2750
    #11 0x3ed8369 in BKE_object_handle_data_update /blender/source/blender/blenkernel/intern/object_update.c:183
    #12 0x3ebbf62 in BKE_object_handle_update_ex /blender/source/blender/blenkernel/intern/object.c:2660
    #13 0x3fc5b4a in scene_update_object_func /blender/source/blender/blenkernel/intern/scene.c:1562
    #14 0x48e4a81 in task_scheduler_thread_run /blender/source/blender/blenlib/intern/task.c:441

AddressSanitizer can not provide additional info.

maybe @Sergey Sharybin (sergey) can pick this up after CodeQuest?

It looks that problem is only with more Smoke Domains. If I have only one, it works good. So my workaround is disable all smoke domain except one and bake it one by one. If it helps :)

Sergey Sharybin (sergey) closed this task as Resolved.Jan 25 2019, 4:26 PM

Can not longer reproduce the issue. But here were so many fixes done after it was done. And we are using smoke every day for the current production.

So unless heard otherwise, considering it resolved. Thanks for the report!

I just tried Blender 2.8 Beta (some older build) and it works without crash :) But the latest build (25th of January) of 2.79 is still crashing.

Well, this isn't a regression (happens in 2.79b, 2.78c..). So would rather have energy spent on getting 2.80 released than trying to fix it in 2.7 branch.