Page MenuHome

Bevel/Triangulate modifier causes crash in edit mode
Closed, ResolvedPublic

Description

Blender Version
Broken: rB6add652c3861
Worked: rB6add652c3861~

Short description of error
Bevel modifier or Triangulate modifier causes crash when switching to edit mode. Only happens when "Display modifier in edit mode" setting is enabled.
Also happens when a 'subdivision surface' modifier is above an 'edge split' modifier in the modifier stack and both have "Display modifier in edit mode" enabled.

Exact steps for others to reproduce the error
Add a bevel modifier to default cube and enter edit mode.

Details

Type
Bug

Event Timeline

Dalai Felinto (dfelinto) triaged this task as Confirmed, Medium priority.Oct 19 2018, 9:46 PM

SUMMARY: AddressSanitizer: heap-buffer-overflow //source/blender/draw/intern/draw_cache_impl_mesh.c:4430 in mesh_batch_cache_get_triangles_in_order_split_by_material
Full asan error backtrace: P804

Bug introduced on rB6add652c386198b1e3e126d4a88cd72b5bd97a88.

Same for Triangulate modifier (will also crash in edit mode / show_in_editmode -- with same backtrace)

Philipp Oeser (lichtwerk) renamed this task from Bevel modifier causes crash in edit mode to Bevel/Triangulate modifier causes crash in edit mode.Oct 22 2018, 3:59 PM