Library Override: Overriding material causes BKE_id_is_in_global_main assert on file load #71602

Closed
opened 2019-11-15 10:09:15 +01:00 by Andrew Charlton · 4 comments

System Information
Operating system: Linux-4.15.0-66-generic-x86_64-with-LinuxMint-19.2-tina 64 Bits
Graphics card: GeForce GTX 960/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.26

Blender Version
Broken: version: 2.82 (sub 1), branch: master, commit date: Fri Nov 15 13:52:16 2019 +1100, hash: b6973ed760

Short description of error
[Please fill out a short description of the error here]

Exact steps for others to reproduce the error

overridetestF.blend

overridetestE.blend

OverrideTestE.blend contains an object with a material.
OverrideTestF.blend links that object and overrides the material.

Opening OverrideTestF.blend in debug build gives the following traceback:

Switching to fully guarded memory allocator.
Color management: using fallback mode for management
Color management: Error could not find role data role.
Blender 2.82 (sub 1)
argv- [x] = ./blender
argv- [x] = --debug
Read prefs: /home/andrew/.config/blender/2.82/config/userpref.blend
read file /home/andrew/.config/blender/2.82/config/startup.blend

Version 280 sub 75 date 2019-07-29 14:47 hash f6cb5f54494e

Color management: scene view "Filmic" not found, setting default "Standard".
found bundled python: /home/andrew/blender-git/build_linux_debug/bin/2.82/python
read file /home/andrew/.config/blender/2.82/config/startup.blend

Version 280 sub 75 date 2019-07-29 14:47 hash f6cb5f54494e

Color management: scene view "Filmic" not found, setting default "Standard".
Read blend: /home/andrew/OneDrive/3D/bugreport/overridetestF.blend
read file /home/andrew/OneDrive/3D/bugreport/overridetestF.blend

Version 281 sub 16 date 2019-11-14 09:40 hash c25a910e4ec0

Info: Read library: '/home/andrew/OneDrive/3D/bugreport/overridetestE.blend', '//overridetestE.blend', parent ''
read file /home/andrew/OneDrive/3D/bugreport/overridetestE.blend

Version 281 sub 16 date unknown hash 

/usr/lib/x86_64-linux-gnu/libasan.so.4(+0x558c0) [0x7efbfe5718c0]
./blender(BLI_system_backtrace+0xaa) [0x56556a10e1d5]
./blender(+0x1535480d) [0x56556a8a780d]
./blender(MaterialSlot_material_set+0x30) [0x56556a8c38d7]
./blender(RNA_property_pointer_set+0x56e) [0x56556a4d4c34]
./blender(rna_property_override_apply_default+0x2092) [0x56556a95c754]
./blender(+0x14fa4fcb) [0x56556a4f7fcb]
./blender(+0x14fa7b0f) [0x56556a4fab0f]
./blender(RNA_struct_override_apply+0x5c9) [0x56556a4fb2cf]
./blender(BKE_override_library_update+0x765) [0x5655697dff9b]
./blender(BKE_main_override_library_update+0x2f0) [0x5655697e05f7]
./blender(blo_read_file_internal+0x1558) [0x56556948d7ef]
./blender(BLO_read_from_file+0xf8) [0x565569568ba8]
./blender(BKE_blendfile_read+0xf9) [0x56556d710a9b]
./blender(WM_file_read+0x37e) [0x56556aba9807]
./blender(+0x1565f634) [0x56556abb2634]
./blender(+0x156603f6) [0x56556abb33f6]
./blender(+0x15660646) [0x56556abb3646]
./blender(+0x15639e1f) [0x56556ab8ce1f]
./blender(+0x1563aed0) [0x56556ab8ded0]
./blender(+0x1563e8ae) [0x56556ab918ae]
./blender(+0x1563ec86) [0x56556ab91c86]
./blender(wm_event_do_handlers+0x1164) [0x56556ab95580]
./blender(WM_main+0x30) [0x56556ab6a0e0]
./blender(+0x13ec7700) [0x56556941a700]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7efbf9c79b97]
./blender(_start+0x2a) [0x565569419b9a]
BLI_assert failed: /home/andrew/blender-git/blender/source/blender/makesrna/intern/rna_object.c:1171, rna_MaterialSlot_material_set(), at 'BKE_id_is_in_global_main(&ob->id)'
Aborted (core dumped)

