Assertion: ID_REAL_USERS(related_id) == 0 triggered when animate property from Material panel #130268

Closed
opened 2024-11-14 12:44:09 +01:00 by Weizhen Huang · 1 comment
Member

System Information
Operating system: macOS-14.5-arm64-arm-64bit 64 Bits
Graphics card: Metal API Apple M2 Max 1.2

Blender Version
Broken: 4.4 43d7558e5b
Worked: 4.4 74cb86aba4

Short description of error

Read blend: "/Users/weizhen/blender-main/blender/tests/data/render/light/all_light_types_in_volume.blend"
0   Blender                             0x0000000102ce6cc4 BLI_system_backtrace + 56
1   Blender                             0x0000000102da3e8c _ZN7blender7animrig16find_related_idsER4MainR2ID + 244
2   Blender                             0x0000000102da4414 _ZN7blender7animrig16id_action_ensureEP4MainP2ID + 88
3   Blender                             0x0000000102dad62c _ZN7blender7animrig16insert_keyframesEP4MainP10PointerRNANSt3__18optionalINS_13StringRefNullEEENS_4SpanI7RNAPathEENS6_IfEERK20AnimationEvalContext23eBezTriple_KeyframeType15eInsertKeyFlags + 188
4   Blender                             0x0000000103a9b31c _ZL22insert_key_button_execP8bContextP10wmOperator + 1028
5   Blender                             0x0000000102d506e0 _ZL18wm_operator_invokeP8bContextP14wmOperatorTypePK7wmEventP10PointerRNAP10ReportListbb + 488
6   Blender                             0x0000000103578b20 _Z23ui_but_anim_decorate_cbP8bContextPvS1_ + 192
7   Blender                             0x0000000103588184 _ZL17ui_apply_but_funcP8bContextP5uiBut + 228
8   Blender                             0x0000000103586aa0 _ZL12ui_apply_butP8bContextP7uiBlockP5uiButP18uiHandleButtonDatab + 616
9   Blender                             0x0000000103593e3c _ZL25ui_do_but_ANY_drag_toggleP8bContextP5uiButP18uiHandleButtonDataPK7wmEventPi + 264
10  Blender                             0x000000010358ea14 _ZL13ui_do_but_BUTP8bContextP5uiButP18uiHandleButtonDataPK7wmEvent + 44
11  Blender                             0x000000010358d97c _ZL12ui_do_buttonP8bContextP7uiBlockP5uiButPK7wmEvent + 1672
12  Blender                             0x000000010358aab0 _ZL22ui_handle_button_eventP8bContextPK7wmEventP5uiBut + 1304
13  Blender                             0x000000010359874c _ZL17ui_region_handlerP8bContextPK7wmEventPv + 256
14  Blender                             0x0000000102d55134 _ZL21wm_handlers_do_internP8bContextP8wmWindowP7wmEventP8ListBase + 4104
15  Blender                             0x0000000102d53b3c _ZL14wm_handlers_doP8bContextP7wmEventP8ListBase + 72
16  Blender                             0x0000000102d53404 _Z20wm_event_do_handlersP8bContext + 3096
17  Blender                             0x0000000102d482a0 _Z7WM_mainP8bContext + 36
18  Blender                             0x00000001022bf584 main + 996
19  dyld                                0x000000019c4fe0e0 start + 2360
BLI_assert failed: source/blender/animrig/intern/animdata.cc:77, find_related_ids(), at '(((const ID *)related_id)->us - ((((const ID *)related_id)->flag & ID_FLAG_FAKEUSER) ? 1 : 0)) == 0'

Exact steps for others to reproduce the error

  1. Use Debug/RelwithDebInfo build with assertion on
  2. Open the regression file render/light/all_light_types_in_volume.blend
  3. Select an object, such as Suzanne or Volume
  4. Go to Material panel
  5. Click any Animate Property button next to the sockets and trigger the assertion.

It has something to do with this specific file, I could not reproduce the issue in other files, or after I resave in the current version.

