System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.38
Blender Version
Broken: version: 2.83.7, branch: master, commit date: 2020-09-30 06:12, hash: rB192e591af9fb
Short description of error
So, I'm investigating a frequent crash that is happening in production regarding linked files and saving the blend file.
While investigating this, I notice that if you have a linked library (say, a collection) in your blend file, and you press "relocate", if you select the file that you're working right now (by mistake or whatever reason), Blender always crashes because you're trying to link the file in itself.
I believe the expected behaviour in this case should be Blender displaying an error saying that you cannot link the file in itself, rather than crashing every time.
Exact steps for others to reproduce the error
Based on the startup file:
- Create a new file, let's call it "first file"
- Create a second file, let's call it "linked file"
- Open the "first file" and link the "linked file" collection there.
- While still working on the "first file", switch the outliner view to the Blender File layout; right-click on the linked library and press Relocate
- Choose the "first file" that you're working right now
- Blender will crash immediately.