Crash when using eyedropper from RGB color selection on empty image editor window. #73233

Closed
opened 2020-01-19 07:04:39 +01:00 by Jed · 6 comments

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: 3e11c4e63b
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. -_^

**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: `3e11c4e63b` 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. -_^
Author

Added subscriber: @RedRabbit-4

Added subscriber: @RedRabbit-4
Jed changed title 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. 2020-01-19 07:10:56 +01:00
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

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

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

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

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

This issue was referenced by 42360e64da

This issue was referenced by 42360e64dab6d61877898669eb711bcdd8eed504
Jeroen Bakker self-assigned this 2020-01-20 08:50:02 +01:00
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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#73233
No description provided.