Blender crashes with meshes with zero length edges #92391

Closed
opened 2021-10-21 17:56:34 +02:00 by Paolo Furani · 8 comments

System Information
Operating system: Linux-4.15.0-159-generic-x86_64-with-glibc2.27 64 Bits
Graphics card: Mesa DRI Intel(R) HD Graphics 5500 (BDW GT2) Intel Open Source Technology Center 4.6 (Core Profile) Mesa 20.0.8

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-10-21 10:07, hash: e79e86018e
Worked: blender-2.83.19-candidate+v283.edee6f911c81

Short description of error
Hi I report this problem that occurs in Blender 3.0 and Blender 2.93LTS, when I apply the modifiers on an object with the Booleans that I created from several cylinders joined together, a main one joined to other two cylinders with a Boolean union obtained using the collections .




When I execute the Remesh command from the obtained object Blender goes into Crash, while if I recreate the same geometric composition in Blender 2.83 where the booleans with the collections are not supported the problem does not happen and the calculation of the Remesh command is successful and generates the new topology.

  • The modifier was applied to a copy of Cube with holes by using CTRL+A > Visual Geometry to Mesh

This is a report generated from this previous (https: //developer.blender.org/T92355) but which was not deemed a Remesh related bug by Sebastian Parborg, so I had to create this new report to fix this anyway.



Thanks for your attention and I hope this issue is addressed, as this does not happen with Blender 2.83.

crash report

# Blender 3.0.0, Commit date: 2021-10-21 10:07, Hash e79e86018e38
bpy.context.space_data.show_restrict_column_viewport = True  # Property
bpy.context.space_data.show_restrict_column_select = True  # Property
bpy.data.scenes["Scene"].(null) = False  # Property
bpy.data.scenes["Scene"].(null) = False  # Property
bpy.data.scenes["Scene"].(null) = True  # Property
bpy.data.scenes["Scene"].(null) = False  # Property
bpy.data.scenes["Scene"].(null) = True  # Property
bpy.data.scenes["Scene"].(null) = True  # Property
bpy.ops.object.duplicate_move(OBJECT_OT_duplicate={"linked":False, "mode":'TRANSLATION'}, TRANSFORM_OT_translate={"value":(0, 0, 0), "orient_axis_ortho":'X', "orient_type":'GLOBAL', "orient_matrix":((0, 0, 0), (0, 0, 0), (0, 0, 0)), "orient_matrix_type":'GLOBAL', "constraint_axis":(False, False, False), "mirror":False, "use_proportional_edit":False, "proportional_edit_falloff":'SMOOTH', "proportional_size":1, "use_proportional_connected":False, "use_proportional_projected":False, "snap":False, "snap_target":'CLOSEST', "snap_point":(0, 0, 0), "snap_align":False, "snap_normal":(0, 0, 0), "gpencil_strokes":False, "cursor_transform":False, "texture_space":False, "remove_on_cancel":False, "view2d_edge_pan":False, "release_confirm":False, "use_accurate":False, "use_automerge_and_split":False})  # Operator
bpy.ops.object.duplicates_make_real()  # Operator
bpy.ops.object.convert(target='MESH')  # Operator
bpy.ops.transform.translate(value=(-4, -0, -0), orient_axis_ortho='X', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(True, False, False), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False)  # Operator
bpy.ops.transform.translate(value=(1, 0, 0), orient_axis_ortho='X', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(True, False, False), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False)  # Operator
Saved "retopology-experiments.blend"  # Info
bpy.context.space_data.context = 'DATA'  # Property
bpy.context.object.data.remesh_mode = 'QUAD'  # Property
bpy.data.window_managers["WinMan"].(null) = False  # Property
bpy.data.window_managers["WinMan"].(null) = True  # Property
bpy.data.window_managers["WinMan"].(null) = True  # Property
bpy.ops.object.quadriflow_remesh(use_mesh_symmetry=False, use_preserve_sharp=True, use_preserve_boundary=True)  # Operator

# backtrace
/home/pafu/Software/blender-3.0.0/blender(BLI_system_backtrace+0x20) [0xafd5480]
/home/pafu/Software/blender-3.0.0/blender() [0x10a9d6b]
/lib/x86_64-linux-gnu/libc.so.6(+0x3f040) [0x7f87e6131040]
/home/pafu/Software/blender-3.0.0/blender(AUD_Device_getRate+0x3d) [0x9d4678d]
/home/pafu/Software/blender-3.0.0/blender(BKE_sound_scene_playing+0x20) [0x1199690]
/home/pafu/Software/blender-3.0.0/blender(wm_event_do_handlers+0xa6) [0x14a8b96]
/home/pafu/Software/blender-3.0.0/blender(WM_main+0x20) [0x149edb0]
/home/pafu/Software/blender-3.0.0/blender(main+0x31e) [0xf9287e]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f87e6113bf7]
/home/pafu/Software/blender-3.0.0/blender() [0x10a66cc]

