System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30
Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-08-23 11:17, hash: rBe74ba9e09e74
Worked: (newest version of Blender that worked as expected)
Short description of error
Blender crashes when switching the viewport shading to Material Preview when the material preview in the material properties isn't properly rendered yet.
This was tested on a debug build.
Exact steps for others to reproduce the error
- Set the render engine to Cycles.
- Switch viewport shading to Rendered.
- Open the material properties and the preview panel within.
- Switch to the shader ball preview shape and wait until it is properly displayed.
- Switch to another preview shape like the sphere and before it displays the change, switch the viewport shading to Material Preview.
ccl::Stats::mem_free(unsigned __int64 size) Line 44 C++ ccl::rtc_memory_monitor_func(void * userPtr, const __int64 bytes, const bool __formal) Line 267 C++ [External Code] ccl::BVHEmbree::destroy(RTCSceneTy * scene) Line 391 C++ ccl::GeometryManager::device_free(ccl::Device * device, ccl::DeviceScene * dscene) Line 1418 C++ ccl::Scene::free_memory(bool final) Line 161 C++ ccl::Scene::~Scene() Line 131 C++ [External Code] ccl::Session::~Session() Line 132 C++ [External Code] ccl::BlenderSession::free_session() Line 262 C++ ccl::BlenderSession::~BlenderSession() Line 116 C++ [External Code] ccl::free_func(_object * __formal, _object * value) Line 273 C++ [External Code] BPY_DECREF_RNA_INVALIDATE(void * pyob_ptr) Line 458 C RE_engine_free(RenderEngine * engine) Line 151 C RE_engine_render(Render * re, int do_all) Line 918 C do_render_3d(Render * re) Line 1137 C RE_PreviewRender(Render * re, Main * bmain, Scene * sce) Line 2685 C shader_preview_render(ShaderPreview * sp, ID * id, int split, int first) Line 900 C shader_preview_startjob(void * customdata, short * stop, short * do_update) Line 938 C common_preview_startjob(void * customdata, short * stop, short * do_update, float * UNUSED_progress) Line 1181 C do_job_thread(void * job_v) Line 396 C tslot_thread_start(void * tslot_p) Line 227 C++ [External Code]
