[Bug 1872980] Segmentation fault when running script on Blender built with python 3.8 and up