Interactions with timeline after undo makes Blender crash #107860
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#107860
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.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 531.61
Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash:
e1ccd9d4a1d3
;version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-05-11 18:11, hash:
6ee8aa4997ee
Additionally: 3.4.1 and previous versions open the file and immediately crashes.
Short description of error
Undo of an action that moves on the timeline and interaction with it afterwards causes Blender to crash
Exact steps for others to reproduce the error
I can replicate the issue if I:
Open attached file
Move between frames, select some objects so Blender counts it as a new undo step
Use undo a couple times and move on the timeline (may take a couple tries)
Does not produce the crash logs on my end
Animation playback instead of manual scrubbing works fine, but does not prevent crash if timeline is being interacted with after that
It wasn't there from the very start and began only after some work been done (I was making some minor changes in the library file in the process, and the other file dependant on it has the same issue now)
I can replicate the issue if I:
Will look into it.
Crashes at
source/blender/blenkernel/intern/lib_override.cc
line 4020:Adding a
&& id->override_library->runtime
check seems to do the trick but I'm not sure that's the intended logic in this context. @mont29 Would you take a look at this?This file is extremely broken, it has dependency issues in Turret collection, as noted by the depsgraph error message in the console:
Somehow, it also manages to have (in current file) both a liboverride Turret and a linked Turret collections as children of the (liboverride) Characters collection, this should never be possible.
Further more, liboverride resync process somehow manage to generate 5 (!) times Turret liboverrides as children of the Characters one...
So there are way more issues here than the runtime being null. Still trying to understand how to fix this...
Ok so in the end, I think am going to have to consider this file as invalid:
This leads to a fully invalid 'applied overrides' Character collection, with three children, among which the linked Turret collection, and the override Turret collection. The resync process then cannot happen in a safe and sound way.
At least that is my current understanding of what's happening here, the situation is extremely weird and complicated to investigate.
Unless you can provide us with a way to reproduce such broken setup, we cannot do much here. Indeed deleting and rebuilding the whole liboverride hierarchy is the best way to rebuild a sane file.
I've tried rebulding it a couple times and it seems that any file that borrows data from this library breaks (which contradicts my first message regarding "Troubleshoot -> Delete fixes the problem" part, I'll edit that out). By comparing file hierarchy I can assume that it fixes the linking order problems, but the timeline issue remains.
To replicate crash:
I turned off the conflicting turret drivers and deleted Drone collection (it was empty anyways)
Hey, @mont29, sorry for pinging, but seems like I can't change status of the task myself and it will stay the same way without manual attention. I've described the broken scene replication process in the message above
OK... so undo/redo code changed quiet a bit recently so was waiting for that to get in Main before I check the report again.
Now am getting a 'use after free' issue which is specific to objects using particles ID. Will fix this first, then we see if there are still reproducible issues with this case.
Commit
44e4b5fe33
seems to fix any issue with this report, please let me know if it also works for you or if you can still reproduce crashes.The last build (version: 3.6.0 Beta, branch: blender-v3.6-release, commit date: 2023-06-09 15:07, hash:
6a3ca93c7e34
) seems to work well. I could not replicate the issue with any of methods described earlier. Thanks a lot, BastienNice, time to close it then, thanks for the feedback! :D