# Python backtrace

Exact steps for others to reproduce the error

  • Open .blend file
  • Select the cube on the left with the modifiers applied 

and perform the procedure below
  • {nav Object Data Properties > Remesh > Quad > QuadriFlow Remesh}
  • Refer image for the settings
    quad-remsh-bug.png
    retopology-experiments.blend

This is the same file but I've remade the boolean without collection that is not supported by 2.83LTS and works fine
remesh-B2.83lts.blend

**System Information** Operating system: Linux-4.15.0-159-generic-x86_64-with-glibc2.27 64 Bits Graphics card: Mesa DRI Intel(R) HD Graphics 5500 (BDW GT2) Intel Open Source Technology Center 4.6 (Core Profile) Mesa 20.0.8 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-10-21 10:07, hash: `e79e86018e` Worked: blender-2.83.19-candidate+v283.edee6f911c81 **Short description of error** Hi I report this problem that occurs in Blender 3.0 and Blender 2.93LTS, when I apply the modifiers on an object with the Booleans that I created from several cylinders joined together, a main one joined to other two cylinders with a Boolean union obtained using the collections .


 When I execute the Remesh command from the obtained object Blender goes into Crash, while if I recreate the same geometric composition in Blender 2.83 where the booleans with the collections are not supported the problem does not happen and the calculation of the Remesh command is successful and generates the new topology. - The modifier was applied to a copy of Cube with holes by using **CTRL+A** > **Visual Geometry to Mesh** This is a report generated from this previous (https: //developer.blender.org/T92355) but which was not deemed a Remesh related bug by Sebastian Parborg, so I had to create this new report to fix this anyway. 

Thanks for your attention and I hope this issue is addressed, as this does not happen with Blender 2.83. **crash report** ``` # Blender 3.0.0, Commit date: 2021-10-21 10:07, Hash e79e86018e38 bpy.context.space_data.show_restrict_column_viewport = True # Property bpy.context.space_data.show_restrict_column_select = True # Property bpy.data.scenes["Scene"].(null) = False # Property bpy.data.scenes["Scene"].(null) = False # Property bpy.data.scenes["Scene"].(null) = True # Property bpy.data.scenes["Scene"].(null) = False # Property bpy.data.scenes["Scene"].(null) = True # Property bpy.data.scenes["Scene"].(null) = True # Property bpy.ops.object.duplicate_move(OBJECT_OT_duplicate={"linked":False, "mode":'TRANSLATION'}, TRANSFORM_OT_translate={"value":(0, 0, 0), "orient_axis_ortho":'X', "orient_type":'GLOBAL', "orient_matrix":((0, 0, 0), (0, 0, 0), (0, 0, 0)), "orient_matrix_type":'GLOBAL', "constraint_axis":(False, False, False), "mirror":False, "use_proportional_edit":False, "proportional_edit_falloff":'SMOOTH', "proportional_size":1, "use_proportional_connected":False, "use_proportional_projected":False, "snap":False, "snap_target":'CLOSEST', "snap_point":(0, 0, 0), "snap_align":False, "snap_normal":(0, 0, 0), "gpencil_strokes":False, "cursor_transform":False, "texture_space":False, "remove_on_cancel":False, "view2d_edge_pan":False, "release_confirm":False, "use_accurate":False, "use_automerge_and_split":False}) # Operator bpy.ops.object.duplicates_make_real() # Operator bpy.ops.object.convert(target='MESH') # Operator bpy.ops.transform.translate(value=(-4, -0, -0), orient_axis_ortho='X', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(True, False, False), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False) # Operator bpy.ops.transform.translate(value=(1, 0, 0), orient_axis_ortho='X', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(True, False, False), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False) # Operator Saved "retopology-experiments.blend" # Info bpy.context.space_data.context = 'DATA' # Property bpy.context.object.data.remesh_mode = 'QUAD' # Property bpy.data.window_managers["WinMan"].(null) = False # Property bpy.data.window_managers["WinMan"].(null) = True # Property bpy.data.window_managers["WinMan"].(null) = True # Property bpy.ops.object.quadriflow_remesh(use_mesh_symmetry=False, use_preserve_sharp=True, use_preserve_boundary=True) # Operator # backtrace /home/pafu/Software/blender-3.0.0/blender(BLI_system_backtrace+0x20) [0xafd5480] /home/pafu/Software/blender-3.0.0/blender() [0x10a9d6b] /lib/x86_64-linux-gnu/libc.so.6(+0x3f040) [0x7f87e6131040] /home/pafu/Software/blender-3.0.0/blender(AUD_Device_getRate+0x3d) [0x9d4678d] /home/pafu/Software/blender-3.0.0/blender(BKE_sound_scene_playing+0x20) [0x1199690] /home/pafu/Software/blender-3.0.0/blender(wm_event_do_handlers+0xa6) [0x14a8b96] /home/pafu/Software/blender-3.0.0/blender(WM_main+0x20) [0x149edb0] /home/pafu/Software/blender-3.0.0/blender(main+0x31e) [0xf9287e] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f87e6113bf7] /home/pafu/Software/blender-3.0.0/blender() [0x10a66cc] # Python backtrace ``` **Exact steps for others to reproduce the error** - Open .blend file - Select the cube on the left with the modifiers applied 

and perform the procedure below - {nav Object Data Properties > Remesh > Quad > QuadriFlow Remesh} - Refer image for the settings ![quad-remsh-bug.png](https://archive.blender.org/developer/F11295360/quad-remsh-bug.png) [retopology-experiments.blend](https://archive.blender.org/developer/F11366006/retopology-experiments.blend) This is the same file but I've remade the boolean without collection that is not supported by 2.83LTS and works fine [remesh-B2.83lts.blend](https://archive.blender.org/developer/F11366174/remesh-B2.83lts.blend)
Author

Added subscriber: @pafurijaz-4

Added subscriber: @pafurijaz-4

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

I can't replicate the problem, because when I click on QuadriFlow Remesh this message appears:

QuadriFlow: The mesh needs to be manifold and have face normals that point in a consistent direction

Can you try the latest daily build? https://builder.blender.org/download/

Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue.

If the problem persists, please give us more clear instructions on how to reproduce it from scratch.

I can't replicate the problem, because when I click on `QuadriFlow Remesh` this message appears: ``` QuadriFlow: The mesh needs to be manifold and have face normals that point in a consistent direction ``` Can you try the latest daily build? https://builder.blender.org/download/ Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue. If the problem persists, please give us more clear instructions on how to reproduce it from scratch.
Author

ok I will try but with blender 2.8 works well!

ok I will try but with blender 2.8 works well!
Author

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

Changed status from 'Needs User Info' to: 'Resolved'
Paolo Furani self-assigned this 2021-10-25 22:10:31 +02:00
Author

I have now done a test and it also reports me that the operation cannot be performed, so I have removed the double vertices (187) and the command is executed successfully, so I consider the problem solved and Blender no longer crashes.
Anyway with Blender 2.8 it's works well without warning.

I have now done a test and it also reports me that the operation cannot be performed, so I have removed the double vertices (187) and the command is executed successfully, so I consider the problem solved and Blender no longer crashes. Anyway with Blender 2.8 it's works well without warning.

Closed as duplicate of #92355

Closed as duplicate of #92355
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#92391
No description provided.