Blender VSE with a Scene Strip Crash #70845
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
8 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#70845
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: Linux-5.2.0-3-amd64-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce GTX 950/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.50
Blender Version
Broken: version: 2.81 (sub 15), branch: master, commit date: 2019-10-14 16:46, hash:
879d269e87
Worked: (optional)
Short description of error
Blender VSE with a Scene Strip Crash
Exact steps for others to reproduce the error
Please see the attach video. This method is necessary for compositor playback as well.
tut4.mp4
Blend File
vse scene crash.blend
Blender 2.81 (sub 15), Commit date: 2019-10-14 16:46, Hash
879d269e87
bpy.ops.scene.new(type='NEW') # Operator
bpy.context.scene.name = "Dummy" # Property
bpy.context.scene.name = "Main" # Property
bpy.ops.sequencer.scene_strip_add(frame_start=1, channel=2, scene='Dummy') # Operator
backtrace
Added subscriber: @MD.FahadHassan
#69636 was marked as duplicate of this issue
#70500 was marked as duplicate of this issue
Added subscriber: @Sergey
Please always attach .blend file demonstrating the issue.
Hello, it's a fresh 2.81 scene with nothing attached or modified. Should I upload it? Thanks.
Blend files attached. Thank you for looking into this.
Added subscriber: @lichtwerk
Confirmed, will check...
Added subscriber: @jscholler
This comment was removed by @jscholler
Full crash report
crash_blender on visibility_toggle.txt
@jscholler : cant see anything relating sound in your crash report...
Sure this is the right one? Sure this is the right report?
Oops, Sorry about this. I got confused.
Reposting under another report.
Added subscriber: @iss
Since
d025119aeb
, we are asserting hereBLI_assert failed: /blender/blenkernel/intern/sound.c:88, sound_verify_evaluated_id(), at 'id->tag & (LIB_TAG_COPIED_ON_WRITE | LIB_TAG_COPIED_ON_WRITE_EVAL_RESULT | LIB_TAG_NO_MAIN)'
We can get past
sound_verify_evaluated_id
(avoid the assert) by doing something likeP1140: #70845 snippet a
But still, we are crashing a line later because
seq->scene->sound_scene
isNULL
(seq->scene_sound
is not NULL).Of course, we can still get around that by doing something like
P1141: #70845 snippet b
But really, someone with more knowledge of the relation between scene strips and audio should be looking at this...
@Sergey, @iss, interested?
If it helps:
In 2.8, I can make it work if I Save the project first, adding the dummy strip>Close the project > Open the project again and change the strip to main.
But in 2.81 it's now simply crashing.
@lichtwerk Honestly, I didn't looked on why crash happens, knowing that use-case is not supported.
As for relations, I am pretty lost there at this point.
Paste almost seems like it could fix #69444 (VSE Linked external scene with audio with input Sequencer only works if the scene is NOT also linked with input Camera) will look into that in a bit
Added subscribers: @zhanghua, @ideasman42
@iss: not sure why this should not be supported?
It is not supported setting scene to self, but switching to a different scene (other than self) should be supported, no?
Yes, that's what I meant.
This comment was removed by @zhanghua
Well, we are now missing the auto render feature for Compositor render layer. Will it be possible to implement this auto render in the compositor render layer node?
The algo is>>
if the auto switch is on and user scrub in timeline the render layers will be updated just like all nodes in the compositor. Should be a bool, because it's only usable for animation.
If that could be done Blender compositor will be free of VSE dependency for good. We already have a way to cache the playback in image viewer.
@MD.FahadHassan if this fix breaks any fundamental workflow, I guess it should be reported as a bug explaining what is broken with reference to correct behavior and tag specific project.
@lichtwerk isn't this report technically fixed?
perhaps there should be some versioning code, so users can at least open affected files?
Added subscriber: @ChristopherAnderssarian
@iss What is gonna happen when someone opens 2.79 files with scene strips with the same scene? (currently crashes on render, and a lot of other crashes depending on the configuration it was saved in)
#52586 (Disable scenes using themselves as sequence strips 2.8 Proposal) hasn't really addressed a long term solution (well it has, just none have been implemented...).
A current issue I see is: a working .blend (from 2.79) with lots of scene strips using their own scene, gets opened up in 2.8x, gets saved, and that's it; an unusable file. No going back to 2.79...
One thing I am confused on though... Features and functionality, like this, don't get removed very often, and it's not clear from the task, so I'm curious as to what the support level is/can be?
[Disable scenes using themselves as sequence strips ]] got closed because it wasimplementedbut the commit was clearly [ https:*developer.blender.org/rB175e8fdc1e2e76bd1287f1aa93db4aa4cc44d3f9 | Disable adding scene sequence strips into themselves.
The task seems to be about disabling then out right, but the commit just disables the ability to add new scene strips to the project, it doesn't mess with stripes already in place and apart of a project's workflow...
So I'm not sure the fate of them (scene strips using their own scene and the entire workflow behind it) in newer versions of Blender...
This comment was removed by @MD.FahadHassan
No, afaict this is still crashing if you are switching the scene-strips scene to another scene [which should be supported].
(And this is because of the "depsgraph update as a part of cache invalidation" from
d025119aeb
)@MD.FahadHassan, @ChristopherAnderssarian : we obviously dont want to remove features if there is no good reason for it, #52586 (Disable scenes using themselves as sequence strips 2.8 Proposal) listed some annoying issues that justify removal I think. Will wrap my head around your workflow though [have to check #52586, comments here and in D6073...], intuition would suggest to just use 2 scenes for this, but then this looks like there would be issues with Audio? [like I said, will check on this]
That being said, I think for this discusion we would need a different place? To me it seems this should take place in #52586 (unless I am mistaken)?
@lichtwerk It's a complete valid decision from VSE perspective. Rather than hacks, it's always better to have solid workflows. .
I will try to come up with some method too and if positive will discuss it here https://developer.blender.org/T52586 . Thanks for your time.
This comment was removed by @MD.FahadHassan
Removed subscriber: @jscholler
Yeah, but unfortunately it not always as black and white (in terms of what a good reason is) [insert recent dramas of this happening here]...
When I see a commit message saying: "Remove X properties" with no reason; I just wish I could know what's going though their head when they hit submit...
I can understand if it's a mistake or a miscommunication, as that happens all the time, even here (you missed #66461 when titling
0dcc5572d6
)It's just a shame that I have a folder marked Do Not Report that's full things I can't report, else that piece of functionality would get removed.
@lichtwerk I have successfully hack the way out.
After seeing it with GDB it is more or less clear that the sound data is going nuts.
So I have created a Dummy scene>imported the Comp strip and made it a metastrip. Then in the comp scene Imported the Dummy strip and set it to show the sequencer instead of camera.
And all get line up.
Here's the line up if you guys need any help with it. For Now it's all OK. So Please, No need to worry.
Also The right Click select proposal has some serious fallback after testing. So it is deleted.
Thank you all for your time.
Blender 2.81 Compositor Template _Success.blend
Changed status from 'Open' to: 'Resolved'
Changed status from 'Resolved' to: 'Open'
There is still crash when changing scenes, so I am reopening this.
This issue was referenced by
0d8df07232
This issue was referenced by
15d27c1ae5
Changed status from 'Open' to: 'Resolved'