Blender crashes with meshes with zero length edges #92391

Closed
opened 1 year ago by pafurijaz-4 · 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)
Poster

Added subscriber: @pafurijaz-4

Added subscriber: @pafurijaz-4
Collaborator

Added subscriber: @mano-wii

Added subscriber: @mano-wii
Collaborator

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

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

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.
Poster

ok I will try but with blender 2.8 works well!

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

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

Changed status from 'Needs User Info' to: 'Resolved'
pafurijaz-4 closed this issue 1 year ago
pafurijaz-4 self-assigned this 1 year ago
Poster

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.
ZedDB commented 1 year ago
Collaborator

Closed as duplicate of #92355

Closed as duplicate of #92355
ZedDB closed this issue 1 year ago
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#92391
Loading…
There is no content yet.