Page MenuHome

Crash when switching scene
Confirmed, HighPublicBUG


System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: Radeon (TM) RX 470 Graphics ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-12-04 11:32, hash: rBf1aa4d18d49d
Worked: (optional)

Short description of error

When I load the .blend file the scene is set to "Smash": I can render, etc, while in this scene.  When I try to switch to the other scene in this file, "Standard Layout", blender immediately crashes.
"Smash" was originally copied from "Standard Layout".   

When the file is opened the bowling ball is selected and it is in edit mode.  I found that if I press "TAB" to take it out of edit mode, I can then change scenes without crashing.

You ask for a small and simple .blend file.  I think this one qualifies :-)



Event Timeline

Darn it all!  I also checked this with the most recent nightly build, but that isn't the version # that I captured in this bug report.

version: 2.82 (sub 3), branch: master, commit date: 2019-12-05 19:15, hash: 61a02a7aa1ca, type: Release
build date: 2019-12-06, 00:03:42
platform: Windows

Germano Cavalcante (mano-wii) lowered the priority of this task from 90 to 50.Dec 11 2019, 1:10 PM

I can confirm:

Exception thrown at 0x00007FF666FFB954 in blender.exe: 0xC0000005: Access violation reading location 0x0000000000000611.

mesh_eval_final is NULL in const bool do_uvcage = me->edit_mesh && !me->edit_mesh->mesh_eval_final->runtime.is_original;

>	blender.exe!DRW_mesh_batch_cache_create_requested(Object * ob, Mesh * me, const Scene * scene, const bool is_paint_mode, const bool use_hide) Line 1206	C
 	blender.exe!drw_batch_cache_generate_requested(Object * ob) Line 3432	C
 	blender.exe!drw_engines_cache_populate(Object * ob) Line 1157	C
 	blender.exe!DRW_draw_render_loop_ex(Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * ar, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) Line 1559	C
 	blender.exe!DRW_draw_view(const bContext * C) Line 1486	C
 	blender.exe!view3d_main_region_draw(const bContext * C, ARegion * ar) Line 1558	C
 	blender.exe!ED_region_do_draw(bContext * C, ARegion * ar) Line 539	C
 	blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 628	C
 	blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 766	C
 	blender.exe!wm_draw_update(bContext * C) Line 946	C
 	blender.exe!WM_main(bContext * C) Line 424	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 498	C
 	[External Code]

2.81 also crashed. 2.80 no.
Code added in rB9c010c44f420: Mesh Batch Cache: Refactor + Multithread.

Clément Foucault (fclem) raised the priority of this task from 50 to High.Dec 11 2019, 1:22 PM