Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.92
Broken: version: 2.90 (sub 2), branch: master, commit date: 2020-05-20 20:56, hash: rB8a0840b0ee9a
Worked: (newest version of Blender that worked as expected)
Short description of error
blender crashes immediately after rendering if multiple render layers are connected to file output nodes
Exact steps for others to reproduce the error
Create a .blend file
set rendering to cuda gpu experimental and render size to 1080p
make a simple scene, box, monkey, light etc.
enable all main render passes (diffuse, glossy, transmission, environment, shadows, volume, denoising data)
make 9 linked copies of the scene (making 10 scenes in total)
place a different camera in each scene and set it as the render camera for that scene.
make an 11th empty scene for the compositor to live in
in the compositor add a render layer node and a file output node, connecting all of the render layer outputs to the file output node. Set the file output node exr multilayer full float rgba.
place 4 denoisers between the render layer node and the file output node
add a layout node and place all nodes inside of it
select the layout and duplicate it 9 times (making 10 in total)
change each of the file outputs to output a different file name
All the rendering will complete, but as soon as rendering completes it crashes, initially I thought this was because blender is trying to save all 10 exr's simultaneously rather than one at a time, but I'm guessing it's more likely that it's trying to run all denoise nodes simultaneously rather than one at a time?
My system is happy with around 3 instead of 10, so most likely down to trying to calculate expensive nodes simultaneously rather than sequentially.
example of my setup: