Saving After Relocating a Linked Blend File Crashes #73472

Closed
opened 2020-01-29 01:21:51 +01:00 by Emir Sinan Gürlek · 11 comments

System Information
Operating system: Windows-10 64 Bits
Graphics card: GeForce GTX 1070 NVIDIA 441.66

Blender Version
Broken: version: 2.83 (sub 1), branch: master, commit date: 2020-01-18 19:00, hash: c2e62c1292
Worked: (optional)

Short description of error
If I relocate a linked blend file and save (Ctrl+S) the current file, Blender crashes. I believe this only occurs if the linked collection is disabled in viewport (and it has a library overriden armature).

Exact steps for others to reproduce the error
1- Launch the provided Suzanne.blend file inside Monkey folder.
2- Right click to the broken linked file in the outliner and select relocate.
3- Go to parent folder (Alt+Up Arrow), double click Cube.blend
4- Save (Ctrl+S) and Blender will crash.

Test_Linking.zip

**System Information** Operating system: Windows-10 64 Bits Graphics card: GeForce GTX 1070 NVIDIA 441.66 **Blender Version** Broken: version: 2.83 (sub 1), branch: master, commit date: 2020-01-18 19:00, hash: `c2e62c1292` Worked: (optional) **Short description of error** If I relocate a linked blend file and save (Ctrl+S) the current file, Blender crashes. I believe this only occurs if the linked collection is **disabled in viewport** (and it has a **library overriden armature**). **Exact steps for others to reproduce the error** 1- Launch the provided Suzanne.blend file inside Monkey folder. 2- Right click to the broken linked file in the outliner and select relocate. 3- Go to parent folder (Alt+Up Arrow), double click Cube.blend 4- Save (Ctrl+S) and Blender will crash. [Test_Linking.zip](https://archive.blender.org/developer/F8308810/Test_Linking.zip)

Added subscriber: @filibis

Added subscriber: @filibis

Added subscriber: @Josephbburg

Added subscriber: @Josephbburg
Bastien Montagne was assigned by Emir Sinan Gürlek 2020-01-29 01:31:19 +01:00

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Can also confirm it is not crashing if the linked collection is not disabled in viewport

pchan->bone is NULL

1   pose_channel_in_IK_chain                    action.c                      765  0x31b9743 
2   BKE_pose_channel_in_IK_chain                action.c                      776  0x31b97db 
3   rna_PoseChannel_has_ik_get                  rna_pose.c                    315  0x381eb4d 
4   PoseBone_is_in_ik_chain_get                 rna_pose_gen.c                1039 0x3821d46 
5   RNA_property_boolean_get                    rna_access.c                  2425 0x36f698e 
6   rna_property_override_diff_default          rna_rna.c                     1449 0x382e249 
7   rna_property_override_diff                  rna_access_compare_override.c 355  0x3707241 
8   RNA_struct_override_matches                 rna_access_compare_override.c 706  0x3707c55 
9   rna_property_override_diff_propptr          rna_rna.c                     1355 0x382dee6 
10  rna_property_override_diff_default          rna_rna.c                     1835 0x382f03e 
11  rna_property_override_diff                  rna_access_compare_override.c 355  0x3707241 
12  RNA_struct_override_matches                 rna_access_compare_override.c 706  0x3707c55 
13  rna_property_override_diff_propptr          rna_rna.c                     1355 0x382dee6 
14  rna_property_override_diff_default          rna_rna.c                     1675 0x382ec76 
15  rna_property_override_diff                  rna_access_compare_override.c 355  0x3707241 
16  RNA_struct_override_matches                 rna_access_compare_override.c 706  0x3707c55 
17  BKE_override_library_operations_create      library_override.c            686  0x303c380 
18  BKE_main_override_library_operations_create library_override.c            719  0x303c50d 
19  wm_file_write                               wm_files.c                    1369 0x32ac4a7 
20  wm_save_as_mainfile_exec                    wm_files.c                    2609 0x32af1d6 
Can also confirm it is **not** crashing if the linked collection is **not** disabled in viewport `pchan->bone` is NULL ``` 1 pose_channel_in_IK_chain action.c 765 0x31b9743 2 BKE_pose_channel_in_IK_chain action.c 776 0x31b97db 3 rna_PoseChannel_has_ik_get rna_pose.c 315 0x381eb4d 4 PoseBone_is_in_ik_chain_get rna_pose_gen.c 1039 0x3821d46 5 RNA_property_boolean_get rna_access.c 2425 0x36f698e 6 rna_property_override_diff_default rna_rna.c 1449 0x382e249 7 rna_property_override_diff rna_access_compare_override.c 355 0x3707241 8 RNA_struct_override_matches rna_access_compare_override.c 706 0x3707c55 9 rna_property_override_diff_propptr rna_rna.c 1355 0x382dee6 10 rna_property_override_diff_default rna_rna.c 1835 0x382f03e 11 rna_property_override_diff rna_access_compare_override.c 355 0x3707241 12 RNA_struct_override_matches rna_access_compare_override.c 706 0x3707c55 13 rna_property_override_diff_propptr rna_rna.c 1355 0x382dee6 14 rna_property_override_diff_default rna_rna.c 1675 0x382ec76 15 rna_property_override_diff rna_access_compare_override.c 355 0x3707241 16 RNA_struct_override_matches rna_access_compare_override.c 706 0x3707c55 17 BKE_override_library_operations_create library_override.c 686 0x303c380 18 BKE_main_override_library_operations_create library_override.c 719 0x303c50d 19 wm_file_write wm_files.c 1369 0x32ac4a7 20 wm_save_as_mainfile_exec wm_files.c 2609 0x32af1d6 ```

Our beloved Bone pointers in pose data… Pretty sure I know what happens and how to fix it even before investigating that bug! xD

Our beloved Bone pointers in pose data… Pretty sure I know what happens and how to fix it even before investigating that bug! xD

Also @filibis please do not triage & assign tasks yourself. This work is not to be done by users.

Also @filibis please do not triage & assign tasks yourself. This work is not to be done by users.

This issue was referenced by f13940e883

This issue was referenced by f13940e883cf7c64ee5d7dd1d05ac425db56d126

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

Allright, I won't do that in the future.

Allright, I won't do that in the future.
Thomas Dinges added this to the 2.82 milestone 2023-02-08 16:41:32 +01:00
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
5 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#73472
No description provided.