Segfault with GPU subdivision on a custom bone shape #94726

Closed
opened 2022-01-07 23:25:37 +01:00 by Daniel Salazar · 13 comments
Member

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.29

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-06 23:21, hash: e6ca0b33e9

Short description of error
Crash when a custom bone shape has a subdivision modifier and GPU subdivision is enabled

Exact steps for others to reproduce the error
GPU Subdiv Crash.blend
Enable OGL Subdivision
Add a Subdivision modifier to the selected object

**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1080 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.29 **Blender Version** Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-06 23:21, hash: `e6ca0b33e9` **Short description of error** Crash when a custom bone shape has a subdivision modifier and GPU subdivision is enabled **Exact steps for others to reproduce the error** [GPU Subdiv Crash.blend](https://archive.blender.org/developer/F12793449/GPU_Subdiv_Crash.blend) Enable OGL Subdivision Add a Subdivision modifier to the selected object
Author
Member

Added subscriber: @zanqdo

Added subscriber: @zanqdo

#94871 was marked as duplicate of this issue

#94871 was marked as duplicate of this issue

#94939 was marked as duplicate of this issue

#94939 was marked as duplicate of this issue

Added subscriber: @deadpin

Added subscriber: @deadpin

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

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

It will hit the following assert in debug mode:

BLI_assert failed: F:\source\blender-git\blender\source\blender\gpu\intern\gpu_batch.cc:76, GPU_batch_init_ex(), at 'verts != nullptr'

_BLI_assert_abort F:\source\blender-git\blender\source\blender\blenlib\intern\BLI_assert.c:61
GPU_batch_init_ex F:\source\blender-git\blender\source\blender\gpu\intern\gpu_batch.cc:76
GPU_batch_copy F:\source\blender-git\blender\source\blender\gpu\intern\gpu_batch.cc:98
DRW_instance_buffer_finish F:\source\blender-git\blender\source\blender\draw\intern\draw_instance_data.c:241
DRW_render_instance_buffer_finish F:\source\blender-git\blender\source\blender\draw\intern\draw_manager.c:2300
DRW_draw_render_loop_ex F:\source\blender-git\blender\source\blender\draw\intern\draw_manager.c:1714
DRW_draw_view F:\source\blender-git\blender\source\blender\draw\intern\draw_manager.c:1615
view3d_draw_view F:\source\blender-git\blender\source\blender\editors\space_view3d\view3d_draw.c:1561
view3d_main_region_draw F:\source\blender-git\blender\source\blender\editors\space_view3d\view3d_draw.c:1584

It will hit the following assert in debug mode: ``` BLI_assert failed: F:\source\blender-git\blender\source\blender\gpu\intern\gpu_batch.cc:76, GPU_batch_init_ex(), at 'verts != nullptr' _BLI_assert_abort F:\source\blender-git\blender\source\blender\blenlib\intern\BLI_assert.c:61 GPU_batch_init_ex F:\source\blender-git\blender\source\blender\gpu\intern\gpu_batch.cc:76 GPU_batch_copy F:\source\blender-git\blender\source\blender\gpu\intern\gpu_batch.cc:98 DRW_instance_buffer_finish F:\source\blender-git\blender\source\blender\draw\intern\draw_instance_data.c:241 DRW_render_instance_buffer_finish F:\source\blender-git\blender\source\blender\draw\intern\draw_manager.c:2300 DRW_draw_render_loop_ex F:\source\blender-git\blender\source\blender\draw\intern\draw_manager.c:1714 DRW_draw_view F:\source\blender-git\blender\source\blender\draw\intern\draw_manager.c:1615 view3d_draw_view F:\source\blender-git\blender\source\blender\editors\space_view3d\view3d_draw.c:1561 view3d_main_region_draw F:\source\blender-git\blender\source\blender\editors\space_view3d\view3d_draw.c:1584 ```
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

It wasnt really clear if #94871 was a duplicate (I think it is), but will set this to High prio as well...

It wasnt really clear if #94871 was a duplicate (I think it is), but will set this to High prio as well...

Added subscribers: @Josephbburg, @Garek

Added subscribers: @Josephbburg, @Garek

Added subscriber: @Diogo_Valadares

Added subscriber: @Diogo_Valadares

This issue was referenced by 9315215b20

This issue was referenced by 9315215b2068b1d92d7e218ca53934aab85d68d7
Added subscribers: @dfelinto, @kevindietrich, @Jeroen-Bakker, @brecht, @ideasman42, @fclem

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Kévin Dietrich self-assigned this 2022-01-20 15:28:41 +01:00
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
7 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#94726
No description provided.