Regression: Geometry Nodes: Merge by Distance node crashes #112909

Closed
opened 2023-09-26 16:08:22 +02:00 by Oliver-Mieth · 7 comments

System Information
Operating system: Windows 10 ; Linux Mint
Graphics card: 3090Ti; None

Blender Version
Broken: Blender Versions above 3.6 ( example version: 3.6.3, branch: blender-v3.6-release, commit date: 2023-09-21 06:06, hash: d3e6b08276, type: release ) (crashes persist since 3.6; also in 4.0a)
Worked: 3.5.1 (version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-25 13:50, hash: 6ee8aa4997, type: release)

Short description of error
The Geometry Nodes set-up provided in the blend-file, results in crashes since 3.6; worked fine before (3.5.1 latest working version i tested). I suppose it has to do with the 'Merge by Distance' -Node, in the 'All' -mode ; 'connected doesn't seem to crash;
I've reduced the Nodes to these 7, while retaining it crashing. (originally this was part of a larger draw-able wall-generator)

I've tested in 3.6.1; 3.6.2; and 3.6.3 as well as 4.0 alpha. Keeps crashing, while it was stable, from as far as I know: 3.3 - 3.5.1
Also I was able to reproduce the error on my Linux laptop.

Exact steps for others to reproduce the error
Open the attached file in Blender 3.6 and above.
Move the Bezier Curve (or change parameters somewhere), recompute.
-> Crash

Let me know if i can provide anything else, to help.

**System Information** Operating system: Windows 10 ; Linux Mint Graphics card: 3090Ti; None **Blender Version** Broken: Blender Versions above 3.6 ( example version: 3.6.3, branch: blender-v3.6-release, commit date: 2023-09-21 06:06, hash: d3e6b08276ba, type: release ) (crashes persist since 3.6; also in 4.0a) Worked: 3.5.1 (version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-25 13:50, hash: 6ee8aa4997ee, type: release) **Short description of error** The Geometry Nodes set-up provided in the blend-file, results in crashes since 3.6; worked fine before (3.5.1 latest working version i tested). I suppose it has to do with the 'Merge by Distance' -Node, in the 'All' -mode ; 'connected doesn't seem to crash; I've reduced the Nodes to these 7, while retaining it crashing. (originally this was part of a larger draw-able wall-generator) I've tested in 3.6.1; 3.6.2; and 3.6.3 as well as 4.0 alpha. Keeps crashing, while it was stable, from as far as I know: 3.3 - 3.5.1 Also I was able to reproduce the error on my Linux laptop. **Exact steps for others to reproduce the error** Open the attached file in Blender 3.6 and above. Move the Bezier Curve (or change parameters somewhere), recompute. -> Crash <video src="/attachments/71c6f2e7-b3ea-400d-be3f-4fae66b9e923" title="BugReportGN_MergeByDsitance0001-0290.mp4" controls></video> Let me know if i can provide anything else, to help.
Oliver-Mieth added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-09-26 16:08:23 +02:00

Probably the same issue that I have reported here but with the weld modifier:
#112922

Probably the same issue that I have reported here but with the weld modifier: https://projects.blender.org/blender/blender/issues/112922
Iliya Katushenock added the
Interest
Geometry Nodes
Interest
Nodes & Physics
labels 2023-09-26 22:13:15 +02:00
Iliya Katushenock added this to the 3.6 LTS milestone 2023-09-26 22:13:20 +02:00
Iliya Katushenock changed title from Geometry Nodes Regression 3.6 - 'Merge by Distance'-Node Crashes to Regression: Geometry Nodes: Merge by Distance node crashes 2023-09-26 22:13:38 +02:00
Contributor

Can confirm.
Blender 3.6.4, Win 11

Can confirm. Blender 3.6.4, Win 11
Member

Thanks for the report. I can confirm the crash.

Probably the same issue that I have reported here but with the weld modifier: #112922

Call stack is different in both the cases

Thanks for the report. I can confirm the crash. > Probably the same issue that I have reported here but with the weld modifier: #112922 Call stack is different in both the cases
Member

Lite build is crashing while reading the file, so I won't be able to bisect.
@lichtwerk ^

Memoryblock CDMIntProperty: end corrupt

Call Stack