**System Information** Operating system: macOS-14.5-arm64-arm-64bit 64 Bits Graphics card: Metal API Apple M2 Max 1.2 **Blender Version** Broken: 4.4 43d7558e5b Worked: 4.4 74cb86aba4 **Short description of error** ``` Read blend: "/Users/weizhen/blender-main/blender/tests/data/render/light/all_light_types_in_volume.blend" 0 Blender 0x0000000102ce6cc4 BLI_system_backtrace + 56 1 Blender 0x0000000102da3e8c _ZN7blender7animrig16find_related_idsER4MainR2ID + 244 2 Blender 0x0000000102da4414 _ZN7blender7animrig16id_action_ensureEP4MainP2ID + 88 3 Blender 0x0000000102dad62c _ZN7blender7animrig16insert_keyframesEP4MainP10PointerRNANSt3__18optionalINS_13StringRefNullEEENS_4SpanI7RNAPathEENS6_IfEERK20AnimationEvalContext23eBezTriple_KeyframeType15eInsertKeyFlags + 188 4 Blender 0x0000000103a9b31c _ZL22insert_key_button_execP8bContextP10wmOperator + 1028 5 Blender 0x0000000102d506e0 _ZL18wm_operator_invokeP8bContextP14wmOperatorTypePK7wmEventP10PointerRNAP10ReportListbb + 488 6 Blender 0x0000000103578b20 _Z23ui_but_anim_decorate_cbP8bContextPvS1_ + 192 7 Blender 0x0000000103588184 _ZL17ui_apply_but_funcP8bContextP5uiBut + 228 8 Blender 0x0000000103586aa0 _ZL12ui_apply_butP8bContextP7uiBlockP5uiButP18uiHandleButtonDatab + 616 9 Blender 0x0000000103593e3c _ZL25ui_do_but_ANY_drag_toggleP8bContextP5uiButP18uiHandleButtonDataPK7wmEventPi + 264 10 Blender 0x000000010358ea14 _ZL13ui_do_but_BUTP8bContextP5uiButP18uiHandleButtonDataPK7wmEvent + 44 11 Blender 0x000000010358d97c _ZL12ui_do_buttonP8bContextP7uiBlockP5uiButPK7wmEvent + 1672 12 Blender 0x000000010358aab0 _ZL22ui_handle_button_eventP8bContextPK7wmEventP5uiBut + 1304 13 Blender 0x000000010359874c _ZL17ui_region_handlerP8bContextPK7wmEventPv + 256 14 Blender 0x0000000102d55134 _ZL21wm_handlers_do_internP8bContextP8wmWindowP7wmEventP8ListBase + 4104 15 Blender 0x0000000102d53b3c _ZL14wm_handlers_doP8bContextP7wmEventP8ListBase + 72 16 Blender 0x0000000102d53404 _Z20wm_event_do_handlersP8bContext + 3096 17 Blender 0x0000000102d482a0 _Z7WM_mainP8bContext + 36 18 Blender 0x00000001022bf584 main + 996 19 dyld 0x000000019c4fe0e0 start + 2360 BLI_assert failed: source/blender/animrig/intern/animdata.cc:77, find_related_ids(), at '(((const ID *)related_id)->us - ((((const ID *)related_id)->flag & ID_FLAG_FAKEUSER) ? 1 : 0)) == 0' ``` **Exact steps for others to reproduce the error** 1. Use Debug/RelwithDebInfo build with assertion on 2. Open the regression file `render/light/all_light_types_in_volume.blend` 3. Select an object, such as Suzanne or Volume 4. Go to Material panel 5. Click any `Animate Property` button next to the sockets and trigger the assertion. It has something to do with this specific file, I could not reproduce the issue in other files, or after I resave in the current version.
Author
Member
@dr.sybren
Sybren A. Stüvel self-assigned this 2024-11-14 15:56:18 +01:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-11-15 11:20:06 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
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 & 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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & 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
1 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#130268
No description provided.