Page MenuHome

Particle system Crash
Closed, ResolvedPublicBUG


System Information
Operating system: Linux-4.15.0-76-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.21

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-12-04 11:32, hash: rBf1aa4d18d49d
Worked: (optional)

Short description of error
Blender going crash when I click "Copy All To Selected Objects" in particle system settings when all objects have activated smoke simulation.

Exact steps for others to reproduce the error
Select one object with particle system - select other objects - click "Copy All To Selected Objects" - click play animation - if crash doesn't happen, repeat play/pause.

Revisions and Commits

Event Timeline

mmd2 was null

>	blender.exe!update_obstacleflags(FluidDomainSettings * mds, Object * * coll_ob_array, int coll_ob_array_len) Line 875	C
 	blender.exe!BKE_fluid_modifier_processDomain(FluidModifierData * mmd, Depsgraph * depsgraph, Scene * scene, Object * ob, Mesh * me, const int scene_framenr) Line 3331	C
 	blender.exe!BKE_fluid_modifier_process(FluidModifierData * mmd, Depsgraph * depsgraph, Scene * scene, Object * ob, Mesh * me) Line 3597	C
 	blender.exe!BKE_fluid_modifier_do(FluidModifierData * mmd, Depsgraph * depsgraph, Scene * scene, Object * ob, Mesh * me) Line 3609	C
 	blender.exe!applyModifier(ModifierData * md, const ModifierEvalContext * ctx, Mesh * me) Line 121	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) Line 1187	C
 	blender.exe!mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping) Line 1817	C
 	blender.exe!makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask) Line 1931	C
 	blender.exe!BKE_object_handle_data_update(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 186	C
 	blender.exe!BKE_object_eval_uber_data(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 356	C
 	[Externí kód]	
 	[Vložený rámec] blender.exe!std::_Func_class<void,Depsgraph *>::operator()(Depsgraph * <_Args_0>) Line 969	C++
 	blender.exe!DEG::`anonymous namespace'::evaluate_node(const DEG::`anonymous-namespace'::DepsgraphEvalState * state, DEG::OperationNode * operation_node) Line 117	C++
 	blender.exe!DEG::`anonymous namespace'::deg_task_run_func(TaskPool * pool, void * taskdata, int thread_id) Line 129	C++
 	[Vložený rámec] blender.exe!handle_local_queue(TaskThreadLocalStorage *) Line 420	C
 	blender.exe!task_scheduler_thread_run(void * thread_p) Line 457	C
 	[Externí kód]
Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Feb 3 2020, 9:06 AM
Richard Antalik (ISS) changed the subtype of this task from "Report" to "Bug".

@Aleksandr (viadvena) I just saw that when opening this file in 2.81 there is no crash after "Copy All To Selected Objects" but all smoke flow objects lose their modifier.

Is this behavior expected? If so, why? This is also the root of the bug.

Just pushed a fix that resolves the crashing issue.

For future reference: It would be interesting to know if freeing the fluid modifier in remove_particle_systems_from_object() is really needed. It's a bit odd that copying the particle system clears the fluid modifier.$1065