Resync Library Override: Crash when linked file is modified #81059
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#81059
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.4.0-7634-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100
Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-22 09:17, hash:
085329f114
Short description of error
Sometimes the Resync Library Override Hierarchy operator can result in a crash after updating the file which is being linked from. This only seems to happen sometimes, but never when Blender is freshly restarted before running the operator.
Exact steps for others to reproduce the error
Trace: resync_crash.txt
CC @mont29 This is the crash that's been haunting Pablo for some time. I managed to reproduce it once on my computer without debug build, but it's pretty inconsistent and therefore time consuming. Could not reproduce with a simple rig. Hope the traceback helps though.
(On a smaller and separate note, bone transformations only seem to update after reloading the file.)
Added subscribers: @mont29, @Mets
Changed status from 'Needs Triage' to: 'Confirmed'
Ok, could reproduce here with debug+Asan build and using Rain v2… Will check further tomorrow, thanks for the report.
Changed status from 'Confirmed' to: 'Resolved'
Changed status from 'Resolved' to: 'Needs Triage'
Grrr, wrong number in commit message...
Hrmmm… Actually cannot reproduce anymore.
Also, backtrace from error yesterday is fairly weird, and not the same as reported issue here I think. It claims a collection's parent is created and then freed by some driver? Does Rain have any driver actually creating data, or moving collections around?
Changed status from 'Needs Triage' to: 'Needs User Info'
Also, I think there is a step missing in your description? You do reload the edited library before trying to resync its overrides, right?
Based solely on the traceback you pasted above, I tried this hack:
It would be nice if you could test it and see whether crashes still happen with it or not?
To put here what we discussed in chat:
Rain's drivers or python scripts don't mess with moving collections or objects around. I did notice before, that when the linked collection isn't in the scene(root) collection, a duplicate of it shows up there after Resync, but that may not be related.
video-2020-09-23_14.57.10.mp4
We didn't do Reload before Resync, I assumed Resync does both but I understand why it actually doesn't. So from now we'll do both, except for when we're trying to reproduce this crash ;)
Changed status from 'Needs User Info' to: 'Resolved'
Looks like
bdbe95578d
was also the fix for the studio issue, so think we can consider this one as resolved now. Many thanks to @Mets for his reporting and testing work!