Page MenuHome

Editbone selection buffer crash
Open, ConfirmedPublic

Description

System Information
Windows 10 Pro 64-bit, GeForce GT 630
Operating system and graphics card

Blender Version
Date: 2018-10-03 23:37
Hash: 3c8c1841d72
Branch: Blender 2.8

Short description of error
After parent one bone to another and select the same another bone Blender is crashing

Exact steps for others to reproduce the error

  1. Select "DEF_spine.000" in Edit mode
  2. Shift + select "DEF_spine.005"
  3. Ctrl + P (keep offset)
  4. Select "DEF_spine.005"
  1. Crash

Details

Type
Bug

Event Timeline

Can't seem to reproduce this issue.

GIF:

I don't think it happens here in my 2.8. But then again, I created a new armature, maybe you have something in your rig that causes this. (I couldn't open your file so tried the steps anyway)

Are you sure it happens every time?

Try open file from Blender -> File -> Open File scene and Blender open this. If open with two click icon - blender Crashing. I try repeat my steps and Blender crash again.

Philipp Oeser (lichtwerk) triaged this task as Confirmed priority.EditedNov 6 2018, 3:37 PM

Sorry this has been orphaned for quite a bit... but I can confirm this (as of rB9d32b9fb8a7f)
It is not an issue when you zoom in some more [or do the selection e.g in outliner], so depends on these bones being very close together in the viewport

I am hitting an assert here (without assert crashes a bit later)

base = ED_armature_base_and_ebone_from_select_buffer(bases, bases_len, hitresult, &ebone);
/* If this fails, selection code is setting the selection ID's incorrectly. */
BLI_assert(base && ebone);
1  raise                                               0x7ffff4b2b53f 
2  abort                                               0x7ffff4b15895 
3  get_nearest_editbonepoint    armature_select.c 493  0x1ec10c8      
4  ED_armature_edit_select_pick armature_select.c 626  0x1ec1534      
5  view3d_select_exec           view3d_select.c   2696 0x1aab3e0      
6  view3d_select_invoke         view3d_select.c   2729 0x1aab62d      
7  wm_operator_invoke           wm_event_system.c 1323 0x1947a9c
Philipp Oeser (lichtwerk) renamed this task from Crash after parenting the bone and select the child to Editbone selection buffer crash.Nov 6 2018, 3:38 PM

Looked into this, for some reason the selection code gets back an object-id of 0 even though when drawing the object ID is 1 (passed to DRW_select_load_id).

And why this should relate to the bones connected state is quite strange (toggle edit-mode resolves).

Needs further investigation, will do after the beta.