Regression: Geometry Nodes: Crash when deleting Group Output inside a node group. #101642

Closed
opened 2022-10-06 12:02:03 +02:00 by Dalai Felinto · 8 comments

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-06 01:49, hash: 68ea6c85ab
Worked: 3.3

Caused by 4130f1e674

Short description of error
Crash when evaluating a node group that has no Node Group Output

Exact steps for others to reproduce the error
nodegroup.blend

  1. Add a node (e.g., Arc), connect to the Output
  2. Make a Node Group with it
  3. Delete its own Node Output

Or open the file and just delete the selected Group Output node. Note that if the nodegroup itself is not evaluated the crash doesn't happen.
You can also reproduce this bug by disconnecting the node group first, deleting its Group Output, and then connecting the node group to the top Group Output.

**Blender Version** Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-06 01:49, hash: `68ea6c85ab` Worked: 3.3 Caused by 4130f1e674 **Short description of error** Crash when evaluating a node group that has no Node Group Output **Exact steps for others to reproduce the error** [nodegroup.blend](https://archive.blender.org/developer/F13622446/nodegroup.blend) 1. Add a node (e.g., Arc), connect to the Output 2. Make a Node Group with it 3. Delete its own Node Output Or open the file and just delete the selected Group Output node. Note that if the nodegroup itself is not evaluated the crash doesn't happen. You can also reproduce this bug by disconnecting the node group first, deleting its Group Output, and then connecting the node group to the top Group Output.
Author
Owner

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Author
Owner

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

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

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

will check/bisect

will check/bisect
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Caused by 4130f1e674
In Debug builds, it also asserts here:

4   _BLI_assert_abort                                                                                                                                                                                                                                                                                                                     BLI_assert.c                    46   0xf3b29a3      
5   blender::fn::lazy_function::Executor::assert_expected_outputs_have_been_computed                                                                                                                                                                                                                                                      lazy_function_graph_executor.cc 740  0xca5c15a      
6   blender::fn::lazy_function::Executor::run_node_task(blender::fn::lazy_function::FunctionNode const&, blender::fn::lazy_function::CurrentTask&)::{lambda(blender::fn::lazy_function::LockedNode&)#2}::operator()(blender::fn::lazy_function::LockedNode&) const                                                                        lazy_function_graph_executor.cc 703  0xca5bce5      
7   blender::FunctionRef<void (blender::fn::lazy_function::LockedNode&)>::callback_fn<blender::fn::lazy_function::Executor::run_node_task(blender::fn::lazy_function::FunctionNode const&, blender::fn::lazy_function::CurrentTask&)::{lambda(blender::fn::lazy_function::LockedNode&)#2}>(long, blender::fn::lazy_function::LockedNode&) BLI_function_ref.hh             94   0xca5fc0c      
8   blender::FunctionRef<void (blender::fn::lazy_function::LockedNode&)>::operator()(blender::fn::lazy_function::LockedNode&) const                                                                                                                                                                                                       BLI_function_ref.hh             131  0xca5ec7d      
9   blender::fn::lazy_function::Executor::with_locked_node(blender::fn::lazy_function::Node const&, blender::fn::lazy_function::NodeState&, blender::fn::lazy_function::CurrentTask&, blender::FunctionRef<void (blender::fn::lazy_function::LockedNode&)>)                                                                               lazy_function_graph_executor.cc 581  0xca5b393      
10  blender::fn::lazy_function::Executor::run_node_task                                                                                                                                                                                                                                                                                   lazy_function_graph_executor.cc 700  0xca5bf0b      
11  blender::fn::lazy_function::Executor::run_task                                                                                                                                                                                                                                                                                        lazy_function_graph_executor.cc 611  0xca5b5a5      
12  blender::fn::lazy_function::Executor::execute                                                                                                                                                                                                                                                                                         lazy_function_graph_executor.cc 315  0xca59ab0      
13  blender::fn::lazy_function::GraphExecutor::execute_impl                                                                                                                                                                                                                                                                               lazy_function_graph_executor.cc 1184 0xca59224      
14  blender::fn::lazy_function::LazyFunction::execute                                                                                                                                                                                                                                                                                     FN_lazy_function.hh             326  0x16e64c5      
15  compute_geometry                                                                                                                                                                                                                                                                                                                      MOD_nodes.cc                    1183 0x16e1750      
16  modifyGeometry                                                                                                                                                                                                                                                                                                                        MOD_nodes.cc                    1305 0x16e1feb      
17  modifyGeometrySet                                                                                                                                                                                                                                                                                                                     MOD_nodes.cc                    1342 0x16e220a      
18  modifier_modify_mesh_and_geometry_set                                                                                                                                                                                                                                                                                                 DerivedMesh.cc                  626  0xdffc74       
19  mesh_calc_modifiers                                                                                                                                                                                                                                                                                                                   DerivedMesh.cc                  972  0xe00baf       
20  mesh_build_data                                                                                                                                                                                                                                                                                                                       DerivedMesh.cc                  1567 0xe02d12       
... <More> 

CC @JacquesLucke

Caused by 4130f1e674 In Debug builds, it also asserts here: ``` 4 _BLI_assert_abort BLI_assert.c 46 0xf3b29a3 5 blender::fn::lazy_function::Executor::assert_expected_outputs_have_been_computed lazy_function_graph_executor.cc 740 0xca5c15a 6 blender::fn::lazy_function::Executor::run_node_task(blender::fn::lazy_function::FunctionNode const&, blender::fn::lazy_function::CurrentTask&)::{lambda(blender::fn::lazy_function::LockedNode&)#2}::operator()(blender::fn::lazy_function::LockedNode&) const lazy_function_graph_executor.cc 703 0xca5bce5 7 blender::FunctionRef<void (blender::fn::lazy_function::LockedNode&)>::callback_fn<blender::fn::lazy_function::Executor::run_node_task(blender::fn::lazy_function::FunctionNode const&, blender::fn::lazy_function::CurrentTask&)::{lambda(blender::fn::lazy_function::LockedNode&)#2}>(long, blender::fn::lazy_function::LockedNode&) BLI_function_ref.hh 94 0xca5fc0c 8 blender::FunctionRef<void (blender::fn::lazy_function::LockedNode&)>::operator()(blender::fn::lazy_function::LockedNode&) const BLI_function_ref.hh 131 0xca5ec7d 9 blender::fn::lazy_function::Executor::with_locked_node(blender::fn::lazy_function::Node const&, blender::fn::lazy_function::NodeState&, blender::fn::lazy_function::CurrentTask&, blender::FunctionRef<void (blender::fn::lazy_function::LockedNode&)>) lazy_function_graph_executor.cc 581 0xca5b393 10 blender::fn::lazy_function::Executor::run_node_task lazy_function_graph_executor.cc 700 0xca5bf0b 11 blender::fn::lazy_function::Executor::run_task lazy_function_graph_executor.cc 611 0xca5b5a5 12 blender::fn::lazy_function::Executor::execute lazy_function_graph_executor.cc 315 0xca59ab0 13 blender::fn::lazy_function::GraphExecutor::execute_impl lazy_function_graph_executor.cc 1184 0xca59224 14 blender::fn::lazy_function::LazyFunction::execute FN_lazy_function.hh 326 0x16e64c5 15 compute_geometry MOD_nodes.cc 1183 0x16e1750 16 modifyGeometry MOD_nodes.cc 1305 0x16e1feb 17 modifyGeometrySet MOD_nodes.cc 1342 0x16e220a 18 modifier_modify_mesh_and_geometry_set DerivedMesh.cc 626 0xdffc74 19 mesh_calc_modifiers DerivedMesh.cc 972 0xe00baf 20 mesh_build_data DerivedMesh.cc 1567 0xe02d12 ... <More> ``` CC @JacquesLucke
Philipp Oeser changed title from Geometry Nodes: Crash when deleting Group Output inside a node group. to Regression: Geometry Nodes: Crash when deleting Group Output inside a node group. 2022-10-06 12:48:57 +02:00

This issue was referenced by 7abd79398d

This issue was referenced by 7abd79398d712be54935c01f1d2eefb5eaba64a9
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Jacques Lucke self-assigned this 2022-10-18 16:16:16 +02:00
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
4 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#101642
No description provided.