Page MenuHome

Show weights + skin modfier cause crashing
Closed, DuplicatePublic


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

-one bug.blend file (mesh in edit mode with skin modifier)
-in "N" panel/mesh display click on "Show Weights"



Event Timeline

Philipp Oeser (lichtwerk) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.

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

couple of notes:

asserts here (2.8 specific):

assert(verts->vertex_len == batch->verts[0]->vertex_len)
verts->vertex_len is some dependent on how the skin is constructed [edge lenght etc] [468 in the file reported]
batch->verts[0]->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 T56669)

will do some further investigating based on all the above

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