Page MenuHome

Debug assert is triggered when using the Knife tool
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: AMD FirePro W2100 ATI Technologies Inc. 4.5.13560 Core Profile Context FireGL 26.20.11024.6001

Blender Version
Broken: version: 2.90 (sub 0), branch: master, commit date: 2020-04-19 19:15, hash: rBa331d7990074
Worked: unknown - requires a debug build to see

Short description of error
Using the knife tool will immediately trigger a debug assert in the knife drawing code path.

Exact steps for others to reproduce the error

  • Start with default scene
  • Go into edit mode for the cube
  • Hit K
  • Observe assert
imm.active_buffer is nullptr

blender.exe!immEnd() Line 387	C
blender.exe!knifetool_draw(const bContext * UNUSED_C, ARegion * UNUSED_region, void * arg) Line 1206	C
blender.exe!ED_region_draw_cb_draw(const bContext * C, ARegion * region, int type) Line 274	C
blender.exe!DRW_draw_callbacks_post_scene() Line 1319	C
blender.exe!DRW_draw_render_loop_ex(Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * region, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) Line 1512	C
blender.exe!DRW_draw_view(const bContext * C) Line 1393	C
blender.exe!view3d_draw_view(const bContext * C, ARegion * region) Line 1603	C
blender.exe!view3d_main_region_draw(const bContext * C, ARegion * region) Line 1628	C
blender.exe!ED_region_do_draw(bContext * C, ARegion * region) Line 539	C
blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 683	C
blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 809	C
blender.exe!wm_draw_update(bContext * C) Line 1015	C
blender.exe!WM_main(bContext * C) Line 457	C
blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 526	C

Revisions and Commits