Page MenuHome

Saving After Relocating a Linked Blend File Crashes
Closed, ResolvedPublicBUG

Description

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: rBc2e62c129235
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.

Event Timeline

Emir Sinan Gürlek (filibis) changed the task status from Needs Triage to Needs Developer to Reproduce.Wed, Jan 29, 1:31 AM
Philipp Oeser (lichtwerk) changed the task status from Needs Developer to Reproduce to Confirmed.Wed, Jan 29, 10:13 AM
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".

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
Brecht Van Lommel (brecht) triaged this task as High priority.Mon, Feb 3, 10:35 AM

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 @Emir Sinan Gürlek (filibis) please do not triage & assign tasks yourself. This work is not to be done by users.

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