Viscoelastic springs (particle system fluid emitter) crashes blender 2.90.1 (and probably in all versions) #82595

Open
opened 2020-11-10 20:31:00 +01:00 by Tolya · 8 comments

System Information
Operating system: Windows 10
Graphics card: Nvidia GTX 1060 6gb
CPU: Ryzen 7 3700x

Blender Version
Broken: 2.90.1, 2.91, 2.92
Worked: 2.83.x

Short description of error
Enabling viscoelastic springs and try playing the simulation, or baking, it will crash at about frame 5. However when you put springs settings to 0 and turn on it doesn't happen, but doesn't have any effect either.
The project files I provide is for 2.90.1. the setup is default cube with particle system, below it another cube with collision with default settings.

BrokenViscoelastics.blend

Exact steps for others to reproduce the error

  • Open the attached file
  • Enabled Vicoelastic Springs
  • Bake
**System Information** Operating system: Windows 10 Graphics card: Nvidia GTX 1060 6gb CPU: Ryzen 7 3700x **Blender Version** Broken: 2.90.1, 2.91, 2.92 Worked: 2.83.x **Short description of error** Enabling viscoelastic springs and try playing the simulation, or baking, it will crash at about frame 5. However when you put springs settings to 0 and turn on it doesn't happen, but doesn't have any effect either. The project files I provide is for 2.90.1. the setup is default cube with particle system, below it another cube with collision with default settings. [BrokenViscoelastics.blend](https://archive.blender.org/developer/F9254365/BrokenViscoelastics.blend) **Exact steps for others to reproduce the error** - Open the attached file - Enabled Vicoelastic Springs - Bake
Author

Added subscriber: @danterazor

Added subscriber: @danterazor
Tolya changed title from Viscoelastic springs (particle system fluid emitter) crashes blender 2.92 (and below as well) to Viscoelastic springs (particle system fluid emitter) crashes blender 2.90.1 (and probably in all versions) 2020-11-10 20:31:32 +01:00

Added subscriber: @rjg

Added subscriber: @rjg

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

I can't reproduce a crash in 2.90.1, 2.91 or 2.92. Are there any additional steps required besides baking and then playing the animation to reproduce the crash with your example file?

I can't reproduce a crash in 2.90.1, 2.91 or 2.92. Are there any additional steps required besides baking and then playing the animation to reproduce the crash with your example file?
Author

You have to click enable viscoelastic springs and just play the animation. Here's the file with it enabled, I double checked, it crashes. Hit play in this scene. BrokenViscoelastics2.blend
Edit: the file is for 2.90.1, tested on 2.91.0-b351607996e4, 2.92.0-86bdc959a399

You have to click enable viscoelastic springs and just play the animation. Here's the file with it enabled, I double checked, it crashes. Hit play in this scene. [BrokenViscoelastics2.blend](https://archive.blender.org/developer/F9260196/BrokenViscoelastics2.blend) Edit: the file is for 2.90.1, tested on 2.91.0-b351607996e4, 2.92.0-86bdc959a399

I can confirm that this crashes in 2.90.1 and later, current master is also affected.

sub_v3_v3v3(float * r, const float * a, const float * b) Line 493	C
sph_springs_modify(ParticleSystem * psys, float dtime) Line 1626	C
dynamics_step(ParticleSimulationData * sim, float cfra) Line 3996	C
system_step(ParticleSimulationData * sim, float cfra, const bool use_render_params) Line 4593	C
particle_system_update(Depsgraph * depsgraph, Scene * scene, Object * ob, ParticleSystem * psys, const bool use_render_params) Line 4941	C
deformVerts(ModifierData * md, const ModifierEvalContext * ctx, Mesh * mesh, float- [x] * vertexCos, int numVerts) Line 229	C
BKE_modifier_deform_verts(ModifierData * md, const ModifierEvalContext * ctx, Mesh * me, float- [x] * vertexCos, int numVerts) Line 1038	C
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 984	C
mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping) Line 1806	C
makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask) Line 1927	C
BKE_object_handle_data_update(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 194	C
BKE_object_eval_uber_data(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 385	C
 	[External Code]	
blender::deg::`anonymous namespace'::evaluate_node(const blender::deg::`anonymous-namespace'::DepsgraphEvalState * state, blender::deg::OperationNode * operation_node) Line 115	C++
blender::deg::`anonymous namespace'::deg_task_run_func(TaskPool * pool, void * taskdata) Line 127	C++
Task::()::__l2::<Lambdafunktion>() Line 118	C++
tbb::interface7::internal::delegated_function<void <Lambdafunktion>(void) const ,void>::operator()() Line 94	C++
 	[External Code]	
tbb::interface7::internal::isolate_impl<void,void <Lambdafunktion>(void) const>(const Task::()::__l2::void <Lambdafunktion>(void) & f) Line 161	C++
tbb::interface7::this_task_arena::isolate<void <Lambdafunktion>(void)>(const Task::()::__l2::void <Lambdafunktion>(void) & f) Line 396	C++
Task::operator()() Line 122	C++
tbb::internal::function_task<Task>::execute() Line 1049	C++
 	[External Code]	
tbb::task::wait_for_all() Line 810	C++
tbb::internal::task_group_base::wait() Line 168	C++
tbb_task_pool_work_and_wait(TaskPool * pool) Line 253	C++
BLI_task_pool_work_and_wait(TaskPool * pool) Line 500	C++
blender::deg::deg_evaluate_on_refresh(blender::deg::Depsgraph * graph) Line 398	C++
deg_flush_updates_and_refresh(blender::deg::Depsgraph * deg_graph) Line 59	C++
DEG_evaluate_on_framechange(Depsgraph * graph, float ctime) Line 83	C++
BKE_scene_graph_update_for_newframe(Depsgraph * depsgraph) Line 2663	C
BKE_ptcache_bake(PTCacheBaker * baker) Line 3303	C
ptcache_job_startjob(void * customdata, short * stop, short * do_update, float * progress) Line 123	C
do_job_thread(void * job_v) Line 395	C
tslot_thread_start(void * tslot_p) Line 232	C++
 	[External Code]	
I can confirm that this crashes in 2.90.1 and later, current master is also affected. ```lines sub_v3_v3v3(float * r, const float * a, const float * b) Line 493 C sph_springs_modify(ParticleSystem * psys, float dtime) Line 1626 C dynamics_step(ParticleSimulationData * sim, float cfra) Line 3996 C system_step(ParticleSimulationData * sim, float cfra, const bool use_render_params) Line 4593 C particle_system_update(Depsgraph * depsgraph, Scene * scene, Object * ob, ParticleSystem * psys, const bool use_render_params) Line 4941 C deformVerts(ModifierData * md, const ModifierEvalContext * ctx, Mesh * mesh, float- [x] * vertexCos, int numVerts) Line 229 C BKE_modifier_deform_verts(ModifierData * md, const ModifierEvalContext * ctx, Mesh * me, float- [x] * vertexCos, int numVerts) Line 1038 C 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 984 C mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping) Line 1806 C makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask) Line 1927 C BKE_object_handle_data_update(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 194 C BKE_object_eval_uber_data(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 385 C [External Code] blender::deg::`anonymous namespace'::evaluate_node(const blender::deg::`anonymous-namespace'::DepsgraphEvalState * state, blender::deg::OperationNode * operation_node) Line 115 C++ blender::deg::`anonymous namespace'::deg_task_run_func(TaskPool * pool, void * taskdata) Line 127 C++ Task::()::__l2::<Lambdafunktion>() Line 118 C++ tbb::interface7::internal::delegated_function<void <Lambdafunktion>(void) const ,void>::operator()() Line 94 C++ [External Code] tbb::interface7::internal::isolate_impl<void,void <Lambdafunktion>(void) const>(const Task::()::__l2::void <Lambdafunktion>(void) & f) Line 161 C++ tbb::interface7::this_task_arena::isolate<void <Lambdafunktion>(void)>(const Task::()::__l2::void <Lambdafunktion>(void) & f) Line 396 C++ Task::operator()() Line 122 C++ tbb::internal::function_task<Task>::execute() Line 1049 C++ [External Code] tbb::task::wait_for_all() Line 810 C++ tbb::internal::task_group_base::wait() Line 168 C++ tbb_task_pool_work_and_wait(TaskPool * pool) Line 253 C++ BLI_task_pool_work_and_wait(TaskPool * pool) Line 500 C++ blender::deg::deg_evaluate_on_refresh(blender::deg::Depsgraph * graph) Line 398 C++ deg_flush_updates_and_refresh(blender::deg::Depsgraph * deg_graph) Line 59 C++ DEG_evaluate_on_framechange(Depsgraph * graph, float ctime) Line 83 C++ BKE_scene_graph_update_for_newframe(Depsgraph * depsgraph) Line 2663 C BKE_ptcache_bake(PTCacheBaker * baker) Line 3303 C ptcache_job_startjob(void * customdata, short * stop, short * do_update, float * progress) Line 123 C do_job_thread(void * job_v) Line 395 C tslot_thread_start(void * tslot_p) Line 232 C++ [External Code] ```

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Author

Okay apparently the bug was fixed in 2.92, the scene still crashes 2.91 though but not 2.92, and 2.93 alpha too.

Okay apparently the bug was fixed in 2.92, the scene still crashes 2.91 though but not 2.92, and 2.93 alpha too.
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:46:26 +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#82595
No description provided.