Maniphest T61349

Debug Assert in init_edge(edgehash.c): Occurs when importing a glTF asset
Closed, Archived

Assigned To
Sebastian Parborg (zeddb)
Authored By
Jesse Yurkovich (deadpin)
Feb 9 2019, 6:31 AM
Tags
  • BF Blender
Subscribers
Jesse Yurkovich (deadpin)
Sebastian Parborg (zeddb)

Description

System Information
Operating system: Win10
Graphics card: nVidia 1070

Blender Version
Broken: 2.80 (sub 44), branch: master, commit date: 2019-02-09 02:10, hash: 7262ac6202eb
Worked: n/a

Short description of error
An assert is triggered with a debug build when importing some glTF models.

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

BLI_assert failed: c:\users\deadpin\source\repos\blender-git\blender\source\blender\blenlib\intern\edgehash.c:94, init_edge(), at 'v0 != v1'
blender.exe!abort() Line 61	C++
blender.exe!init_edge(unsigned int v0, unsigned int v1) Line 94	C
blender.exe!edgehash_lookup_entry(EdgeHash * eh, unsigned int v0, unsigned int v1) Line 188	C
blender.exe!BLI_edgehash_lookup(EdgeHash * eh, unsigned int v0, unsigned int v1) Line 316	C
blender.exe!BKE_mesh_calc_edges(Mesh * mesh, bool update, const bool select) Line 1439	C
blender.exe!ED_mesh_update(Mesh * mesh, bContext * C, bool calc_edges, bool calc_edges_loose, bool calc_tessface) Line 887	C
blender.exe!Mesh_update_call(bContext * C, ReportList * reports, PointerRNA * _ptr, ParameterList * _parms) Line 6194	C
blender.exe!RNA_function_call(bContext * C, ReportList * reports, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 6870	C
blender.exe!pyrna_func_call(BPy_FunctionRNA * self, _object * args, _object * kw) Line 5817	C
python37_d.dll!00007ffe409cb0a6()	Unknown

Related Objects

Mentioned In
T76455: Blender crashing while importing stl file
Mentioned Here
rB7262ac6202eb: Fix T61332: Python3 syntax errors

Event Timeline

Jesse Yurkovich (deadpin) created this task.Feb 9 2019, 6:31 AM
Sebastian Parborg (zeddb) changed the task status from Unknown Status to Archived.Feb 9 2019, 3:41 PM
Sebastian Parborg (zeddb) claimed this task.
Sebastian Parborg (zeddb) added a subscriber: Sebastian Parborg (zeddb).

This is not a bug. That model actually has degenerate edges (and faces). The asserts are only enabled in the debug builds. So this will not be a problem for the average user.