Crash playing animation with rigid body #78493

Open
opened 2020-07-01 11:36:17 +02:00 by PJ Concepcion · 12 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.20

Blender Version
Broken: version: 2.83.1, branch: master, commit date: 2020-06-25 09:47, hash: 8289fc688b
Worked: (newest version of Blender that worked as expected)

Short description of error
After opening a blend file (ver BLENDER-v280RENDH). The frame starts at 25 upon opening it. I changed the frame to 0. I pressed space to play then the application closes.

Exact steps for others to reproduce the error
Whiskers Away.blend

  • Open file
  • Rewind to frame 1 {key Shift Left}
  • Seek to frame 0 {key Left}
  • Play animation

Crash doesn't happen every time. Redo all steps in such case. There is about 30% probability to reproduce successfully.

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.20 **Blender Version** Broken: version: 2.83.1, branch: master, commit date: 2020-06-25 09:47, hash: `8289fc688b` Worked: (newest version of Blender that worked as expected) **Short description of error** After opening a blend file (ver BLENDER-v280RENDH). The frame starts at 25 upon opening it. I changed the frame to 0. I pressed space to play then the application closes. **Exact steps for others to reproduce the error** [Whiskers Away.blend](https://archive.blender.org/developer/F8669739/Whiskers_Away.blend) - Open file - Rewind to frame 1 {key Shift Left} - Seek to frame 0 {key Left} - Play animation Crash doesn't happen every time. Redo all steps in such case. There is about 30% probability to reproduce successfully.
Author

Added subscriber: @pjconcepcion

Added subscriber: @pjconcepcion

Added subscriber: @iss

Added subscriber: @iss

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

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

Can you upload example file? Or provide steps how to create one.

Can you upload example file? Or provide steps how to create one.
Author

Whiskers Away.blend

Here is file. Thanks :)

