System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.17
Blender Version
Broken: version: 2.80 (sub 69), branch: master (modified), commit date: 2019-05-17 17:00, hash: rBbe5fd9c09f25
Worked: Reportedly builds prior to current buildbot.
Short description of error
Blender crashes on startup in versioning code.
Reported by two people in https://blender.chat/channel/support and I reproduced it here using the supplied .blend
User supplied startup.blend: https://dropbox.com/s/z5hovcne4ue2gfq/startup.blend?dl=0
Exact steps for others to reproduce the error
Using this user-supplied startup.blend will result in a crash on startup. You can simply try opening the file as a normal .blend and it will also crash, so you don't need to put it in place as the actual startup file.
Abort location below. The scene data structure does not look valid and the cam_ob->type reference faults.
/* Unify DOF settings (EEVEE part only) */
if (!DNA_struct_elem_find(fd->filesdna, "Camera", "CameraDOFSettings", "dof")) {
const int SCE_EEVEE_DOF_ENABLED = (1 << 7);
LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) {
if (STREQ(scene->r.engine, RE_engine_id_BLENDER_EEVEE)) {
if (scene->eevee.flag & SCE_EEVEE_DOF_ENABLED) {
Object *cam_ob = scene->camera;
--> if (cam_ob && cam_ob->type == OB_CAMERA) {
Camera *cam = cam_ob->data;
cam->dof.flag |= CAM_DOF_ENABLED;
}
}
}
}Likely related to: https://developer.blender.org/rBbc3139d79226896cf6c2b0813a1188eda70fad09