Page MenuHome

Instant crash with Cycle, Displacement and open shading language
Closed, ResolvedPublicBUG

Description

System Information

Operating system:
Win 7 pro sp1

Graphics card:
GTX 1660

Blender Version
blender-2.82-c6ba94133934-windows64 Dec 14 2019

Short description of error

Step to reproduce :
Open the file,


Set the viewport to cycle/render
Drag a new picture to the shader editor and plug it to the displacement height node
If the displacement mode is set to Displacement and bump and OSL is activated in the render properties, i've got an instant crash

This bug dosen't occur with Blender 2.81

Event Timeline

Francois Rimasson (ffrima) renamed this task from Instant crash with Displacement and open shading language to Instant crash with Cycle, Displacement and open shading language .Dec 14 2019, 1:35 PM
Francois Rimasson (ffrima) updated the task description. (Show Details)

Edit:
No crash in rB4659fa547166
Crash in rBda6929488a64
Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2

Germano Cavalcante (mano-wii) lowered the priority of this task from 90 to High.

The crash doesn't happen every time, but it looks like it was introduced in rBc30d6571bb47

It happens on this line, because slot is -1:
https://developer.blender.org/diffusion/B/browse/master/intern/cycles/render/image.cpp$1036