Blender Crash when toggling object visibility Holdout. #80306

Closed
opened 2020-09-01 05:02:44 +02:00 by Gustavo de León · 7 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: AMD Radeon R7 200 Series ATI Technologies Inc. 4.5.13596 Core Profile Context 20.5.1 27.20.1017.1011

Blender Version
Broken: version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: 0330d1af29
Worked: Not sure, file created with 2.83 but not tested this scenario at this moment (EDIT: working well in 2.83.5)

Short description of error
Blender crashes if you toggle the holdout option from the visibility tab in the object settings when the viewport its in rendered shading

Exact steps for others to reproduce the error

  • Open the attached file. Sombras Imposibles.blend
  • Toggle off the Holdout button in the visibility tab, from the object properties image.png
  • Nothing happens....
  • Change the viewport to Rendered
  • Toggle again holdout
  • Blender crashes
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: AMD Radeon R7 200 Series ATI Technologies Inc. 4.5.13596 Core Profile Context 20.5.1 27.20.1017.1011 **Blender Version** Broken: version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: `0330d1af29` Worked: Not sure, file created with 2.83 but not tested this scenario at this moment (EDIT: working well in 2.83.5) **Short description of error** Blender crashes if you toggle the holdout option from the visibility tab in the object settings when the viewport its in rendered shading **Exact steps for others to reproduce the error** - Open the attached file. [Sombras Imposibles.blend](https://archive.blender.org/developer/F8827962/Sombras_Imposibles.blend) - Toggle off the Holdout button in the visibility tab, from the object properties ![image.png](https://archive.blender.org/developer/F8827968/image.png) - Nothing happens.... - Change the viewport to Rendered - Toggle again holdout - Blender crashes

Added subscriber: @gusdleon

Added subscriber: @gusdleon

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I can confirm in a Release build.

Exception thrown at 0x00007FF6F3B0CD68 in blender.exe: 0xC0000005: Access violation reading location 0x0000028812499524.
 	blender.exe!embree::avx::TriangleMi<4>::loadTriangle(int,class embree::Scene const * const)	C++
 	blender.exe!embree::avx::BVHNIntersector1<4,1,1,struct embree::avx::ArrayIntersector1<struct embree::avx::TriangleMiIntersector1Pluecker<4,4,1> > >::intersect(struct embree::Accel::Intersectors const *,struct embree::RayHitK<1> &,struct embree::IntersectContext *)	C++
 	blender.exe!embree::avx2::InstanceIntersector1::intersect(struct embree::avx2::InstanceIntersector1::Precalculations const &,struct embree::RayHitK<1> &,struct embree::IntersectContext *,struct embree::InstancePrimitive const &)	C++
 	blender.exe!embree::avx2::BVHNIntersector1<4,1,0,struct embree::avx2::ArrayIntersector1<struct embree::avx2::InstanceIntersector1> >::intersect(struct embree::Accel::Intersectors const *,struct embree::RayHitK<1> &,struct embree::IntersectContext *)	C++
 	blender.exe!rtcIntersect1()	C++
>	blender.exe!ccl::scene_intersect(ccl::KernelGlobals * kg, const ccl::Ray * ray, const unsigned int visibility, ccl::Intersection * isect) Line 208	C++

 	blender.exe!ccl::kernel_path_scene_intersect(ccl::KernelGlobals * kg, ccl::PathState * state, ccl::Ray * ray, ccl::Intersection * isect, ccl::PathRadiance * L) Line 72	C++
 	blender.exe!ccl::kernel_path_integrate(ccl::KernelGlobals * kg, ccl::PathState * state, ccl::float3 throughput, ccl::Ray * ray, ccl::PathRadiance * L, float * buffer, ccl::ShaderData * emission_sd) Line 533	C++
 	blender.exe!ccl::kernel_path_trace(ccl::KernelGlobals * kg, float * buffer, int sample, int x, int y, int offset, int stride) Line 694	C++
 	blender.exe!ccl::kernel_cpu_avx2_path_trace(ccl::KernelGlobals * kg, float * buffer, int sample, int x, int y, int offset, int stride) Line 99	C++
 	blender.exe!ccl::CPUDevice::render(ccl::DeviceTask & task, ccl::RenderTile & tile, ccl::KernelGlobals * kg) Line 914	C++
 	blender.exe!ccl::CPUDevice::thread_render(ccl::DeviceTask & task) Line 1268	C++
 	blender.exe!ccl::CPUDevice::task_add::__l15::<lambda>() Line 1408	C++
 	blender.exe!tbb::internal::function_task<std::function<void __cdecl(void)>>::execute() Line 1049	C++
 	[External Code]	

I can confirm in a Release build. ``` Exception thrown at 0x00007FF6F3B0CD68 in blender.exe: 0xC0000005: Access violation reading location 0x0000028812499524. ``` ```lines blender.exe!embree::avx::TriangleMi<4>::loadTriangle(int,class embree::Scene const * const) C++ blender.exe!embree::avx::BVHNIntersector1<4,1,1,struct embree::avx::ArrayIntersector1<struct embree::avx::TriangleMiIntersector1Pluecker<4,4,1> > >::intersect(struct embree::Accel::Intersectors const *,struct embree::RayHitK<1> &,struct embree::IntersectContext *) C++ blender.exe!embree::avx2::InstanceIntersector1::intersect(struct embree::avx2::InstanceIntersector1::Precalculations const &,struct embree::RayHitK<1> &,struct embree::IntersectContext *,struct embree::InstancePrimitive const &) C++ blender.exe!embree::avx2::BVHNIntersector1<4,1,0,struct embree::avx2::ArrayIntersector1<struct embree::avx2::InstanceIntersector1> >::intersect(struct embree::Accel::Intersectors const *,struct embree::RayHitK<1> &,struct embree::IntersectContext *) C++ blender.exe!rtcIntersect1() C++ > blender.exe!ccl::scene_intersect(ccl::KernelGlobals * kg, const ccl::Ray * ray, const unsigned int visibility, ccl::Intersection * isect) Line 208 C++ blender.exe!ccl::kernel_path_scene_intersect(ccl::KernelGlobals * kg, ccl::PathState * state, ccl::Ray * ray, ccl::Intersection * isect, ccl::PathRadiance * L) Line 72 C++ blender.exe!ccl::kernel_path_integrate(ccl::KernelGlobals * kg, ccl::PathState * state, ccl::float3 throughput, ccl::Ray * ray, ccl::PathRadiance * L, float * buffer, ccl::ShaderData * emission_sd) Line 533 C++ blender.exe!ccl::kernel_path_trace(ccl::KernelGlobals * kg, float * buffer, int sample, int x, int y, int offset, int stride) Line 694 C++ blender.exe!ccl::kernel_cpu_avx2_path_trace(ccl::KernelGlobals * kg, float * buffer, int sample, int x, int y, int offset, int stride) Line 99 C++ blender.exe!ccl::CPUDevice::render(ccl::DeviceTask & task, ccl::RenderTile & tile, ccl::KernelGlobals * kg) Line 914 C++ blender.exe!ccl::CPUDevice::thread_render(ccl::DeviceTask & task) Line 1268 C++ blender.exe!ccl::CPUDevice::task_add::__l15::<lambda>() Line 1408 C++ blender.exe!tbb::internal::function_task<std::function<void __cdecl(void)>>::execute() Line 1049 C++ [External Code] ```
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Evan Wilson self-assigned this 2020-10-23 19:52:28 +02:00
Member

I reproduced this bug in the latest daily build e4728d0a16.
It has been fixed by 6d8e03ddd9, which will be in tomorrow's daily build at the following link:
https://builder.blender.org/download/

If the problem persists, please let us know so we can re-open the report. Don't forget to mention the specific version you tested again.

I reproduced this bug in the latest daily build e4728d0a16. It has been fixed by 6d8e03ddd9, which will be in tomorrow's daily build at the following link: https://builder.blender.org/download/ If the problem persists, please let us know so we can re-open the report. Don't forget to mention the specific version you tested again.
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
3 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#80306
No description provided.