Crash on proxied rig with custom bone shape and driver targeting the rig #77712

Closed
opened 2020-06-10 09:17:19 +02:00 by Ilya Rabinovich · 9 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 760/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87

Blender Version
Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: 211b6c29f7
Worked: (newest version of Blender that worked as expected)

Short description of error
I found out that it is happening either because of the text shape of the top bone (letter A) - without it its not crushing
and if the "shapes" collection is inside the "teller" collection its not crushing

Exact steps for others to reproduce the error

*open new blender file
*link the "teller" collection (from the file attached)
*make proxy "bank teller_Armature"
*save file and close blender
*open it again - crush

Rigging_Teller_Bug.blend

Thanks :)

A_Shape_Rig_Bug.blend

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce GTX 760/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87 **Blender Version** Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: `211b6c29f7` Worked: (newest version of Blender that worked as expected) **Short description of error** I found out that it is happening either because of the text shape of the top bone (letter A) - without it its not crushing and if the "shapes" collection is inside the "teller" collection its not crushing **Exact steps for others to reproduce the error** *open new blender file *link the "teller" collection (from the file attached) *make proxy "bank teller_Armature" *save file and close blender *open it again - crush [Rigging_Teller_Bug.blend](https://archive.blender.org/developer/F8605356/Rigging_Teller_Bug.blend) Thanks :) [A_Shape_Rig_Bug.blend](https://archive.blender.org/developer/F8634785/A_Shape_Rig_Bug.blend)

Added subscriber: @Eli-Rabinovich

Added subscriber: @Eli-Rabinovich
Member

Added subscribers: @dr.sybren, @lichtwerk

Added subscribers: @dr.sybren, @lichtwerk
Member

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

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

Can confirm.

This is due to the Custom Bone shape on Bone P (which is a text object -- in this case A_shape).
Removing the A_shape as a custom bone shape from P and saving Rigging_Teller_Bug.blend makes the issues go away.

We had related #61035 (Draw manager crash opening file with curves) and #73252 (Crash with links and Make proxy), both closed without proper solution.

@dr.sybren: can you reproduce this time? is this file simple enough?

here is the backtrace (again -- it is similar to the one in the other reports)

1   curve_render_wire_verts_edges_len_get  draw_cache_impl_curve.c 112  0x3256cad 
2   curve_render_data_create               draw_cache_impl_curve.c 231  0x3256f5c 
3   DRW_curve_batch_cache_create_requested draw_cache_impl_curve.c 1028 0x325b031 
4   drw_batch_cache_generate_requested     draw_cache.c            3547 0x3256a3a 
5   drw_shgroup_bone_custom_solid          overlay_armature.c      570  0x328dfef 
6   draw_bone_custom_shape                 overlay_armature.c      1438 0x32902ec 
7   draw_armature_pose                     overlay_armature.c      2073 0x3291fa2 
8   OVERLAY_armature_cache_populate        overlay_armature.c      2204 0x32927d4 
9   OVERLAY_cache_populate                 overlay_engine.c        365  0x3236118 
10  drw_engines_cache_populate             draw_manager.c          1007 0x31e5cd1 
11  DRW_draw_render_loop_ex                draw_manager.c          1480 0x31e70fc 
12  DRW_draw_view                          draw_manager.c          1396 0x31e6cf7 
13  view3d_draw_view                       view3d_draw.c           1608 0x3bd7db9 
14  view3d_main_region_draw                view3d_draw.c           1632 0x3bd7e60 
15  ED_region_do_draw                      area.c                  538  0x35ac599 
16  wm_draw_window_offscreen               wm_draw.c               688  0x2edec40 
17  wm_draw_window                         wm_draw.c               809  0x2edf140 
18  wm_draw_update                         wm_draw.c               1012 0x2edf790 
19  WM_main                                wm.c                    481  0x2edc2e4 
20  main                                   creator.c               528  0x2aa2905 
Can confirm. This is due to the Custom Bone shape on Bone `P` (which is a text object -- in this case `A_shape`). Removing the `A_shape` as a custom bone shape from `P` and saving Rigging_Teller_Bug.blend makes the issues go away. We had related #61035 (Draw manager crash opening file with curves) and #73252 (Crash with links and Make proxy), both closed without proper solution. @dr.sybren: can you reproduce this time? is this file simple enough? here is the backtrace (again -- it is similar to the one in the other reports) ``` 1 curve_render_wire_verts_edges_len_get draw_cache_impl_curve.c 112 0x3256cad 2 curve_render_data_create draw_cache_impl_curve.c 231 0x3256f5c 3 DRW_curve_batch_cache_create_requested draw_cache_impl_curve.c 1028 0x325b031 4 drw_batch_cache_generate_requested draw_cache.c 3547 0x3256a3a 5 drw_shgroup_bone_custom_solid overlay_armature.c 570 0x328dfef 6 draw_bone_custom_shape overlay_armature.c 1438 0x32902ec 7 draw_armature_pose overlay_armature.c 2073 0x3291fa2 8 OVERLAY_armature_cache_populate overlay_armature.c 2204 0x32927d4 9 OVERLAY_cache_populate overlay_engine.c 365 0x3236118 10 drw_engines_cache_populate draw_manager.c 1007 0x31e5cd1 11 DRW_draw_render_loop_ex draw_manager.c 1480 0x31e70fc 12 DRW_draw_view draw_manager.c 1396 0x31e6cf7 13 view3d_draw_view view3d_draw.c 1608 0x3bd7db9 14 view3d_main_region_draw view3d_draw.c 1632 0x3bd7e60 15 ED_region_do_draw area.c 538 0x35ac599 16 wm_draw_window_offscreen wm_draw.c 688 0x2edec40 17 wm_draw_window wm_draw.c 809 0x2edf140 18 wm_draw_update wm_draw.c 1012 0x2edf790 19 WM_main wm.c 481 0x2edc2e4 20 main creator.c 528 0x2aa2905 ```
Philipp Oeser changed title from Crush on importing linked character with proxy rig to Crash on linked character with proxy rig and a bone with a text object as custom bone shape 2020-06-10 13:17:52 +02:00

I can confirm the crash, but it would really help if the file was trimmed down. If it's just one bone with a custom shape that causes this crash, then there is no need for the entire rig + the model.

I can confirm the crash, but it would really help if the file was trimmed down. If it's just one bone with a custom shape that causes this crash, then there is no need for the entire rig + the model.

Hi, Here is a simpler scene just with one bone and shape.
In link with proxy still crush

Thanks,A_Shape_Rig_Bug.blend

Hi, Here is a simpler scene just with one bone and shape. In link with proxy still crush Thanks,[A_Shape_Rig_Bug.blend](https://archive.blender.org/developer/F8634785/A_Shape_Rig_Bug.blend)
Sybren A. Stüvel changed title from Crash on linked character with proxy rig and a bone with a text object as custom bone shape to Crash on proxied rig with custom bone shape and driver targeting the rig 2020-06-23 17:02:03 +02:00

This issue was referenced by bb4f8b76ec

This issue was referenced by bb4f8b76ec5eee803c98098ae04d34dba9f62148

This issue was referenced by f345625ded

This issue was referenced by f345625ded0ac3507c69160654360ebe8a463c84

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sybren A. Stüvel self-assigned this 2020-06-23 17:07:05 +02: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
4 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#77712
No description provided.