Page MenuHome

Crash when using eyedropper from RGB color selection on empty image editor window.
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.20

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-18 18:58, hash: rB3e11c4e63b2f
Worked: 2.81a

Short description of error
Using the eyedropper tool (tested using Base Color under Material Properties tab, as well as Principled Shader or RGB input node in Shader Editor), try to pick a color from either the UV Editor or Image Editor WITHOUT an image loaded. Doing so causes Blender to immediately crash.

Exact steps for others to reproduce the error

  1. Open up a fresh Blender scene and add a mesh of any kind if the default cube is not present (I added a new cube).
  2. Switch to the Shading workspace and assign the default material to your selected mesh.
  3. Ensure that either the Image Editor or UV Editor is visible ...
  4. Click either of the color fields from the Principled BSDF node (the same seems to occur with other nodes, too, such as the RGB input node), and use the color picker to select any part of the Image Editor or UV Editor window. Blender will now crash.

I have not seen this crash occur when picking colors from other window types, but have not tested every possibility. Either way, it seems that the color picker needs some kind of fallback should anyone try to pick an invalid target.

Also, the color picker works as expected without crashing when an image is present in the Image Editor or UV Editor. I only stumbled on this by chance because I wanted to see whether I could use the color picker in other windows. This crash does not seem to occur in Blender 2.81a - I've not tested 2.83 alpha.

Cheers for all the amazing work. -_^

Event Timeline

Jed (RedRabbit) renamed this task from Crash when using eyedropper from RGB color selection in material editor on empty image editor window. to Crash when using eyedropper from RGB color selection on empty image editor window..Jan 19 2020, 7:10 AM
Jeroen Bakker (jbakker) changed the task status from Needs Triage to Confirmed.EditedJan 20 2020, 8:33 AM
Jeroen Bakker (jbakker) changed the subtype of this task from "Report" to "Bug".

Is related to UDIM. it tries to get BKE_image_get_tile_from_pos from an non existing image. Will create a patch for review