Page MenuHome

Crash trying to open Spring Splash scene
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Linux-5.4.24-1-MANJARO-x86_64-with-glibc2.29 64 Bits
Graphics card: AMD VERDE (DRM 2.50.0, 5.4.24-1-MANJARO, LLVM 9.0.1) X.Org 4.5 (Core Profile) Mesa 19.3.5

Blender Version
Broken: version: 2.83 (sub 9), branch: master (modified), commit date: 2020-03-15 18:43, hash: rB22925d0dd31e (Master is modified because I had to revert commit 56d6666689f7 because of https://developer.blender.org/T74024 it also crashes without the revert), blender-2.83-a210b8297f5a-linux64
Worked: 2.82 official, version: 2.82 (sub 6), branch: master, commit date: 2020-01-14 15:55, hash: rBba5bbf14f92b

Short description of error
Trying to open the Spring splash scene (https://cloud.blender.org/p/gallery/5d2607ee6b3001d49bab798a) crashes blender. Terminal output:
Read blend: /home/georg/Blender Spring official scene.blend
Color management: scene look "Filmic - Medium Contrast" not found, setting default "None".
ERROR (bke.anim_sys): /home/sources/buildbot-x86_64-slave/linux_glibc217_x86_64_cmake/blender.git/source/blender/blenkernel/intern/anim_sys.c:4160 BKE_animsys_eval_driver: invalid driver - modifiers["hide_leg_front.R"].show_viewport[0]
ERROR (bke.anim_sys): /home/sources/buildbot-x86_64-slave/linux_glibc217_x86_64_cmake/blender.git/source/blender/blenkernel/intern/anim_sys.c:4160 BKE_animsys_eval_driver: invalid driver - modifiers["hide_leg_back.L"].show_viewport[0]
ERROR (bke.anim_sys): /home/sources/buildbot-x86_64-slave/linux_glibc217_x86_64_cmake/blender.git/source/blender/blenkernel/intern/anim_sys.c:4160 BKE_animsys_eval_driver: invalid driver - modifiers["hide_leg_back.R"].show_viewport[0]
ERROR (bke.anim_sys): /home/sources/buildbot-x86_64-slave/linux_glibc217_x86_64_cmake/blender.git/source/blender/blenkernel/intern/anim_sys.c:4160 BKE_animsys_eval_driver: invalid driver - modifiers["hide_leg_front.L"].show_viewport[0]
Floating point exception (core dumped)

Unfortunately I can't find that core dump. It is not in the location for Temporary Files that I set in the preferences, nor is it in /tmp
On a different system with intel skylake with integrated graphics, the file opens, but the top left editor does not show the scene, it is just empty/gray and F12 rendering crashes blender (that might be normal considering ram and swap are full, but does this scene (BVH) really need more than 16 GB? Rendered viewport shading works without crashing). Terminal output:
same like above, just the last line is different:
Killed

Exact steps for others to reproduce the error
Try opening the blend. Blender crashes.

Event Timeline

Georg K (georg) updated the task description. (Show Details)
Georg K (georg) added a comment.EditedMon, Mar 16, 2:38 PM

Found the origin of the crash. It is the same commit that introduced the solid view artifacts https://developer.blender.org/T74790

c476c36e400883d929a7149def8dcb6ad6157a86 is the first bad commit
commit c476c36e400883d929a7149def8dcb6ad6157a86
Author: Clément Foucault <foucault.clem@gmail.com>
Date: Wed Mar 11 17:07:43 2020 +0100

Workbench Simplification Refactor

This patch is (almost) a complete rewrite of workbench engine.
The features remain unchanged but the code quality is greatly improved.
Hair shading is brighter but also more correct.

This also introduce the concept of `DRWShaderLibrary` to make a simple
include system inside the GLSL files.

Differential Revision: https://developer.blender.org/D7060

Setting Specular Lighting to "off" and deactivating "Load UI" in the file view allows to load the scene without crashing.

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Wed, Mar 18, 11:46 AM
Germano Cavalcante (mano-wii) triaged this task as High priority.
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".
Unhandled exception at 0x00007FF6B339A940 in blender.exe: 0xC0000094: Integer division by zero.

traceback:

>	blender.exe!workbench_dof_cache_init(WORKBENCH_Data * vedata) Line 329	C
 	blender.exe!workbench_cache_init(void * ved) Line 96	C
 	blender.exe!drw_engines_cache_init() Line 963	C
 	blender.exe!DRW_draw_render_loop_ex(Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * region, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) Line 1468	C
 	blender.exe!DRW_draw_view(const bContext * C) Line 1399	C
 	blender.exe!view3d_draw_view(const bContext * C, ARegion * region) Line 1603	C
 	blender.exe!view3d_main_region_draw(const bContext * C, ARegion * region) Line 1628	C
 	blender.exe!ED_region_do_draw(bContext * C, ARegion * region) Line 539	C
 	blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 674	C
 	blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 812	C
 	blender.exe!wm_draw_update(bContext * C) Line 1014	C
 	blender.exe!WM_main(bContext * C) Line 454	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 526	C
 	[External Code]
Clément Foucault (fclem) closed this task as Resolved.Mon, Mar 30, 6:40 PM
Clément Foucault (fclem) claimed this task.

This was fixed by a0437c3f730f