Library Override crashes: saving a scene / editing the override / switching scenes #78589

Closed
opened 2020-07-03 22:17:16 +02:00 by Georg K · 12 comments

System Information
Operating system: Linux-5.4.44-1-MANJARO-x86_64-with-glibc2.29 64 Bits
Graphics card: AMD VERDE (DRM 2.50.0, 5.4.44-1-MANJARO, LLVM 10.0.0) X.Org 4.5 (Core Profile) Mesa 20.0.7

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-07-03 17:12, hash: 185fe9cd8b
Worked: 2.83

Short description of error
Blender 2.90 crashes on save if there is a library override and it crashes if the parameters of the library override are edited.
There is also another crash triggered by switching to a different scene

Exact steps for others to reproduce the error
Crash #1/#2 (save/edit)

  • link the material from the source file {F8662182}(File - Link - MAT_Source.blend - Materials - MAT_from2.90)
  • assign the linked material to the default cube
  • add a library override to the linked material (Outliner - Blender File mode - select linked material - Add Library Override via right-click menu)
  • try saving the project OR try changing a parameter like the color
  • crash

Crash #3 (scene switch)

  • steps 1-3 from above
  • create new scene (or switch to a different existing scene)
  • undo (so you are back in the original scene)
  • switch to a different scene
  • crash
**System Information** Operating system: Linux-5.4.44-1-MANJARO-x86_64-with-glibc2.29 64 Bits Graphics card: AMD VERDE (DRM 2.50.0, 5.4.44-1-MANJARO, LLVM 10.0.0) X.Org 4.5 (Core Profile) Mesa 20.0.7 **Blender Version** Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-07-03 17:12, hash: `185fe9cd8b` Worked: 2.83 **Short description of error** Blender 2.90 crashes on save if there is a library override and it crashes if the parameters of the library override are edited. There is also another crash triggered by switching to a different scene **Exact steps for others to reproduce the error** Crash #1/#2 (save/edit) - link the material from the source file {[F8662182](https://archive.blender.org/developer/F8662182/MAT_Source.blend)}(File - Link - MAT_Source.blend - Materials - MAT_from2.90) - assign the linked material to the default cube - add a library override to the linked material (Outliner - Blender File mode - select linked material - Add Library Override via right-click menu) - try saving the project OR try changing a parameter like the color - crash Crash #3 (scene switch) - steps 1-3 from above - create new scene (or switch to a different existing scene) - undo (so you are back in the original scene) - switch to a different scene - crash
Author

Added subscriber: @georgK

Added subscriber: @georgK
Georg K changed title from Crash saving a scene with library override / editing the override to Library Override crashes: saving a scene / editing the override / switching scenes 2020-07-04 00:20:28 +02:00

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

I confirm the crash when trying to save the file.

I confirm the crash when trying to save the file.

Added subscriber: @mont29

Added subscriber: @mont29
Bastien Montagne self-assigned this 2020-07-08 17:46:49 +02:00

Overriding materials are not fully supported currently, nodes are as usual an issue... Will have a look though, should at least not crash

Overriding materials are not fully supported currently, nodes are as usual an issue... Will have a look though, should at least not crash

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

