Blender crash when viewport render start with OSL and Viewport denoising (Optix) enables. #82809

Closed
opened 2020-11-18 10:24:24 +01:00 by Léo Depoix · 5 comments

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: 3e85bb34d0
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 #74393 (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

blender_debug_output.txt

blender_system_info.txt

blender.crash.txt

**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: `3e85bb34d0` 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 #74393 (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 ``` [blender_debug_output.txt](https://archive.blender.org/developer/F9316482/blender_debug_output.txt) [blender_system_info.txt](https://archive.blender.org/developer/F9316481/blender_system_info.txt) [blender.crash.txt](https://archive.blender.org/developer/F9316480/blender.crash.txt)
Author

Added subscriber: @PiloeGAO

Added subscriber: @PiloeGAO

Added subscriber: @rjg

Added subscriber: @rjg

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

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.

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

Closed as duplicate of #81116

Closed as duplicate of #81116
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#82809
No description provided.