VSE Clips with keyframes crash #91458

Closed
opened 2021-09-16 17:45:36 +02:00 by Steffen Dünner · 15 comments

System Information
Operating system: Linux-5.11.0-34-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: NVIDIA GeForce RTX 2070 Super/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.57.02

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-09-16 14:41, hash: c9daab7936
Worked: 2.93 and master from a few days ago
Caused by e6194e7357

Short description of error
Blender instantly crashes / closes when you click on a clip in the VSE that has keyframes on it AND a Timeline or a Dopesheet is visible at the same time.
This one was quite hard to reproduce because I noticed it on a production file that has lots of scenes and linked libraries in it. I could boil it down to a super simple repro scene.

About file: - It's just a VSE layout with a color clip in it. This clip contains two keyframes on the opacity. It doesn't really matter what channels the keyframes are on. As soon as a Dopesheet or Timeline tries to display them Blender crashes. It might be related to the keyframes drawing optimizations from a few days ago (?)

Exact steps for others to reproduce the error

  • Open the attached blend file:
  • Select the clip -> everything is fine as expected
  • Now add a Timeline or Dopesheet to the layout (e.g. by splitting an Editor or by switching the "File Browser" on the top left to "Timeline" or "Dopesheet"
  • Blender crashes
  • I could reproduce it on Windows and Linux

Test File:
#91458.blend

**System Information** Operating system: Linux-5.11.0-34-generic-x86_64-with-glibc2.31 64 Bits Graphics card: NVIDIA GeForce RTX 2070 Super/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.57.02 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-09-16 14:41, hash: `c9daab7936` Worked: 2.93 and master from a few days ago Caused by e6194e7357 **Short description of error** Blender instantly crashes / closes when you click on a clip in the VSE that has keyframes on it AND a Timeline or a Dopesheet is visible at the same time. This one was quite hard to reproduce because I noticed it on a production file that has lots of scenes and linked libraries in it. I could boil it down to a super simple repro scene. About file: - It's just a VSE layout with a color clip in it. This clip contains two keyframes on the opacity. It doesn't really matter what channels the keyframes are on. As soon as a Dopesheet or Timeline tries to display them Blender crashes. It might be related to the keyframes drawing optimizations from a few days ago (?) **Exact steps for others to reproduce the error** - Open the attached blend file: - Select the clip -> everything is fine as expected - Now add a Timeline or Dopesheet to the layout (e.g. by splitting an Editor or by switching the "File Browser" on the top left to "Timeline" or "Dopesheet" - Blender crashes - I could reproduce it on Windows and Linux Test File: [#91458.blend](https://archive.blender.org/developer/F10440645/T91458.blend)

Added subscriber: @SteffenD

Added subscriber: @SteffenD

#91559 was marked as duplicate of this issue

#91559 was marked as duplicate of this issue

#91543 was marked as duplicate of this issue

#91543 was marked as duplicate of this issue

#91553 was marked as duplicate of this issue

#91553 was marked as duplicate of this issue
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Hi, thank for the report. Can reproduce on master: a1c65748c40d

Hi, thank for the report. Can reproduce on master: `a1c65748c40d`
Member

Introduced between 42546db490 - d10ea97053

Will find the culprit commit. Computer is not listening to me so will do shortly :p

Introduced between `42546db490` - `d10ea97053` Will find the culprit commit. Computer is not listening to me so will do shortly :p
Member

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Member

Caused by e6194e7357

cc @ideasman42


stack trace:

 	blender.exe!animchan_sync_fcurve_scene(bAnimListElem * ale) Line 222	C
 	blender.exe!animchan_sync_fcurve(bAnimListElem * ale) Line 255	C
 	blender.exe!ANIM_sync_animchannels_to_data(const bContext * C) Line 314	C
 	blender.exe!action_refresh(const bContext * C, ScrArea * area) Line 792	C
 	blender.exe!ED_area_do_refresh(bContext * C, ScrArea * area) Line 188	C
 	blender.exe!wm_event_do_refresh_wm_and_depsgraph(bContext * C) Line 410	C
 	blender.exe!wm_event_do_notifiers(bContext * C) Line 625	C
 	blender.exe!WM_main(bContext * C) Line 654	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 562	C
Caused by e6194e7357 cc @ideasman42 --- stack trace: ``` blender.exe!MEM_lockfree_freeN(void * vmemh) Line 132 C blender.exe!animchan_sync_fcurve_scene(bAnimListElem * ale) Line 222 C blender.exe!animchan_sync_fcurve(bAnimListElem * ale) Line 255 C blender.exe!ANIM_sync_animchannels_to_data(const bContext * C) Line 314 C blender.exe!action_refresh(const bContext * C, ScrArea * area) Line 792 C blender.exe!ED_area_do_refresh(bContext * C, ScrArea * area) Line 188 C blender.exe!wm_event_do_refresh_wm_and_depsgraph(bContext * C) Line 410 C blender.exe!wm_event_do_notifiers(bContext * C) Line 625 C blender.exe!WM_main(bContext * C) Line 654 C blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 562 C ```
Member

Added subscriber: @fsiddi

Added subscriber: @fsiddi
Member

Added subscribers: @Lexx, @EAW

Added subscribers: @Lexx, @EAW
Member

Added subscriber: @GMXArtist

Added subscriber: @GMXArtist

This issue was referenced by 33955231f3

This issue was referenced by 33955231f326c972dfd96486beb66f58831b59a3

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Campbell Barton self-assigned this 2021-09-21 16:10:38 +02: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
5 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#91458
No description provided.