Blender Crashes Frequently with Timeline Scrub #71621
Labels
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#71621
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: Radeon RX 580 Series ATI Technologies Inc. 4.5.13571 Core Profile Context 19.10.1 26.20.13025.10004
Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash:
f6cb5f5449
Worked: (optional)
Short description of error
I have a relatively simple scene with one character+rig+animations, a few static meshes, one camera, two lights, and one simple particle emitter. Scrubbing through the timeline causes blender to crash very frequently, making animation impossibly difficult. One thing to note is I have several modifiers in place to displace the flames on the character's body, disabling them doesn't seem to make a difference for me; in addition, I also have a complex material setup for the flames which uses panning textures.
Exact steps for others to reproduce the error
VSE_sound_crash.blend
All that's left is a single sound strip in the Video Sequence Editor. If you play animation it works fine.
Other steps with a bigger file:
Endeavor_AutoRigPro_Test.blend
Added subscriber: @tyler.tofu
Added subscriber: @MarcinTwarowski
I can confirm. It always crashes at frame 172. Not only when scrubbing, simply setting current frame to 172 will cause crash. It's related to sound. In VSE, 172 is the last frame of this sound strip:
Deleting it prevents crashing.
Added subscriber: @dfelinto
Thanks for the report. Unfortunately the scenario described is still too time consuming for us to track down, we require the bug reporter to narrow down the problem by simplifying the .blend file.
Normally .blend files can be simplified by removing most objects and disabling settings, until the problem reveals itself more clearly. In your case you can delete not only objects bug also the strips that are not used, have a smaller video / sound, ...
Here's a simplified file:
VSE_sound_crash.blend
All that's left is a single sound strip in the Video Sequence Editor. If you play animation it works fine. If you go to frame 172 or scrub past that frame, Blender will crash to desktop.
Added subscribers: @neXyon, @dr.sybren
The cause of the crash is a careless cast from
int64_t
toint
. The patch below fixes the crash and IMO is generally a better approach than the existing code, but the root cause probably lies somewhere else. I found that inSequenceHandle::updatePosition(float position)
at frame 172 (the crashing frame), the position is 5.733313 where asm_end
is 5.733333. This seems to suggest floating point errors are occurring somewhere.Probably @neXyon has a better grasp on this code ;-)
This issue was referenced by
122ba774e0
Changed status from 'Open' to: 'Resolved'
I've committed the above code, as it does fix the crash (and not crashing is better than crashing).
This issue was referenced by
e93aa9c0fc
@dr.sybren nice find, thanks! I've also fixed this upstream. For consistency I'll also commit my fix to blender so that the audaspace code stays consistent. Less than 24 hours to review a patch, even though it's small, is not enough for a volunteer that is not full time employed to work on Blender. I usually only get to work on it during weekends and then not all of them are available either.