Cycles crashes when too many volumes overlap the camera
Open, ConfirmedPublic

Description

System Information
Windows 10, Dual Xeon 2660V2, 64GB RAM

Blender Version
Blender 2.79b + Blender master from 28th of May, 2018

Short description of error
When the camera is inside more than 15 nested volumes, a Cycles render can crash.

Exact steps for others to reproduce the error
Open the attached file. Press "Render" or the F12 key.

Details

Type
Bug

The root cause is that PathState.volume_stack is a fixed size array and kernel_volume_stack_init() does not perform any bounds checking when writing to that array.

Philipp Oeser (lichtwerk) triaged this task as Confirmed priority.May 29 2018, 9:41 AM