[Whiskers Away.blend](https://archive.blender.org/developer/F8669739/Whiskers_Away.blend) Here is file. Thanks :)
Richard Antalik changed title from Application closes upon playing animation to Crash playing animation with rigid body 2020-07-07 02:42:19 +02:00

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

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

unable to read memory of vec

>	blender.exe!minmax_v3v3_v3(float * min, float * max, const float * vec) Line 983	C

 	blender.exe!BKE_mesh_minmax(const Mesh * me, float * r_min, float * r_max) Line 1302	C
 	blender.exe!BKE_mesh_boundbox_get(Object * ob) Line 879	C
 	blender.exe!BKE_object_boundbox_get(Object * ob) Line 2963	C
 	blender.exe!rigidbody_validate_sim_shape(Object * ob, bool rebuild) Line 503	C
 	blender.exe!rigidbody_validate_sim_object(RigidBodyWorld * rbw, Object * ob, bool rebuild) Line 753	C
 	blender.exe!rigidbody_update_simulation(Depsgraph * depsgraph, Scene * scene, RigidBodyWorld * rbw, bool rebuild) Line 1755	C
 	blender.exe!BKE_rigidbody_rebuild_world(Depsgraph * depsgraph, Scene * scene, float ctime) Line 1978	C
 	blender.exe!BKE_rigidbody_rebuild_sim(Depsgraph * depsgraph, Scene * scene) Line 2177	C
 	[External Code]	
 	[Inline Frame] blender.exe!std::_Func_class<void,Depsgraph *>::operator()(Depsgraph * <_Args_0>) Line 976	C++
 	blender.exe!blender::deg::`anonymous namespace'::evaluate_node(const blender::deg::`anonymous-namespace'::DepsgraphEvalState * state, blender::deg::OperationNode * operation_node) Line 116	C++
 	blender.exe!blender::deg::`anonymous namespace'::deg_task_run_func(TaskPool * pool, void * taskdata) Line 128	C++
 	[External Code]	
 	blender.exe!tbb::interface7::internal::isolate_impl<void,<lambda_4c4e9cab0012cf46ce574e5cf4859202> const>(const Task::()::__l2::<lambda_4c4e9cab0012cf46ce574e5cf4859202> & f) Line 160	C++
 	[Inline Frame] blender.exe!Task::operator()() Line 118	C++
 	blender.exe!tbb::internal::function_task<Task>::execute() Line 1049	C++
 	[External Code]	
unable to read memory of `vec` ``` > blender.exe!minmax_v3v3_v3(float * min, float * max, const float * vec) Line 983 C blender.exe!BKE_mesh_minmax(const Mesh * me, float * r_min, float * r_max) Line 1302 C blender.exe!BKE_mesh_boundbox_get(Object * ob) Line 879 C blender.exe!BKE_object_boundbox_get(Object * ob) Line 2963 C blender.exe!rigidbody_validate_sim_shape(Object * ob, bool rebuild) Line 503 C blender.exe!rigidbody_validate_sim_object(RigidBodyWorld * rbw, Object * ob, bool rebuild) Line 753 C blender.exe!rigidbody_update_simulation(Depsgraph * depsgraph, Scene * scene, RigidBodyWorld * rbw, bool rebuild) Line 1755 C blender.exe!BKE_rigidbody_rebuild_world(Depsgraph * depsgraph, Scene * scene, float ctime) Line 1978 C blender.exe!BKE_rigidbody_rebuild_sim(Depsgraph * depsgraph, Scene * scene) Line 2177 C [External Code] [Inline Frame] blender.exe!std::_Func_class<void,Depsgraph *>::operator()(Depsgraph * <_Args_0>) Line 976 C++ blender.exe!blender::deg::`anonymous namespace'::evaluate_node(const blender::deg::`anonymous-namespace'::DepsgraphEvalState * state, blender::deg::OperationNode * operation_node) Line 116 C++ blender.exe!blender::deg::`anonymous namespace'::deg_task_run_func(TaskPool * pool, void * taskdata) Line 128 C++ [External Code] blender.exe!tbb::interface7::internal::isolate_impl<void,<lambda_4c4e9cab0012cf46ce574e5cf4859202> const>(const Task::()::__l2::<lambda_4c4e9cab0012cf46ce574e5cf4859202> & f) Line 160 C++ [Inline Frame] blender.exe!Task::operator()() Line 118 C++ blender.exe!tbb::internal::function_task<Task>::execute() Line 1049 C++ [External Code] ```
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

I cannot reproduce the crash anymore, neither in debug nor in release builds.

@iss, can you still reproduce the issue? Were you able to reproduce it every time, or only sometimes in debug builds?

I cannot reproduce the crash anymore, neither in debug nor in release builds. @iss, can you still reproduce the issue? Were you able to reproduce it every time, or only sometimes in debug builds?

Yes, this time I was able to reproduce this (release build) on 6th attempt. You need to redo all steps, including "Open file". I mangled up shift+right arrow in description though.

Yes, this time I was able to reproduce this (release build) on 6th attempt. You need to redo all steps, including "Open file". I mangled up shift+right arrow in description though.

Added subscriber: @mont29

Added subscriber: @mont29

Cannot reproduce a crash, but this file looks quite badly built to me, generates dependency cycles in Depsgraph, and a lot of errors during RB simulation…

Dependency cycles: RB simulation depends on mask geometry, which depends on eye geometry (Boolean modifier), which depends on mask position (mirror modifier), which depends on result of the RB simulation results…

So while it would be nice to get rid of the crash (if it is still reproducible), would not consider this high priority.

Cannot reproduce a crash, but this file looks quite badly built to me, generates dependency cycles in Depsgraph, and a lot of errors during RB simulation… Dependency cycles: RB simulation depends on mask geometry, which depends on eye geometry (Boolean modifier), which depends on mask position (mirror modifier), which depends on result of the RB simulation results… So while it would be nice to get rid of the crash (if it is still reproducible), would not consider this high priority.
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:46:44 +01:00
Philipp Oeser added the
Interest
Core
label 2023-02-10 11:09:29 +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
4 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#78493
No description provided.