Page MenuHome

Blender crash when viewport render start with OSL and Viewport denoising (Optix) enables.
Closed, DuplicatePublic

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30

Blender Version
Broken: version: 2.90.1, branch: master, commit date: 2020-09-23 06:43, hash: rB3e85bb34d0d7
Worked: Never, no viewport denoising available in Blender 2.83.*

Short description of error
Blender crash when viewport render start with OSL and Viewport denoising (Optix) enables.
This seems to be the same kind of bug as T74393 (https://developer.blender.org/T74393).

Exact steps for others to reproduce the error

  1. Open Blender and switch render engine to Cycles (Device: CPU).
  2. Enable Open Shading Language.
  3. In Denoising tab, enable Viewport and use "Optix".
  4. Switch viewport from "solid" mode to "rendered" mode.
blender.exe         :0x00007FF7B89456B0  rtcSetDeviceMemoryMonitorFunction
blender.exe         :0x00007FF7BB922AA0  ccl::BVHEmbree::build
blender.exe         :0x00007FF7B886D5D0  ccl::Geometry::compute_bvh
blender.exe         :0x00007FF7B8874E10  std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,void (__cdecl ccl::Geometry::*)(ccl::Device * 
blender.exe         :0x00007FF7BA9EF520  tbb::internal::function_task<std::function<void __cdecl(void)> >::execute
tbb.dll             :0x00007FFD373B37A0  tbb::recursive_mutex::scoped_lock::internal_try_acquire
tbb.dll             :0x00007FFD373B37A0  tbb::recursive_mutex::scoped_lock::internal_try_acquire
blender.exe         :0x00007FF7B81AD010  tbb::internal::task_group_base::wait
blender.exe         :0x00007FF7BA9EE720  ccl::TaskPool::wait_work
blender.exe         :0x00007FF7B886E7B0  ccl::GeometryManager::device_update
blender.exe         :0x00007FF7B8835DC0  ccl::Scene::device_update
blender.exe         :0x00007FF7B8849790  ccl::Session::update_scene
blender.exe         :0x00007FF7B884BCC0  ccl::Session::run_cpu
blender.exe         :0x00007FF7B884A620  ccl::Session::run
blender.exe         :0x00007FF7BA9F31A0  ccl::thread::run
blender.exe         :0x00007FF7B8001450  std::thread::_Invoke<std::tuple<void * __ptr64 (__cdecl*)(void * __ptr64),ccl::thread * __ptr64>,0,
ucrtbase.dll        :0x00007FFD3E3E1430  configthreadlocale
KERNEL32.dll        :0x00007FFD3F287020  BaseThreadInitThunk
ntdll.dll           :0x00007FFD40A5CEA0  RtlUserThreadStart

Event Timeline

Robert Guetzkow (rjg) updated the task description. (Show Details)EditedNov 18 2020, 11:24 AM

I can't reproduce this in Blender 2.91 and 2.92, only 2.90.1. I think this was fixed.

Right, this has nothing to do with OSL. This was a bug in 2.90.1 where it crashed when OptiX denoising was used.