Page MenuHome

Blender crashes when using detail flood fill (dyntopo)
Closed, ArchivedPublic

Description

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

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: rB84da05a8b806
Worked: (newest version of Blender that worked as expected)

Short description of error
I use detail flood fill and the program closes

Exact steps for others to reproduce the error
Go on sculpting, and use detail flood fill

I have a face count of 5k polygons only.


Event Timeline

There a many double vertices in the mesh.
All is fine if you run Mesh > Cleanup > Merge by Distance prior.
Without this, pbvh_bmesh_face_remove can act on garbage PBVHNode returned by pbvh_bmesh_node_from_face

1  pbvh_bmesh_face_remove          pbvh_bmesh.c         688   0x382379f 
2  pbvh_bmesh_collapse_edge        pbvh_bmesh.c         1402  0x3826432 
3  pbvh_bmesh_collapse_short_edges pbvh_bmesh.c         1500  0x3826c2e 
4  BKE_pbvh_bmesh_update_topology  pbvh_bmesh.c         1992  0x3829d10 
5  sculpt_detail_flood_fill_exec   sculpt_detail.c      118   0x4cde606 
6  wm_operator_invoke              wm_event_system.c    1363  0x3d3031e 
7  wm_operator_call_internal       wm_event_system.c    1558  0x3d30969 
8  WM_operator_name_call_ptr       wm_event_system.c    1606  0x3d30b6f 
9  ui_apply_but_funcs_after        interface_handlers.c 1024  0x4de3284 
10 ui_handler_region_menu          interface_handlers.c 11354 0x4dff96f 
11 wm_handler_ui_call              wm_event_system.c    694   0x3d2e8a9 
12 wm_handlers_do_intern           wm_event_system.c    2843  0x3d34023 
13 wm_handlers_do                  wm_event_system.c    2959  0x3d34508 
14 wm_event_do_handlers            wm_event_system.c    3379  0x3d3576b 
15 WM_main                         wm.c                 647   0x3d292dd 
16 main                            creator.c            558   0x36d385a

@Germano Cavalcante (mano-wii), @Pablo Dobarro (pablodp606) : should this be safeguarded against?

Germano Cavalcante (mano-wii) changed the task status from Confirmed to Needs Information from User.Tue, Jul 20, 12:54 AM

The mesh is corrupted. It has duplicate faces.

@Felipe (al777), how did you get this corrupted mesh?

Unfortunately unless there are clear instructions on how to reproduce it from scratch we cannot debug this any further :\

Things that may cause mesh corruption: Importers, development versions of Blender, modeling tools.

Philipp Oeser (lichtwerk) closed this task as Archived.Thu, Jul 29, 9:32 AM

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.