Regression: Crash during create Viewer node #105720

Closed
opened 2023-03-13 15:10:37 +01:00 by Jeroen Bakker · 2 comments
Member

System Information
Operating system: Linux-6.0.12-76060006-generic-x86_64-with-glibc2.35 64 Bits
Graphics card: AMD Radeon RX 5700 (navi10, LLVM 14.0.0, DRM 3.48, 6.0.12-76060006-generic) AMD 4.6 (Core Profile) Mesa 22.2.0

Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: Unknown Unknown, hash: 2ae9526cd973867d46c7a51054be01ae7f26043b
Worked: (newest version of Blender that worked as expected)

Potentially caused by: 076a33c

Short description of error
If the node was not the top one in the draw order (there are other nodes that overlap it), clicking on that node's socket to call the Viewer node's causes a crash.

Exact steps for others to reproduce the error
In debug build:

  1. Create new node tree (Geometry nodes or compositor).
  2. Create 2 random nodes.
  3. Click on first one. Now this node are on the top of space for drawing.
  4. Click on the socket of last one node for create Viewer (CTRL-SHIFT-click).
    Expected crash.
**System Information** Operating system: Linux-6.0.12-76060006-generic-x86_64-with-glibc2.35 64 Bits Graphics card: AMD Radeon RX 5700 (navi10, LLVM 14.0.0, DRM 3.48, 6.0.12-76060006-generic) AMD 4.6 (Core Profile) Mesa 22.2.0 **Blender Version** Broken: version: 3.6.0 Alpha, branch: main, commit date: Unknown Unknown, hash: `2ae9526cd973867d46c7a51054be01ae7f26043b` Worked: (newest version of Blender that worked as expected) Potentially caused by: 076a33c **Short description of error** If the node was not the top one in the draw order (there are other nodes that overlap it), clicking on that node's socket to call the Viewer node's causes a crash. **Exact steps for others to reproduce the error** In debug build: 1. Create new node tree (Geometry nodes or compositor). 2. Create 2 random nodes. 3. Click on first one. Now this node are on the top of space for drawing. 4. Click on the socket of last one node for create Viewer (`CTRL-SHIFT-click`). Expected crash.
Jeroen Bakker added this to the 3.6 LTS milestone 2023-03-13 15:10:37 +01:00
Jeroen Bakker added the
Severity
Normal
Type
Report
Status
Needs Triage
labels 2023-03-13 15:10:37 +01:00
Jeroen Bakker added this to the Module: Nodes & Physics project 2023-03-13 15:10:38 +01:00
Iliya Katushenock added the
Interest
Nodes & Physics
Interest
User Interface
labels 2023-03-13 15:29:39 +01:00
Iliya Katushenock added
Severity
High
Status
Confirmed
and removed
Severity
Normal
Status
Needs Triage
labels 2023-03-13 15:31:02 +01:00
Iliya Katushenock changed title from Crash, Switching Compositor Viewer node connection of older files to Regression: Crash, Switching Compositor Viewer node connection of older files 2023-03-13 15:31:09 +01:00

@HooglyBoogly Apparently, the composer tree does not have an initialized list of socket positions, if you follow the description

@HooglyBoogly Apparently, the composer tree does not have an initialized list of socket positions, if you follow the description

Click on node socket cause re-sorting nodes that clear socket positions. But redrawing didn't happening due to operator doesn't not finished yet and trying to get socket positions.
Possible solutions that i can see:

  1. Call another one node space redrawing after click but before other operator parts.
  2. ensure_socket_locations
  3. Do not cause sorting before other steps.
Click on node socket cause re-sorting nodes that clear socket positions. But redrawing didn't happening due to operator doesn't not finished yet and trying to get socket positions. Possible solutions that i can see: 1. ~~Call another one node space redrawing after click but before other operator parts.~~ 2. `ensure_socket_locations` 3. ~~Do not cause sorting before other steps.~~
Iliya Katushenock changed title from Regression: Crash, Switching Compositor Viewer node connection of older files to Regression: Crash during create Viewer node 2023-03-14 12:28:55 +01:00
Iliya Katushenock removed this from the Module: Nodes & Physics project 2023-03-14 15:57:03 +01:00
Iliya Katushenock added
Module
Nodes & Physics
and removed
Severity
High
Interest
Nodes & Physics
labels 2023-03-14 15:57:39 +01:00
Jacques Lucke added the
Severity
High
label 2023-03-18 12:54:57 +01:00
Hans Goudey added
Type
Bug
and removed
Type
Report
labels 2023-03-19 01:00:00 +01:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-03-19 07:03:17 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
2 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#105720
No description provided.