CRASH: Double Control clicking on PolyLine will crash Blender #84135

Closed
opened 2020-12-25 19:04:43 +01:00 by christian lichtner · 12 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19

Blender Version
Broken: version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: 0f45cab862
Worked: (newest version of Blender that worked as expected)

Short description of error
[Please fill out a short description of the error here]

When trying to add control points on a polyline curve (not bezier), while still in EDIT MODE with no vertices selected, BLENDER will crash.

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

  1. Delete everything from scene.
  2. SHFT A - Create CURVE > BEZIER
  3. TAB enter edit mode, A to select all, and select CURVE > SET SPLIONE TYPE > POLY to convert from Bezier to poly curve
  4. Left click on canvas anywhere to unselect all verts -- and while still in EDIT MODE double click the RIGHT MOUSE KEY while pressing CONTROL (which should add control verts to the line), and blender will crash.
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19 **Blender Version** Broken: version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: `0f45cab862` Worked: (newest version of Blender that worked as expected) **Short description of error** [Please fill out a short description of the error here] When trying to add control points on a polyline curve (not bezier), while still in EDIT MODE with no vertices selected, BLENDER will crash. **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)] 1. Delete everything from scene. 2. SHFT A - Create CURVE > BEZIER 3. TAB enter edit mode, A to select all, and select CURVE > SET SPLIONE TYPE > POLY to convert from Bezier to poly curve 4. Left click on canvas anywhere to unselect all verts -- and while still in EDIT MODE double click the RIGHT MOUSE KEY while pressing CONTROL (which should add control verts to the line), and blender will crash.

Added subscriber: @BlackBox

Added subscriber: @BlackBox

Added subscriber: @iss

Added subscriber: @iss

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

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

Can confirm, in debug assert was triggered assert(builder->index_len < builder->max_index_len);

>	blender.exe!GPU_indexbuf_add_generic_vert(GPUIndexBufBuilder * builder, unsigned int v) Line 73	C++

 	blender.exe!GPU_indexbuf_add_line_verts(GPUIndexBufBuilder * builder, unsigned int v1, unsigned int v2) Line 103	C++
 	blender.exe!curve_create_edit_data_and_handles(CurveRenderData * rdata, GPUVertBuf * vbo_pos, GPUVertBuf * vbo_data, GPUIndexBuf * ibo_edit_verts_points, GPUIndexBuf * ibo_edit_lines) Line 822	C
 	blender.exe!DRW_curve_batch_cache_create_requested(Object * ob) Line 1089	C
 	blender.exe!drw_batch_cache_generate_requested(Object * ob) Line 3599	C
 	blender.exe!drw_engines_cache_populate(Object * ob) Line 1108	C
 	blender.exe!DRW_draw_render_loop_ex(Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * region, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) Line 1604	C
 	blender.exe!DRW_draw_view(const bContext * C) Line 1512	C
 	blender.exe!view3d_draw_view(const bContext * C, ARegion * region) Line 1596	C
 	blender.exe!view3d_main_region_draw(const bContext * C, ARegion * region) Line 1619	C
 	blender.exe!ED_region_do_draw(bContext * C, ARegion * region) Line 551	C
 	blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 732	C
 	blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 875	C
 	blender.exe!wm_draw_update(bContext * C) Line 1074	C
 	blender.exe!WM_main(bContext * C) Line 642	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 526	C
 	[External Code]	
Can confirm, in debug assert was triggered `assert(builder->index_len < builder->max_index_len);` ``` > blender.exe!GPU_indexbuf_add_generic_vert(GPUIndexBufBuilder * builder, unsigned int v) Line 73 C++ blender.exe!GPU_indexbuf_add_line_verts(GPUIndexBufBuilder * builder, unsigned int v1, unsigned int v2) Line 103 C++ blender.exe!curve_create_edit_data_and_handles(CurveRenderData * rdata, GPUVertBuf * vbo_pos, GPUVertBuf * vbo_data, GPUIndexBuf * ibo_edit_verts_points, GPUIndexBuf * ibo_edit_lines) Line 822 C blender.exe!DRW_curve_batch_cache_create_requested(Object * ob) Line 1089 C blender.exe!drw_batch_cache_generate_requested(Object * ob) Line 3599 C blender.exe!drw_engines_cache_populate(Object * ob) Line 1108 C blender.exe!DRW_draw_render_loop_ex(Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * region, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) Line 1604 C blender.exe!DRW_draw_view(const bContext * C) Line 1512 C blender.exe!view3d_draw_view(const bContext * C, ARegion * region) Line 1596 C blender.exe!view3d_main_region_draw(const bContext * C, ARegion * region) Line 1619 C blender.exe!ED_region_do_draw(bContext * C, ARegion * region) Line 551 C blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 732 C blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 875 C blender.exe!wm_draw_update(bContext * C) Line 1074 C blender.exe!WM_main(bContext * C) Line 642 C blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 526 C [External Code] ```

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Adding modeling here as well in case it helps. I can confirm the issue too.

Adding modeling here as well in case it helps. I can confirm the issue too.
Member

Added subscriber: @zazizizou

Added subscriber: @zazizizou
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

@BlackBox , can you check if crash is still reproducible with recent 2.93.0 or 3.0.0 build ??

I can repro with 2.92.0, with one random 2.93.0 build (Hash: de06cb8559, commit date: `2021-03-17) but not with recent 2.93.0, 3.0.0 builds.

I assume the issue is fixed but will keep open until someone's reply :)

@BlackBox , can you check if crash is still reproducible with recent 2.93.0 or 3.0.0 build ?? I can repro with 2.92.0, with one random 2.93.0 build (Hash: `de06cb8559`, commit date: `2021-03-17) but not with recent 2.93.0, 3.0.0 builds. I assume the issue is fixed but will keep open until someone's reply :)

@PratikPB2123 -- It seems to have been fixed in 2.93.0 -- I would mark it as resolved.

@PratikPB2123 -- It seems to have been fixed in 2.93.0 -- I would mark it as resolved.
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Pratik Borhade self-assigned this 2021-06-05 16:03:34 +02:00
Member

It seems to have been fixed in 2.93.0

Thanks for checking. Marking this as resolved. Thanks again for the report :)

>It seems to have been fixed in 2.93.0 Thanks for checking. Marking this as resolved. Thanks again for the report :)
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
5 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#84135
No description provided.