**System Information** Operating system: Linux-4.15.0-66-generic-x86_64-with-LinuxMint-19.2-tina 64 Bits Graphics card: GeForce GTX 960/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.26 **Blender Version** Broken: version: 2.82 (sub 1), branch: master, commit date: Fri Nov 15 13:52:16 2019 +1100, hash: `b6973ed760` **Short description of error** [Please fill out a short description of the error here] **Exact steps for others to reproduce the error** [overridetestF.blend](https://archive.blender.org/developer/F8088571/overridetestF.blend) [overridetestE.blend](https://archive.blender.org/developer/F8088570/overridetestE.blend) OverrideTestE.blend contains an object with a material. OverrideTestF.blend links that object and overrides the material. Opening OverrideTestF.blend in debug build gives the following traceback: Switching to fully guarded memory allocator. Color management: using fallback mode for management Color management: Error could not find role data role. Blender 2.82 (sub 1) argv- [x] = ./blender argv- [x] = --debug Read prefs: /home/andrew/.config/blender/2.82/config/userpref.blend read file /home/andrew/.config/blender/2.82/config/startup.blend ``` Version 280 sub 75 date 2019-07-29 14:47 hash f6cb5f54494e ``` Color management: scene view "Filmic" not found, setting default "Standard". found bundled python: /home/andrew/blender-git/build_linux_debug/bin/2.82/python read file /home/andrew/.config/blender/2.82/config/startup.blend ``` Version 280 sub 75 date 2019-07-29 14:47 hash f6cb5f54494e ``` Color management: scene view "Filmic" not found, setting default "Standard". Read blend: /home/andrew/OneDrive/3D/bugreport/overridetestF.blend read file /home/andrew/OneDrive/3D/bugreport/overridetestF.blend ``` Version 281 sub 16 date 2019-11-14 09:40 hash c25a910e4ec0 ``` Info: Read library: '/home/andrew/OneDrive/3D/bugreport/overridetestE.blend', '//overridetestE.blend', parent '<direct>' read file /home/andrew/OneDrive/3D/bugreport/overridetestE.blend ``` Version 281 sub 16 date unknown hash ``` /usr/lib/x86_64-linux-gnu/libasan.so.4(+0x558c0) [0x7efbfe5718c0] ./blender(BLI_system_backtrace+0xaa) [0x56556a10e1d5] ./blender(+0x1535480d) [0x56556a8a780d] ./blender(MaterialSlot_material_set+0x30) [0x56556a8c38d7] ./blender(RNA_property_pointer_set+0x56e) [0x56556a4d4c34] ./blender(rna_property_override_apply_default+0x2092) [0x56556a95c754] ./blender(+0x14fa4fcb) [0x56556a4f7fcb] ./blender(+0x14fa7b0f) [0x56556a4fab0f] ./blender(RNA_struct_override_apply+0x5c9) [0x56556a4fb2cf] ./blender(BKE_override_library_update+0x765) [0x5655697dff9b] ./blender(BKE_main_override_library_update+0x2f0) [0x5655697e05f7] ./blender(blo_read_file_internal+0x1558) [0x56556948d7ef] ./blender(BLO_read_from_file+0xf8) [0x565569568ba8] ./blender(BKE_blendfile_read+0xf9) [0x56556d710a9b] ./blender(WM_file_read+0x37e) [0x56556aba9807] ./blender(+0x1565f634) [0x56556abb2634] ./blender(+0x156603f6) [0x56556abb33f6] ./blender(+0x15660646) [0x56556abb3646] ./blender(+0x15639e1f) [0x56556ab8ce1f] ./blender(+0x1563aed0) [0x56556ab8ded0] ./blender(+0x1563e8ae) [0x56556ab918ae] ./blender(+0x1563ec86) [0x56556ab91c86] ./blender(wm_event_do_handlers+0x1164) [0x56556ab95580] ./blender(WM_main+0x30) [0x56556ab6a0e0] ./blender(+0x13ec7700) [0x56556941a700] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7efbf9c79b97] ./blender(_start+0x2a) [0x565569419b9a] BLI_assert failed: /home/andrew/blender-git/blender/source/blender/makesrna/intern/rna_object.c:1171, rna_MaterialSlot_material_set(), at 'BKE_id_is_in_global_main(&ob->id)' Aborted (core dumped)

Added subscriber: @Scaredyfish

Added subscriber: @Scaredyfish

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2019-11-15 16:55:10 +01:00

Thanks, but materials are known not really working thing in overrides currently.

Thanks, but materials are known not really working thing in overrides currently.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
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
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
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#71602
No description provided.