Blender crashes when using detail flood fill (dyntopo) #89885

Closed
opened 2021-07-16 01:58:57 +02:00 by Felipe · 9 comments

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: 84da05a8b8
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.

creature_6 (1).blend
creature_6 (1).crash.txt

**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: `84da05a8b8` 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. [creature_6 (1).blend](https://archive.blender.org/developer/F10227878/creature_6__1_.blend) [creature_6 (1).crash.txt](https://archive.blender.org/developer/F10227900/creature_6__1_.crash.txt)
Author

Added subscriber: @al777

Added subscriber: @al777
Member

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

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

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Added subscribers: @PabloDobarro, @mano-wii, @lichtwerk

Added subscribers: @PabloDobarro, @mano-wii, @lichtwerk
Member

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 

@mano-wii, @PabloDobarro : should this be safeguarded against?

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 ``` @mano-wii, @PabloDobarro : should this be safeguarded against?

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

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

The mesh is corrupted. It has duplicate faces.

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

The mesh is corrupted. It has duplicate faces. @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.
Member

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

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

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.

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.
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
4 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#89885
No description provided.