Show weights + skin modfier cause crashing #57283

Closed
opened 2018-10-17 13:53:31 +02:00 by Marián Kosa · 10 comments

System Information
Win10 64b , 8GB RAM, GTX 750 Ti

Blender Version
Broken: f4dc9f9d68, b618c185cb, 41ad845531 (basically everywhere from official to newest versions)
Worked: maybe never? did by accident

Short description of error
After activating "show weights" in edit mode blender crashes. In 2,8 it crash (sometimes) when i activate and than deactivate "vertex group weight" in overlays. (Same function?)

Exact steps for others to reproduce the error
bug.blend

  • one bug.blend file (mesh in edit mode with skin modifier)
  • in "N" panel/mesh display click on "Show Weights"
  • crash
**System Information** Win10 64b , 8GB RAM, GTX 750 Ti **Blender Version** Broken: f4dc9f9d68b, b618c185cb7, 41ad845531b (basically everywhere from official to newest versions) Worked: maybe never? did by accident **Short description of error** After activating "show weights" in edit mode blender crashes. In 2,8 it crash (sometimes) when i activate and than deactivate "vertex group weight" in overlays. (Same function?) **Exact steps for others to reproduce the error** [bug.blend](https://archive.blender.org/developer/F5108323/bug.blend) - one bug.blend file (mesh in edit mode with skin modifier) - in "N" panel/mesh display click on "Show Weights" - crash
Author

Added subscriber: @MarianKosa

Added subscriber: @MarianKosa
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Philipp Oeser self-assigned this 2018-10-17 15:23:29 +02:00
Member

Confirmed (in both 2.79 and 2.8), will have a look...

Confirmed (in both 2.79 and 2.8), will have a look...

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Edit: not-fixed

Edit: not-fixed

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Changed status from 'Resolved' to: 'Open'

Changed status from 'Resolved' to: 'Open'
Member

couple of notes:

asserts here (2.8 specific):

assert(verts->vertex_len == batch->verts- [x]->vertex_len)
verts->vertex_len is some dependent on how the skin is constructed [edge lenght etc] [468 in the file reported]
batch->verts- [x]->vertex_len is 0

1  raise                                                                                   0x7ffff1c93eab 
2  abort                                                                                   0x7ffff1c7e5b9 
3  __assert_fail_base.cold.0                                                               0x7ffff1c7e491 
4  __assert_fail                                                                           0x7ffff1c8c612 
5  GPU_batch_vertbuf_add_ex                                    gpu_batch.c            193  0x25ce62b      
6  DRW_mesh_batch_cache_get_triangles_with_normals_and_weights draw_cache_impl_mesh.c 4734 0x2619682      
7  DRW_cache_mesh_surface_weights_get                          draw_cache.c           3093 0x268be70      
8  EDIT_MESH_cache_populate                                    edit_mesh_mode.c       636  0x2636cf1      
9  drw_engines_cache_populate                                  draw_manager.c         979  0x2624a27      
10 DRW_draw_render_loop_ex                                     draw_manager.c         1469 0x2625c02      
11 DRW_draw_view                                               draw_manager.c         1406 0x26258c5     
12 view3d_draw_view                                            view3d_draw.c          1259 0x1b41789

need to check where this fails in 2.7 master still...

also note that I'm hitting the assert in 2.8 in other situations as well:

  • add subdivision modifier to default cube
  • go to editmode
  • "vertex group weight" overlay --> assert

(one can get around the assert by first disabling "show_in_editmode" on the modifier, enabling that option again wont assert anymore)
(blender then displays the weights on the original [unsubdivided] mesh though, 2.7 didnt do that)

weightpainting itself can show weights on subdivision modifiers just fine (painting is somewht broken then, but that's already reported in #56669)

will do some further investigating based on all the above

couple of notes: ----------------------------- asserts here (2.8 specific): `assert(verts->vertex_len == batch->verts- [x]->vertex_len)` verts->vertex_len is some dependent on how the skin is constructed [edge lenght etc] [468 in the file reported] batch->verts- [x]->vertex_len is 0 ``` 1 raise 0x7ffff1c93eab 2 abort 0x7ffff1c7e5b9 3 __assert_fail_base.cold.0 0x7ffff1c7e491 4 __assert_fail 0x7ffff1c8c612 5 GPU_batch_vertbuf_add_ex gpu_batch.c 193 0x25ce62b 6 DRW_mesh_batch_cache_get_triangles_with_normals_and_weights draw_cache_impl_mesh.c 4734 0x2619682 7 DRW_cache_mesh_surface_weights_get draw_cache.c 3093 0x268be70 8 EDIT_MESH_cache_populate edit_mesh_mode.c 636 0x2636cf1 9 drw_engines_cache_populate draw_manager.c 979 0x2624a27 10 DRW_draw_render_loop_ex draw_manager.c 1469 0x2625c02 11 DRW_draw_view draw_manager.c 1406 0x26258c5 12 view3d_draw_view view3d_draw.c 1259 0x1b41789 ``` ----------------------------- need to check where this fails in 2.7 master still... ----------------------------- also note that I'm hitting the assert in 2.8 in other situations as well: - add subdivision modifier to default cube - go to editmode - "vertex group weight" overlay --> assert (one can get around the assert by **first** disabling "show_in_editmode" on the modifier, enabling that option again wont assert anymore) (blender then displays the weights on the original [unsubdivided] mesh though, 2.7 didnt do that) weightpainting itself can show weights on subdivision modifiers just fine (painting is somewht broken then, but that's already reported in #56669) ----------------------------- will do some further investigating based on all the above
Member

This will actually be solved by addressing #57371, so no need to keep this as a separate report...

This will actually be solved by addressing #57371, so no need to keep this as a separate report...
Member

Closed as duplicate of #57371

Closed as duplicate of #57371
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
3 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#57283
No description provided.