Page MenuHome

Select Interior Faces causes assertion failure with zero-area faces in certain situations
Confirmed, NormalPublic

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-06-23 17:19 , hash: rB8f4d99159404
Worked: Unsure

Short description of error
A specific mesh, which includes a zero-area face, causes an assertion failure when running the Select All By Trait > Interior Faces operator

Exact steps for others to reproduce the error

  1. Open the attached .blend file
  2. In edit mode, hit F3, type "select interior faces", hit enter
  3. Assertion failure

The bug appears to be benign outside of debug mode.

The assertion is:

BLI_assert failed: D:\blender-git\blender\source\blender\editors\mesh\editmesh_select.c:2944, EDBM_select_interior_faces(), at '-BLI_heap_node_value(node_min) >= cost'

Both -BLI_heap_node_value(node_min) and cost are NaN (I just stuck in a printf).

The exact positioning of of the edges, save for those around the zero-area face, seems to be irrelevant. I can't recreate the problematic mesh by hand, however.

I believe this is a minimal example: I can't delete any more faces without the problem going away.

Stack trace: P2206

Event Timeline

Fen (chemicalcrux) changed the task status from Needs Triage to Needs Information from User.EditedJun 23 2021, 9:47 PM
Fen (chemicalcrux) triaged this task as Low priority.

The example I've got is so fragile that it might not be very useful (exactly recreating the topology by hand doesn't cause the bug). I'm going to put this on low priority and leave it on 'needs information', so that it isn't in the triage backlog. I will update this task if I get something more interesting.

With debug build I can very well reproduce.

Pratik Borhade (PratikPB2123) raised the priority of this task from Low to Normal.Jul 1 2021, 12:38 PM
Pratik Borhade (PratikPB2123) changed the task status from Needs Information from User to Confirmed.Fri, Jul 2, 5:51 PM

Will try to resolve.