Single point NURBS crash in resample node #93521

Closed
opened 2021-11-30 18:28:38 +01:00 by Diogo Valadares Reis dos Santos · 14 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: AMD Radeon RX 5700 XT ATI Technologies Inc. 4.5.14802 Core Profile Context 21.11.2 30.0.14005.1000

Blender Version
Broken: version: 3.0.0 Release Candidate, branch: master, commit date: 2021-11-27 18:08, hash: d2e6087335

Short description of error
if you resample a curve that only has one point twice, and then try to capture an atribute between those resamples, blender will crash

Exact steps for others to reproduce the error

  • Open file below, duplicate a single curve vertice with shift+d.
  • Connect the capture atribute in the nodes and try to duplicate a vertice with shift+d again.

2021-11-30 16-03-16.mp4
crash.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: AMD Radeon RX 5700 XT ATI Technologies Inc. 4.5.14802 Core Profile Context 21.11.2 30.0.14005.1000 **Blender Version** Broken: version: 3.0.0 Release Candidate, branch: master, commit date: 2021-11-27 18:08, hash: `d2e6087335` **Short description of error** if you resample a curve that only has one point twice, and then try to capture an atribute between those resamples, blender will crash **Exact steps for others to reproduce the error** - Open file below, duplicate a single curve vertice with shift+d. - Connect the capture atribute in the nodes and try to duplicate a vertice with shift+d again. [2021-11-30 16-03-16.mp4](https://archive.blender.org/developer/F12669662/2021-11-30_16-03-16.mp4) [crash.blend](https://archive.blender.org/developer/F12669563/crash.blend)

Added subscriber: @Diogo_Valadares

Added subscriber: @Diogo_Valadares
Member

Added subscribers: @HooglyBoogly, @JacquesLucke

Added subscribers: @HooglyBoogly, @JacquesLucke
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

I can't reproduce the issue. Please try again with the newest 3.0 build.

I can't reproduce the issue. Please try again with the newest 3.0 build.

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

yes, it still crashes in the last build (not sure why steam build wasn't updated yet). I tried default settings and it also crashes. I'll update the description with a better description and a video

yes, it still crashes in the last build (not sure why steam build wasn't updated yet). I tried default settings and it also crashes. I'll update the description with a better description and a video
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

Hi, thanks for the report. Can reproduce crash on master(2f7bec04e8e7e423f11767535b469cdeb5062b14) and 3.0.0 (2fb8c6805a98)

blender.exe         :0x00007FF6CDFDEFC0  blender::fn::cpp_type_util::relocate_assign_cb<float> C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\functions\FN_cpp_type_make.hh:48
blender.exe         :0x00007FF6CDB63BE0  blender::FunctionRef<bool __cdecl(blender::bke::AttributeIDRef const &,AttributeMetaData const &)>: C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenlib\BLI_function_ref.hh:107
blender.exe         :0x00007FF6CD643060  blender::bke::CustomDataAttributes::foreach_attribute C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\attribute_access.cc:830
blender.exe         :0x00007FF6CDB6EAE0  blender::nodes::node_geo_curve_resample_cc::resample_spline C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\nodes\geometry\nodes\node_geo_curve_resample.cc:100
blender.exe         :0x00007FF6CDB6E4B0  blender::nodes::node_geo_curve_resample_cc::resample_curve C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\nodes\geometry\nodes\node_geo_curve_resample.cc:189
blender.exe         :0x00007FF6CDB63260  blender::FunctionRef<void __cdecl(GeometrySet &)>::callback_fn<<lambda_0d43a6401e81cab40671b74ad114 C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenlib\BLI_function_ref.hh:107
blender.exe         :0x00007FF6CD5CBC30  GeometrySet::modify_geometry_sets C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\geometry_set.cc:592
blender.exe         :0x00007FF6CDB6C580  blender::nodes::node_geo_curve_resample_cc::node_geo_exec C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\nodes\geometry\nodes\node_geo_curve_resample.cc:285
blender.exe         :0x00007FF6CD922070  blender::modifiers::geometry_nodes::GeometryNodesEvaluator::execute_node C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:937
blender.exe         :0x00007FF6CD924C30  blender::modifiers::geometry_nodes::GeometryNodesEvaluator::run_node_from_task_pool C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:733
blender.exe         :0x00007FF6CE133360  BLI_task_pool_push C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenlib\intern\task_pool.cc:485
blender.exe         :0x00007FF6CD91DAA0  blender::modifiers::geometry_nodes::GeometryNodesEvaluator::with_locked_node<<lambda_531922ecfeaca7 C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:1710
blender.exe         :0x00007FF6CD91DE10  blender::modifiers::geometry_nodes::GeometryNodesEvaluator::with_locked_node<<lambda_97e59d60c46e6e C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:1704
blender.exe         :0x00007FF6CD924E10  blender::modifiers::geometry_nodes::GeometryNodesEvaluator::schedule_initial_nodes C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:668
blender.exe         :0x00007FF6CD920A40  blender::modifiers::geometry_nodes::GeometryNodesEvaluator::execute C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:473
blender.exe         :0x00007FF6CD9208B0  blender::modifiers::geometry_nodes::evaluate_geometry_nodes C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:1923
blender.exe         :0x00007FF6CD8E0080  compute_geometry C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes.cc:1014
blender.exe         :0x00007FF6CD8E29B0  modifyGeometry C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes.cc:1122
blender.exe         :0x00007FF6CD5947E0  curve_calc_modifiers_post C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\displist.cc:901
blender.exe         :0x00007FF6CD595660  evaluate_curve_type_object C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\displist.cc:1490
blender.exe         :0x00007FF6CD597370  BKE_displist_make_curveTypes C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\displist.cc:1515
blender.exe         :0x00007FF6CD62B490  BKE_object_handle_data_update C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\object_update.c:228
blender.exe         :0x00007FF6CD62B220  BKE_object_eval_uber_data C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\object_update.c:401
blender.exe         :0x00007FF6CD810B40  blender::deg::`anonymous namespace'::evaluate_node C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\depsgraph\intern\eval\deg_eval.cc:120
blender.exe         :0x00007FF6CD810AF0  blender::deg::`anonymous namespace'::deg_task_run_func C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\depsgraph\intern\eval\deg_eval.cc:132
blender.exe         :0x00007FF6CE133480  BLI_task_pool_work_and_wait C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenlib\intern\task_pool.cc:500
blender.exe         :0x00007FF6CD810670  blender::deg::deg_evaluate_on_refresh C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\depsgraph\intern\eval\deg_eval.cc:408
blender.exe         :0x00007FF6CD4EF360  scene_graph_update_tagged C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\scene.c:2613
blender.exe         :0x00007FF6CD42FDD0  wm_event_do_notifiers C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:622
blender.exe         :0x00007FF6CD4197F0  WM_main C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm.c:660
blender.exe         :0x00007FF6CD414FD0  main C:\Users\Pratik\Desktop\BlenderOSP\blender\source\creator\creator.c:563
blender.exe         :0x00007FF6CE20F528  __scrt_common_main_seh d:\A01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
KERNEL32.DLL        :0x00007FF8D9FD7020  BaseThreadInitThunk
ntdll.dll           :0x00007FF8DABE2630  RtlUserThreadStart```
Hi, thanks for the report. Can reproduce crash on master(`2f7bec04e8e7e423f11767535b469cdeb5062b14`) and 3.0.0 (`2fb8c6805a98`) ```lines blender.exe :0x00007FF6CDFDEFC0 blender::fn::cpp_type_util::relocate_assign_cb<float> C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\functions\FN_cpp_type_make.hh:48 blender.exe :0x00007FF6CDB63BE0 blender::FunctionRef<bool __cdecl(blender::bke::AttributeIDRef const &,AttributeMetaData const &)>: C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenlib\BLI_function_ref.hh:107 blender.exe :0x00007FF6CD643060 blender::bke::CustomDataAttributes::foreach_attribute C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\attribute_access.cc:830 blender.exe :0x00007FF6CDB6EAE0 blender::nodes::node_geo_curve_resample_cc::resample_spline C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\nodes\geometry\nodes\node_geo_curve_resample.cc:100 blender.exe :0x00007FF6CDB6E4B0 blender::nodes::node_geo_curve_resample_cc::resample_curve C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\nodes\geometry\nodes\node_geo_curve_resample.cc:189 blender.exe :0x00007FF6CDB63260 blender::FunctionRef<void __cdecl(GeometrySet &)>::callback_fn<<lambda_0d43a6401e81cab40671b74ad114 C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenlib\BLI_function_ref.hh:107 blender.exe :0x00007FF6CD5CBC30 GeometrySet::modify_geometry_sets C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\geometry_set.cc:592 blender.exe :0x00007FF6CDB6C580 blender::nodes::node_geo_curve_resample_cc::node_geo_exec C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\nodes\geometry\nodes\node_geo_curve_resample.cc:285 blender.exe :0x00007FF6CD922070 blender::modifiers::geometry_nodes::GeometryNodesEvaluator::execute_node C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:937 blender.exe :0x00007FF6CD924C30 blender::modifiers::geometry_nodes::GeometryNodesEvaluator::run_node_from_task_pool C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:733 blender.exe :0x00007FF6CE133360 BLI_task_pool_push C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenlib\intern\task_pool.cc:485 blender.exe :0x00007FF6CD91DAA0 blender::modifiers::geometry_nodes::GeometryNodesEvaluator::with_locked_node<<lambda_531922ecfeaca7 C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:1710 blender.exe :0x00007FF6CD91DE10 blender::modifiers::geometry_nodes::GeometryNodesEvaluator::with_locked_node<<lambda_97e59d60c46e6e C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:1704 blender.exe :0x00007FF6CD924E10 blender::modifiers::geometry_nodes::GeometryNodesEvaluator::schedule_initial_nodes C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:668 blender.exe :0x00007FF6CD920A40 blender::modifiers::geometry_nodes::GeometryNodesEvaluator::execute C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:473 blender.exe :0x00007FF6CD9208B0 blender::modifiers::geometry_nodes::evaluate_geometry_nodes C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes_evaluator.cc:1923 blender.exe :0x00007FF6CD8E0080 compute_geometry C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes.cc:1014 blender.exe :0x00007FF6CD8E29B0 modifyGeometry C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\modifiers\intern\MOD_nodes.cc:1122 blender.exe :0x00007FF6CD5947E0 curve_calc_modifiers_post C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\displist.cc:901 blender.exe :0x00007FF6CD595660 evaluate_curve_type_object C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\displist.cc:1490 blender.exe :0x00007FF6CD597370 BKE_displist_make_curveTypes C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\displist.cc:1515 blender.exe :0x00007FF6CD62B490 BKE_object_handle_data_update C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\object_update.c:228 blender.exe :0x00007FF6CD62B220 BKE_object_eval_uber_data C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\object_update.c:401 blender.exe :0x00007FF6CD810B40 blender::deg::`anonymous namespace'::evaluate_node C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\depsgraph\intern\eval\deg_eval.cc:120 blender.exe :0x00007FF6CD810AF0 blender::deg::`anonymous namespace'::deg_task_run_func C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\depsgraph\intern\eval\deg_eval.cc:132 blender.exe :0x00007FF6CE133480 BLI_task_pool_work_and_wait C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenlib\intern\task_pool.cc:500 blender.exe :0x00007FF6CD810670 blender::deg::deg_evaluate_on_refresh C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\depsgraph\intern\eval\deg_eval.cc:408 blender.exe :0x00007FF6CD4EF360 scene_graph_update_tagged C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\blenkernel\intern\scene.c:2613 blender.exe :0x00007FF6CD42FDD0 wm_event_do_notifiers C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:622 blender.exe :0x00007FF6CD4197F0 WM_main C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm.c:660 blender.exe :0x00007FF6CD414FD0 main C:\Users\Pratik\Desktop\BlenderOSP\blender\source\creator\creator.c:563 blender.exe :0x00007FF6CE20F528 __scrt_common_main_seh d:\A01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 KERNEL32.DLL :0x00007FF8D9FD7020 BaseThreadInitThunk ntdll.dll :0x00007FF8DABE2630 RtlUserThreadStart```
Member

I can reproduce the issue in 3.0 just by duplicating the selected vertex, no need to change the node tree.

I can reproduce the issue in 3.0 just by duplicating the selected vertex, no need to change the node tree.
Hans Goudey self-assigned this 2021-12-05 23:16:55 +01:00
Hans Goudey changed title from Capturing an atribute of a resampled curve point crashes blender to Single point NURBS crash in resample node 2021-12-06 05:36:53 +01:00

This issue was referenced by ee4ed99866

This issue was referenced by ee4ed99866fbb7ab048b637b2d71a872b7eef2b5
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

This issue was referenced by 669577a973

This issue was referenced by 669577a9736a0106df50985b67d2b7a0f08f9361

Hello, this problem or at least really similar one seems to happen again in 3.2 , could this thread be reopened?

Hello, this problem or at least really similar one seems to happen again in 3.2 , could this thread be reopened?
Thomas Dinges added this to the 3.0 milestone 2023-02-08 15:58:47 +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
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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
5 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#93521
No description provided.