Fixed by e4926c167b (yes, wrong commit message :( ).

Fixed by e4926c167b (yes, wrong commit message :( ).
Author

Thanks! So basically you blocked using the override but not it's creation? Because while the testscenes do no longer cash, I still can't save my main project that already includes an overridden linked material (luckily, autosave does work).
Also

  • shift-clicking the material override icon of a linked material in the material properties editor
  • undo
  • shift-clicking the material override icon again
    crashes blender (sometimes requires going back and forth multiple times).

backtrace:

# Blender 2.90.0, Commit date: 2020-07-08 16:08, Hash e4926c167bac
bpy.context.space_data.recent_folders_active = 0  # Property
bpy.context.space_data.context = 'MATERIAL'  # Property

# backtrace
/home/georg//blender-git/build_linux/bin/blender(BLI_system_backtrace+0x33) [0x3e4fea3]
/home/georg//blender-git/build_linux/bin/blender() [0xb4ddce]
/usr/lib/libc.so.6(+0x3c3e0) [0x7f998eb393e0]
/home/georg//blender-git/build_linux/bin/blender(BKE_lib_override_library_operations_create+0x1f) [0xb9927f]
/usr/lib/libtbb.so.2(_ZN3tbb10interface78internal20isolate_within_arenaERNS1_13delegate_baseEl+0x46) [0x7f9996181136]
/home/georg//blender-git/build_linux/bin/blender() [0x3e53863]
/usr/lib/libtbb.so.2(+0x2c705) [0x7f9996187705]
/usr/lib/libtbb.so.2(+0x2c9cc) [0x7f99961879cc]
/home/georg//blender-git/build_linux/bin/blender(BLI_task_pool_work_and_wait+0xe8) [0x3e53678]
/home/georg//blender-git/build_linux/bin/blender(BKE_lib_override_library_main_operations_create+0xf0) [0xb99740]
/home/georg//blender-git/build_linux/bin/blender(BKE_undosys_step_push_with_type+0x2e2) [0x1616872]
/home/georg//blender-git/build_linux/bin/blender(ED_undo_push+0x7d) [0x146945d]
/home/georg//blender-git/build_linux/bin/blender() [0x14bc478]
/home/georg//blender-git/build_linux/bin/blender() [0x148067d]
/home/georg//blender-git/build_linux/bin/blender() [0x1491605]
/home/georg//blender-git/build_linux/bin/blender() [0xe0435a]
/home/georg//blender-git/build_linux/bin/blender() [0xe049cc]
/home/georg//blender-git/build_linux/bin/blender(wm_event_do_handlers+0x4ff) [0xe0529f]
/home/georg//blender-git/build_linux/bin/blender(WM_main+0x20) [0xdfb8e0]
/home/georg//blender-git/build_linux/bin/blender(main+0x33e) [0xb2030e]
/usr/lib/libc.so.6(__libc_start_main+0xf2) [0x7f998eb24002]
/home/georg//blender-git/build_linux/bin/blender(_start+0x2e) [0xb4a34e]

Just found another crash:
In the outliner, in Blender File mode, select Copy in the right-click menu of an overridden data-block.

Please consider hiding library overrides under experimental features until it is more complete.

Thanks! So basically you blocked using the override but not it's creation? Because while the testscenes do no longer cash, I still can't save my main project that already includes an overridden linked material (luckily, autosave does work). Also - shift-clicking the material override icon of a linked material in the material properties editor - undo - shift-clicking the material override icon again crashes blender (sometimes requires going back and forth multiple times). backtrace: ``` # Blender 2.90.0, Commit date: 2020-07-08 16:08, Hash e4926c167bac bpy.context.space_data.recent_folders_active = 0 # Property bpy.context.space_data.context = 'MATERIAL' # Property # backtrace /home/georg//blender-git/build_linux/bin/blender(BLI_system_backtrace+0x33) [0x3e4fea3] /home/georg//blender-git/build_linux/bin/blender() [0xb4ddce] /usr/lib/libc.so.6(+0x3c3e0) [0x7f998eb393e0] /home/georg//blender-git/build_linux/bin/blender(BKE_lib_override_library_operations_create+0x1f) [0xb9927f] /usr/lib/libtbb.so.2(_ZN3tbb10interface78internal20isolate_within_arenaERNS1_13delegate_baseEl+0x46) [0x7f9996181136] /home/georg//blender-git/build_linux/bin/blender() [0x3e53863] /usr/lib/libtbb.so.2(+0x2c705) [0x7f9996187705] /usr/lib/libtbb.so.2(+0x2c9cc) [0x7f99961879cc] /home/georg//blender-git/build_linux/bin/blender(BLI_task_pool_work_and_wait+0xe8) [0x3e53678] /home/georg//blender-git/build_linux/bin/blender(BKE_lib_override_library_main_operations_create+0xf0) [0xb99740] /home/georg//blender-git/build_linux/bin/blender(BKE_undosys_step_push_with_type+0x2e2) [0x1616872] /home/georg//blender-git/build_linux/bin/blender(ED_undo_push+0x7d) [0x146945d] /home/georg//blender-git/build_linux/bin/blender() [0x14bc478] /home/georg//blender-git/build_linux/bin/blender() [0x148067d] /home/georg//blender-git/build_linux/bin/blender() [0x1491605] /home/georg//blender-git/build_linux/bin/blender() [0xe0435a] /home/georg//blender-git/build_linux/bin/blender() [0xe049cc] /home/georg//blender-git/build_linux/bin/blender(wm_event_do_handlers+0x4ff) [0xe0529f] /home/georg//blender-git/build_linux/bin/blender(WM_main+0x20) [0xdfb8e0] /home/georg//blender-git/build_linux/bin/blender(main+0x33e) [0xb2030e] /usr/lib/libc.so.6(__libc_start_main+0xf2) [0x7f998eb24002] /home/georg//blender-git/build_linux/bin/blender(_start+0x2e) [0xb4a34e] ``` Just found another crash: In the outliner, in Blender File mode, select Copy in the right-click menu of an overridden data-block. Please consider hiding library overrides under experimental features until it is more complete.
Author

The copying crash is solved (version: 2.90.0 Alpha, branch: master, commit date: 2020-07-15 09:06, hash: e8b26a0501), but the other isn't. It seems to crash more reliably with:

  • shift-clicking the material override icon of a linked material in the material properties editor
  • click the icon again (to make fully local)
  • undo
  • click the icon again (to make fully local)
  • crash
    Should I file a separate report or does this belong to "known issue"?
The copying crash is solved (version: 2.90.0 Alpha, branch: master, commit date: 2020-07-15 09:06, hash: `e8b26a0501`), but the other isn't. It seems to crash more reliably with: - shift-clicking the material override icon of a linked material in the material properties editor - click the icon again (to make fully local) - undo - click the icon again (to make fully local) - crash Should I file a separate report or does this belong to "known issue"?

Please create a new report yes, one issue per report. ;)

Please create a new report yes, one issue per report. ;)
Author
Thanks, done: https://developer.blender.org/T78958
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
3 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#78589
No description provided.