Crash when trying to add a new Group input in a group that is already instanced(used in other node tree) #90118

Closed
opened 2021-07-25 11:49:57 +02:00 by Miro Horváth · 7 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.09

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-07-24 20:25, hash: aa32121174

Exact steps for others to reproduce the error
Crash.blend

  • select Plane and in the node tree drag the "Minimum Vertices" socket onto Group Input node to create a new input, you should get instant crash

Workaround

  • select Cube and in the node tree Mute the "A" Group node
  • select Plane and drag "Minimum Vertices" socket again
  • select Cube and unmute the "A" Group node
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.09 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-07-24 20:25, hash: `aa32121174` **Exact steps for others to reproduce the error** [Crash.blend](https://archive.blender.org/developer/F10236720/Crash.blend) - select Plane and in the node tree drag the "Minimum Vertices" socket onto Group Input node to create a new input, you should get instant crash Workaround - select Cube and in the node tree Mute the "A" Group node - select Plane and drag "Minimum Vertices" socket again - select Cube and unmute the "A" Group node
Author

Added subscriber: @MiroHorvath

Added subscriber: @MiroHorvath
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

Can confirm the crash.

 	blender.exe!_BLI_assert_abort() Line 62
	blender.exe!blender::Vector<blender::nodes::InputSocketRef *,4,blender::GuardedAllocator>::operator- [ ](__int64 index) Line 308
 	blender.exe!blender::nodes::NodeRef::input(int index) Line 506
 	blender.exe!blender::nodes::DOutputSocket::get_corresponding_group_node_input() Line 161
 	blender.exe!blender::nodes::DInputSocket::foreach_origin_socket(blender::FunctionRef<void __cdecl(blender::nodes::DSocket)> origin_fn) Line 200
 	blender.exe!blender::modifiers::geometry_nodes::GeometryNodesEvaluator::create_states_for_reachable_nodes() Line 427
 	blender.exe!blender::modifiers::geometry_nodes::GeometryNodesEvaluator::execute() Line 387
 	blender.exe!blender::modifiers::geometry_nodes::evaluate_geometry_nodes(blender::modifiers::geometry_nodes::GeometryNodesEvaluationParams & params) Line 1611
 	blender.exe!compute_geometry(const blender::nodes::DerivedNodeTree & tree, blender::Span<blender::nodes::NodeRef const *> group_input_nodes, const blender::nodes::InputSocketRef & socket_to_compute, GeometrySet input_geometry_set, NodesModifierData * nmd, const ModifierEvalContext * ctx) Line 919
 	blender.exe!modifyGeometry(ModifierData * md, const ModifierEvalContext * ctx, GeometrySet & geometry_set) Line 1014
 	blender.exe!modifyGeometrySet(ModifierData * md, const ModifierEvalContext * ctx, GeometrySet * geometry_set) Line 1042
 	blender.exe!modifier_modify_mesh_and_geometry_set(ModifierData * md, const ModifierEvalContext & mectx, Mesh * input_mesh, GeometrySet & geometry_set) Line 957
 	blender.exe!mesh_calc_modifiers(Depsgraph * depsgraph, Scene * scene, Object * ob, const bool use_deform, const bool need_mapping, const CustomData_MeshMasks * dataMask, const int index, const bool use_cache, const bool allow_shared_mesh, Mesh * * r_deform, Mesh * * r_final, GeometrySet * * r_geometry_set) Line 1292
 	blender.exe!mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping) Line 1935
 	blender.exe!makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask) Line 2065
 	blender.exe!BKE_object_handle_data_update(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 204
 	blender.exe!BKE_object_eval_uber_data(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 396
 	blender.exe!blender::deg::DepsgraphNodeBuilder::build_object_data_geometry::__l2::<lambda>(Depsgraph * depsgraph) Line 1486
 	[External Code]	
 	blender.exe!blender::deg::`anonymous namespace'::evaluate_node(const blender::deg::`anonymous-namespace'::DepsgraphEvalState * state, blender::deg::OperationNode * operation_node) Line 116
 	blender.exe!blender::deg::`anonymous namespace'::deg_task_run_func(TaskPool * pool, void * taskdata) Line 128
 	blender.exe!Task::operator()() Line 179
 	blender.exe!tbb_task_pool_run(TaskPool * pool, Task && task) Line 229
 	blender.exe!tbb_task_pool_work_and_wait(TaskPool * pool) Line 241
 	blender.exe!BLI_task_pool_work_and_wait(TaskPool * pool) Line 501
 	blender.exe!blender::deg::deg_evaluate_on_refresh(blender::deg::Depsgraph * graph) Line 401
 	blender.exe!deg_flush_updates_and_refresh(blender::deg::Depsgraph * deg_graph) Line 59
 	blender.exe!DEG_evaluate_on_refresh(Depsgraph * graph) Line 76
 	blender.exe!scene_graph_update_tagged(Depsgraph * depsgraph, Main * bmain, bool only_if_tagged) Line 2663
 	blender.exe!BKE_scene_graph_update_tagged(Depsgraph * depsgraph, Main * bmain) Line 2711
 	blender.exe!wm_event_do_depsgraph(bContext * C, bool is_after_open_file) Line 389
 	blender.exe!wm_event_do_refresh_wm_and_depsgraph(bContext * C) Line 415
 	blender.exe!wm_event_do_notifiers(bContext * C) Line 625
 	blender.exe!WM_main(bContext * C) Line 653
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 562
Can confirm the crash. ```Lines blender.exe!_BLI_assert_abort() Line 62 blender.exe!blender::Vector<blender::nodes::InputSocketRef *,4,blender::GuardedAllocator>::operator- [ ](__int64 index) Line 308 blender.exe!blender::nodes::NodeRef::input(int index) Line 506 blender.exe!blender::nodes::DOutputSocket::get_corresponding_group_node_input() Line 161 blender.exe!blender::nodes::DInputSocket::foreach_origin_socket(blender::FunctionRef<void __cdecl(blender::nodes::DSocket)> origin_fn) Line 200 blender.exe!blender::modifiers::geometry_nodes::GeometryNodesEvaluator::create_states_for_reachable_nodes() Line 427 blender.exe!blender::modifiers::geometry_nodes::GeometryNodesEvaluator::execute() Line 387 blender.exe!blender::modifiers::geometry_nodes::evaluate_geometry_nodes(blender::modifiers::geometry_nodes::GeometryNodesEvaluationParams & params) Line 1611 blender.exe!compute_geometry(const blender::nodes::DerivedNodeTree & tree, blender::Span<blender::nodes::NodeRef const *> group_input_nodes, const blender::nodes::InputSocketRef & socket_to_compute, GeometrySet input_geometry_set, NodesModifierData * nmd, const ModifierEvalContext * ctx) Line 919 blender.exe!modifyGeometry(ModifierData * md, const ModifierEvalContext * ctx, GeometrySet & geometry_set) Line 1014 blender.exe!modifyGeometrySet(ModifierData * md, const ModifierEvalContext * ctx, GeometrySet * geometry_set) Line 1042 blender.exe!modifier_modify_mesh_and_geometry_set(ModifierData * md, const ModifierEvalContext & mectx, Mesh * input_mesh, GeometrySet & geometry_set) Line 957 blender.exe!mesh_calc_modifiers(Depsgraph * depsgraph, Scene * scene, Object * ob, const bool use_deform, const bool need_mapping, const CustomData_MeshMasks * dataMask, const int index, const bool use_cache, const bool allow_shared_mesh, Mesh * * r_deform, Mesh * * r_final, GeometrySet * * r_geometry_set) Line 1292 blender.exe!mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping) Line 1935 blender.exe!makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask) Line 2065 blender.exe!BKE_object_handle_data_update(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 204 blender.exe!BKE_object_eval_uber_data(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 396 blender.exe!blender::deg::DepsgraphNodeBuilder::build_object_data_geometry::__l2::<lambda>(Depsgraph * depsgraph) Line 1486 [External Code] blender.exe!blender::deg::`anonymous namespace'::evaluate_node(const blender::deg::`anonymous-namespace'::DepsgraphEvalState * state, blender::deg::OperationNode * operation_node) Line 116 blender.exe!blender::deg::`anonymous namespace'::deg_task_run_func(TaskPool * pool, void * taskdata) Line 128 blender.exe!Task::operator()() Line 179 blender.exe!tbb_task_pool_run(TaskPool * pool, Task && task) Line 229 blender.exe!tbb_task_pool_work_and_wait(TaskPool * pool) Line 241 blender.exe!BLI_task_pool_work_and_wait(TaskPool * pool) Line 501 blender.exe!blender::deg::deg_evaluate_on_refresh(blender::deg::Depsgraph * graph) Line 401 blender.exe!deg_flush_updates_and_refresh(blender::deg::Depsgraph * deg_graph) Line 59 blender.exe!DEG_evaluate_on_refresh(Depsgraph * graph) Line 76 blender.exe!scene_graph_update_tagged(Depsgraph * depsgraph, Main * bmain, bool only_if_tagged) Line 2663 blender.exe!BKE_scene_graph_update_tagged(Depsgraph * depsgraph, Main * bmain) Line 2711 blender.exe!wm_event_do_depsgraph(bContext * C, bool is_after_open_file) Line 389 blender.exe!wm_event_do_refresh_wm_and_depsgraph(bContext * C) Line 415 blender.exe!wm_event_do_notifiers(bContext * C) Line 625 blender.exe!WM_main(bContext * C) Line 653 blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 562
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Hans Goudey self-assigned this 2021-11-09 23:09:13 +01:00
Member

I can't reproduce the crash anymore, it has probably been fixed. If the problem comes back, we can reopen this report. Thanks!

I can't reproduce the crash anymore, it has probably been fixed. If the problem comes back, we can reopen this report. Thanks!
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#90118
No description provided.