System Information
Operating system: Linux-5.16.2-arch1-1-x86_64-with-glibc2.33 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 495.46
Blender Version
Broken: version: 3.0.0, branch: makepkg (modified), commit date: 2021-12-02 18:35, hash: rBf1cca3055776
Short description of error
Blender crashes directly after loading and saving a .blend file with python API.
Exact steps for others to reproduce the error
Run this script
import bpy, os bpy.ops.wm.read_homefile() bpy.ops.wm.save_as_mainfile(filepath=os.path.join(os.environ["HOME"], "test.blend"))