Debug assert is triggered when using the Knife tool #75914

Closed
opened 2020-04-20 01:25:10 +02:00 by Jesse Yurkovich · 8 comments

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: a331d79900
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
**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: `a331d79900` 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 ```
Author
Member

Added subscriber: @deadpin

Added subscriber: @deadpin
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

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

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

bisecting.
Also, please edit project tags if necessary.

bisecting. Also, please edit project tags if necessary.
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

first bad commit: 5d9d246851
CC @Jeroen-Bakker

first bad commit: 5d9d246851 CC @Jeroen-Bakker
Jeroen Bakker self-assigned this 2020-04-20 11:54:13 +02:00

This issue was referenced by 915866f0d9

This issue was referenced by 915866f0d9fa74b912d815e4667730361672ae59
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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#75914
No description provided.