Crash on appending collection twice that contains a nested liboverride collection (request to backport, fixed in main) #126879
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#126879
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 536.99
Blender Version
Broken: version: 4.2.1 LTS, branch: blender-v4.2-release, commit date: 2024-08-19 11:21, hash:
396f546c9d82
Worked: ?
Short description of error
Blender crashes when appending the same collection two times, if that collection contains a liboverride collection linked from a different file (this may not be the exact reason/process that causes the crash, but I think I have simplified the setup more than enough to narrow it down).
Exact steps for others to reproduce the error
File > Append
, navigate tolibrary.blend
, selectCollection
, select and AppendCH-mav-hiviz_worker_01
Instance Collections
option when appending also causes the crash, and same with appending the collection from the asset browser.To repro this ERROR from scratch
lib_nested.blend
lib_nested.blend
lib.blend
Collection
fromlib.blend
with default settingsCollection
fromlib.blend
with default settings againCan confirm the crash in 4.2.1
4.3 alpha does not seem to crash anymore (will check which commit fixed it -- and if it is on the backport list already)
However, even in 4.3, I am getting the following:
fixed between
7c68ac258f
andd5e591b3dc
(probably bydcadb3301e
)@mont29 :
dcadb3301e
seems safe enough to put on #124452 ?Crash on appending collection twice that contains a nested liboverride collectionto Crash on appending collection twice that contains a nested liboverride collection (request to backport, fixed in main)Pardon my 2 cents but could this be a flaw with the
Localize All
option that is enabled by default when appending? Theoretically this should remove all linked references in the first place, correct?To repro this ERROR from scratch:
lib_nested.blend
lib_nested.blend
lib.blend
Collection
fromlib.blend
with default settingsCollection
fromlib.blend
with default settings again@mont29 : this does not sound like the "dirty hacks. Ideally we could fully forbid such assignement in BPY/RNA API" case mentioned in the commit message from
dcadb3301e
?This is going to be an interesting one... Thing is, we do specific handling of liboverrides on append, with the assumption that user want to get a local liboverride, and not a completely 'flat local' data, when they append a liboverride from another library. Will see when I can dig and understand the root of this issue.