Stack trace:
blender.exe :0x00007FF76A9B7A80 BLI_memarena_alloc
blender.exe :0x00007FF76A8E5B30 blender::bke::mesh::mesh_calc_tessellation_for_face_with_normal_fn
blender.exe :0x00007FF76A9B5CB0 BLI_task_parallel_range
blender.exe :0x00007FF76A8E4700 blender::bke::mesh::looptris_calc_all
blender.exe :0x00007FF76A8E4A40 blender::bke::mesh::looptris_calc_with_normals
blender.exe :0x00007FF76A754370 blender::FunctionRef<void __cdecl(blender::Array<MLoopTri,4,blender::GuardedAllocator> &)>::callbac
tbb.dll :0x00007FFDD0744FD0 tbb::interface7::internal::isolate_within_arena
blender.exe :0x00007FF76A9C3020 blender::CacheMutex::ensure
blender.exe :0x00007FF76A755580 Mesh::looptris
blender.exe :0x00007FF76ABB3290 mesh_render_data_update_looptris
blender.exe :0x00007FF76ABB1590 blender::draw::mesh_extract_render_data_node_exec
blender.exe :0x00007FF76EC82AF0 BLI_task_graph_node_push_work
blender.exe :0x00007FF76ABAEF80 blender::draw::mesh_buffer_cache_create_requested
blender.exe :0x00007FF76AB7FCB0 DRW_mesh_batch_cache_create_requested
blender.exe :0x00007FF76AB73C10 drw_batch_cache_generate_requested
blender.exe :0x00007FF76AB3E680 drw_engines_cache_populate
blender.exe :0x00007FF76AB40C60 DRW_draw_render_loop_ex
blender.exe :0x00007FF76AB42030 DRW_draw_view
blender.exe :0x00007FF76B657EC0 view3d_main_region_draw
blender.exe :0x00007FF76AE745C0 ED_region_do_draw
blender.exe :0x00007FF76AA21E70 wm_draw_window_offscreen
blender.exe :0x00007FF76AA21CA0 wm_draw_window
blender.exe :0x00007FF76AA216E0 wm_draw_update
blender.exe :0x00007FF76A9F13E0 WM_main
blender.exe :0x00007FF76A45A970 main
blender.exe :0x00007FF76EB99DA4 __scrt_common_main_seh
KERNEL32.DLL :0x00007FFDD83A5590 BaseThreadInitThunk
ntdll.dll :0x00007FFDD8D24830 RtlUserThreadStart

Lite build is crashing while reading the file, so I won't be able to bisect. @lichtwerk ^ `Memoryblock CDMIntProperty: end corrupt` <details> <summary> Call Stack </summary> Stack trace: blender.exe :0x00007FF76A9B7A80 BLI_memarena_alloc blender.exe :0x00007FF76A8E5B30 blender::bke::mesh::mesh_calc_tessellation_for_face_with_normal_fn blender.exe :0x00007FF76A9B5CB0 BLI_task_parallel_range blender.exe :0x00007FF76A8E4700 blender::bke::mesh::looptris_calc_all blender.exe :0x00007FF76A8E4A40 blender::bke::mesh::looptris_calc_with_normals blender.exe :0x00007FF76A754370 blender::FunctionRef<void __cdecl(blender::Array<MLoopTri,4,blender::GuardedAllocator> &)>::callbac tbb.dll :0x00007FFDD0744FD0 tbb::interface7::internal::isolate_within_arena blender.exe :0x00007FF76A9C3020 blender::CacheMutex::ensure blender.exe :0x00007FF76A755580 Mesh::looptris blender.exe :0x00007FF76ABB3290 mesh_render_data_update_looptris blender.exe :0x00007FF76ABB1590 blender::draw::mesh_extract_render_data_node_exec blender.exe :0x00007FF76EC82AF0 BLI_task_graph_node_push_work blender.exe :0x00007FF76ABAEF80 blender::draw::mesh_buffer_cache_create_requested blender.exe :0x00007FF76AB7FCB0 DRW_mesh_batch_cache_create_requested blender.exe :0x00007FF76AB73C10 drw_batch_cache_generate_requested blender.exe :0x00007FF76AB3E680 drw_engines_cache_populate blender.exe :0x00007FF76AB40C60 DRW_draw_render_loop_ex blender.exe :0x00007FF76AB42030 DRW_draw_view blender.exe :0x00007FF76B657EC0 view3d_main_region_draw blender.exe :0x00007FF76AE745C0 ED_region_do_draw blender.exe :0x00007FF76AA21E70 wm_draw_window_offscreen blender.exe :0x00007FF76AA21CA0 wm_draw_window blender.exe :0x00007FF76AA216E0 wm_draw_update blender.exe :0x00007FF76A9F13E0 WM_main blender.exe :0x00007FF76A45A970 main blender.exe :0x00007FF76EB99DA4 __scrt_common_main_seh KERNEL32.DLL :0x00007FFDD83A5590 BaseThreadInitThunk ntdll.dll :0x00007FFDD8D24830 RtlUserThreadStart </details>
Pratik Borhade added
Priority
High
and removed
Priority
Normal
labels 2023-09-27 05:12:12 +02:00
Member

Assume this is caused by 6ec842c43c (and a0c5467b7d didnt help).
Will double-check.

Assume this is caused by 6ec842c43ce3 (and a0c5467b7da9 didnt help). Will double-check.
Member

Assume this is caused by 6ec842c43c (and a0c5467b7d didnt help).
Will double-check.

Confirmed.

CC @mano-wii

> Assume this is caused by 6ec842c43ce3 (and a0c5467b7da9 didnt help). > Will double-check. Confirmed. CC @mano-wii
Philipp Oeser added
Module
Modeling
Interest
Nodes & Physics
and removed
Module
Nodes & Physics
Interest
Modeling
labels 2023-09-27 10:26:09 +02:00
Hans Goudey added
Type
Bug
and removed
Type
Report
labels 2023-09-27 16:19:45 +02:00

Resolved by 48204b630c

Resolved by 48204b630c
Germano Cavalcante added
Status
Resolved
and removed
Status
Confirmed
labels 2023-09-27 18:35:13 +02:00
Blender Bot added
Status
Archived
and removed
Status
Resolved
labels 2023-09-27 18:35:48 +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
6 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#112909
No description provided.