Page MenuHome

Static Overrides: Unpredictable crash on entering pose mode.
Open, Confirmed, MediumPublic

Description

System Information
Operating system: Manjaro 18.0.1 Illyria / x86_64 Linux 4.14.90-1-MANJARO
Graphics card: Nvidia 1080 Ti

Blender Version
Broken: 2.80 (sub 40), branch: blender2.7, commit date: 2019-01-10 23:53, hash: 6439ed844e78
Worked: Uknown

Short description of error
After executing the "Make Static Override" operator on a linked armature, blender crashes upon entering pose mode.

Exact steps for others to reproduce the error
Start Blender with --enable-static-override.
Delete all default objects for an empty scene.
From File select Link, open the Brow-Particles.blend file and select Brow and biped_blenrig in the Objects folder.
Upon successful linking, select the armature and from the search menu, type and select "Make Static Override".
Enter pose mode and Blender crashes!

Notes:
The linked mesh (Brow) which is deformed by the armature has vertex groups and combed hair particles.
I initially thought the issue is related to the hair system alone, but was able to successfully link and override another object with combed hair. So I wasn't able to fully isolate the crash to the hair system.

I have summarized my results based on three different file, with and without hair particles below.

Brow-Particles.blend => After linking and statically overriding Blender does crash.
Brow-NoParticles.blend => After linking and statically overriding Blender does not crash.
Mannequin-Hair.blend = > After linking and statically overriding Blender does not crash.




Mannequin blend by SebastL

Details

Type
Bug

Event Timeline

hsab (hsab) updated the task description. (Show Details)
Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.

I'm getting this assert when linking:
BLI_assert failed: blender/source/blender/blenlib/intern/BLI_ghash.c:466, ghash_insert_ex(), at '(gh->flag & GHASH_FLAG_ALLOW_DUPES) || (BLI_ghash_haskey(gh, key) == 0)'

If is side step that assert, I get this backtrace when entering pose mode:

Thread 1 "blender" received signal SIGSEGV, Segmentation fault.
0x00007ffff4606756 in __strlen_sse2 () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff4606756 in __strlen_sse2 () from /lib64/libc.so.6
#1  0x00005555582f780f in ShapeKey_name_length (ptr=0x7ffffffcdf20)
    at /home/zed/programmering/blender_master/blender/build/source/blender/makesrna/intern/rna_key_gen.c:329
#2  0x000055555827b236 in RNA_property_string_length (ptr=0x7ffffffcdf20, prop=0x55555d520a80 <rna_ShapeKey_name>)
    at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_access.c:3293
#3  0x000055555827b006 in RNA_property_string_get_alloc (ptr=0x7ffffffcdf20, prop=0x55555d520a80 <rna_ShapeKey_name>,
    fixedbuf=0x7ffffffcbcd0 "p\335\374\377\377\177", fixedlen=4096, r_len=0x7ffffffcbca8)
    at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_access.c:3247
#4  0x00005555583d1d3b in rna_property_override_diff_propptr_validate_diffing (propptr_a=0x7ffffffcdf20, propptr_b=0x7ffffffcdfb0, no_prop_name=false,
    r_is_id=0x7ffffffcdd62, r_is_null=0x7ffffffcdd63, r_is_type_diff=0x7ffffffcdd64, r_propname_a=0x0,
    propname_a_buff=0x7ffffffcbcd0 "p\335\374\377\377\177", propname_a_buff_size=4096, r_propname_b=0x0, propname_b_buff=0x0, propname_b_buff_size=0)
    at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_rna.c:1166
#5  0x00005555583d1fab in rna_property_override_diff_propptr (bmain=0x7ffff004cd08, propptr_a=0x7ffffffcdf20, propptr_b=0x7ffffffcdfb0, mode=RNA_EQ_STRICT,
    no_ownership=false, no_prop_name=false, override=0x7fffcf45d258,
    rna_path=0x7ffffffd53b0 "modifiers[\"ParticleSystem 1\"].particle_system.cloth.settings.rest_shape_key", flags=131072, r_override_changed=0x7ffffffd51ed)
    at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_rna.c:1219
#6  0x00005555583d2f7c in rna_property_override_diff_default (bmain=0x7ffff004cd08, ptr_a=0x7ffffffd75e0, ptr_b=0x7ffffffd7670,
    prop_a=0x55555d4b7c00 <rna_ClothSettings_rest_shape_key>, prop_b=0x55555d4b7c00 <rna_ClothSettings_rest_shape_key>, len_a=0, len_b=0, mode=0,
    override=0x7fffcf45d258, rna_path=0x7ffffffd53b0 "modifiers[\"ParticleSystem 1\"].particle_system.cloth.settings.rest_shape_key", flags=131072,
    r_override_changed=0x7ffffffd51ed) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_rna.c:1530
#7  0x0000555558287cd6 in rna_property_override_diff (bmain=0x7ffff004cd08, ptr_a=0x7ffffffd75e0, ptr_b=0x7ffffffd7670, prop=0x0,
    prop_a=0x55555d4b7c00 <rna_ClothSettings_rest_shape_key>, prop_b=0x55555d4b7c00 <rna_ClothSettings_rest_shape_key>,
    rna_path=0x7ffffffd53b0 "modifiers[\"ParticleSystem 1\"].particle_system.cloth.settings.rest_shape_key", mode=RNA_EQ_STRICT, override=0x7fffcf45d258,
    flags=131072, r_report_flags=0x7ffffffd52b0) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_access.c:7652
#8  0x0000555558288634 in RNA_struct_override_matches (bmain=0x7ffff004cd08, ptr_local=0x7ffffffd75e0, ptr_reference=0x7ffffffd7670,
    root_path=0x7ffffffdea70 "modifiers[\"ParticleSystem 1\"].particle_system.cloth.settings", override=0x7fffcf45d258, flags=RNA_OVERRIDE_COMPARE_RESTORE,
    r_report_flags=0x7ffffffd7428) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_access.c:7909
#9  0x00005555583d2115 in rna_property_override_diff_propptr (bmain=0x7ffff004cd08, propptr_a=0x7ffffffd75e0, propptr_b=0x7ffffffd7670, mode=RNA_EQ_STRICT,
    no_ownership=false, no_prop_name=false, override=0x7fffcf45d258,
    rna_path=0x7ffffffdea70 "modifiers[\"ParticleSystem 1\"].particle_system.cloth.settings", flags=131072, r_override_changed=0x7ffffffde8ad)
    at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_rna.c:1251
#10 0x00005555583d2f7c in rna_property_override_diff_default (bmain=0x7ffff004cd08, ptr_a=0x7ffffffe0ca0, ptr_b=0x7ffffffe0d30,
    prop_a=0x55555d5a8fe0 <rna_ClothModifier_settings>, prop_b=0x55555d5a8fe0 <rna_ClothModifier_settings>, len_a=0, len_b=0, mode=0,
    override=0x7fffcf45d258, rna_path=0x7ffffffdea70 "modifiers[\"ParticleSystem 1\"].particle_system.cloth.settings", flags=131072,
    r_override_changed=0x7ffffffde8ad) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_rna.c:1530
#11 0x0000555558287cd6 in rna_property_override_diff (bmain=0x7ffff004cd08, ptr_a=0x7ffffffe0ca0, ptr_b=0x7ffffffe0d30, prop=0x0,
    prop_a=0x55555d5a8fe0 <rna_ClothModifier_settings>, prop_b=0x55555d5a8fe0 <rna_ClothModifier_settings>,
    rna_path=0x7ffffffdea70 "modifiers[\"ParticleSystem 1\"].particle_system.cloth.settings", mode=RNA_EQ_STRICT, override=0x7fffcf45d258, flags=131072,
    r_report_flags=0x7ffffffde970) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_access.c:7652
#12 0x0000555558288634 in RNA_struct_override_matches (bmain=0x7ffff004cd08, ptr_local=0x7ffffffe0ca0, ptr_reference=0x7ffffffe0d30,
    root_path=0x7ffffffe8130 "modifiers[\"ParticleSystem 1\"].particle_system.cloth", override=0x7fffcf45d258, flags=RNA_OVERRIDE_COMPARE_RESTORE,
    r_report_flags=0x7ffffffe0ae8) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_access.c:7909
#13 0x00005555583d2115 in rna_property_override_diff_propptr (bmain=0x7ffff004cd08, propptr_a=0x7ffffffe0ca0, propptr_b=0x7ffffffe0d30, mode=RNA_EQ_STRICT,
    no_ownership=false, no_prop_name=false, override=0x7fffcf45d258, rna_path=0x7ffffffe8130 "modifiers[\"ParticleSystem 1\"].particle_system.cloth",
    flags=131072, r_override_changed=0x7ffffffe7f6d) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_rna.c:1251
#14 0x00005555583d2f7c in rna_property_override_diff_default (bmain=0x7ffff004cd08, ptr_a=0x7ffffffea360, ptr_b=0x7ffffffea3f0,
    prop_a=0x55555d68ee20 <rna_ParticleSystem_cloth>, prop_b=0x55555d68ee20 <rna_ParticleSystem_cloth>, len_a=0, len_b=0, mode=0, override=0x7fffcf45d258,
--Type <RET> for more, q to quit, c to continue without paging--
    rna_path=0x7ffffffe8130 "modifiers[\"ParticleSystem 1\"].particle_system.cloth", flags=131072, r_override_changed=0x7ffffffe7f6d)
    at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_rna.c:1530
#15 0x0000555558287cd6 in rna_property_override_diff (bmain=0x7ffff004cd08, ptr_a=0x7ffffffea360, ptr_b=0x7ffffffea3f0, prop=0x0,
    prop_a=0x55555d68ee20 <rna_ParticleSystem_cloth>, prop_b=0x55555d68ee20 <rna_ParticleSystem_cloth>,
    rna_path=0x7ffffffe8130 "modifiers[\"ParticleSystem 1\"].particle_system.cloth", mode=RNA_EQ_STRICT, override=0x7fffcf45d258, flags=131072,
    r_report_flags=0x7ffffffe8030) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_access.c:7652
#16 0x0000555558288634 in RNA_struct_override_matches (bmain=0x7ffff004cd08, ptr_local=0x7ffffffea360, ptr_reference=0x7ffffffea3f0,
    root_path=0x7fffffff17f0 "modifiers[\"ParticleSystem 1\"].particle_system", override=0x7fffcf45d258, flags=RNA_OVERRIDE_COMPARE_RESTORE,
    r_report_flags=0x7ffffffea1a8) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_access.c:7909
#17 0x00005555583d2115 in rna_property_override_diff_propptr (bmain=0x7ffff004cd08, propptr_a=0x7ffffffea360, propptr_b=0x7ffffffea3f0, mode=RNA_EQ_STRICT,
    no_ownership=false, no_prop_name=false, override=0x7fffcf45d258, rna_path=0x7fffffff17f0 "modifiers[\"ParticleSystem 1\"].particle_system", flags=131072,
    r_override_changed=0x7fffffff162d) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_rna.c:1251
#18 0x00005555583d2f7c in rna_property_override_diff_default (bmain=0x7ffff004cd08, ptr_a=0x7fffffff3a88, ptr_b=0x7fffffff3b18,
    prop_a=0x55555d5a6d80 <rna_ParticleSystemModifier_particle_system>, prop_b=0x55555d5a6d80 <rna_ParticleSystemModifier_particle_system>, len_a=0, len_b=0,
    mode=0, override=0x7fffcf45d258, rna_path=0x7fffffff17f0 "modifiers[\"ParticleSystem 1\"].particle_system", flags=131072,
    r_override_changed=0x7fffffff162d) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_rna.c:1530
#19 0x0000555558287cd6 in rna_property_override_diff (bmain=0x7ffff004cd08, ptr_a=0x7fffffff3a88, ptr_b=0x7fffffff3b18, prop=0x0,
    prop_a=0x55555d5a6d80 <rna_ParticleSystemModifier_particle_system>, prop_b=0x55555d5a6d80 <rna_ParticleSystemModifier_particle_system>,
    rna_path=0x7fffffff17f0 "modifiers[\"ParticleSystem 1\"].particle_system", mode=RNA_EQ_STRICT, override=0x7fffcf45d258, flags=196608,
    r_report_flags=0x7fffffff16f0) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_access.c:7652
#20 0x0000555558288634 in RNA_struct_override_matches (bmain=0x7ffff004cd08, ptr_local=0x7fffffff3a88, ptr_reference=0x7fffffff3b18,
    root_path=0x7fffffff6c40 "modifiers[\"ParticleSystem 1\"]", override=0x7fffcf45d258, flags=(RNA_OVERRIDE_COMPARE_CREATE | RNA_OVERRIDE_COMPARE_RESTORE),
    r_report_flags=0x7fffffff3868) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_access.c:7909
#21 0x00005555583d2115 in rna_property_override_diff_propptr (bmain=0x7ffff004cd08, propptr_a=0x7fffffff3a88, propptr_b=0x7fffffff3b18, mode=RNA_EQ_STRICT,
    no_ownership=false, no_prop_name=false, override=0x7fffcf45d258, rna_path=0x7fffffff6c40 "modifiers[\"ParticleSystem 1\"]", flags=196608,
    r_override_changed=0x7fffffffaced) at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_rna.c:1251
#22 0x00005555583d3541 in rna_property_override_diff_default (bmain=0x7ffff004cd08, ptr_a=0x7fffffffcf10, ptr_b=0x7fffffffcf30,
    prop_a=0x55555d66bf80 <rna_Object_modifiers>, prop_b=0x55555d66bf80 <rna_Object_modifiers>, len_a=0, len_b=0, mode=0, override=0x7fffcf45d258,
    rna_path=0x7fffcfa686e8 "modifiers", flags=196608, r_override_changed=0x7fffffffaced)
    at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_rna.c:1681
#23 0x0000555558287cd6 in rna_property_override_diff (bmain=0x7ffff004cd08, ptr_a=0x7fffffffcf10, ptr_b=0x7fffffffcf30, prop=0x0,
    prop_a=0x55555d66bf80 <rna_Object_modifiers>, prop_b=0x55555d66bf80 <rna_Object_modifiers>, rna_path=0x7fffcfa686e8 "modifiers", mode=RNA_EQ_STRICT,
    override=0x7fffcf45d258, flags=196608, r_report_flags=0x7fffffffadb0)
    at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_access.c:7652
#24 0x0000555558288634 in RNA_struct_override_matches (bmain=0x7ffff004cd08, ptr_local=0x7fffffffcf10, ptr_reference=0x7fffffffcf30, root_path=0x0,
    override=0x7fffcf45d258, flags=(RNA_OVERRIDE_COMPARE_CREATE | RNA_OVERRIDE_COMPARE_RESTORE), r_report_flags=0x7fffffffcf0c)
    at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_access.c:7909
#25 0x000055555807bd10 in BKE_override_static_operations_create (bmain=0x7ffff004cd08, local=0x7fffcf7faa08, force_auto=false)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/library_override.c:558
#26 0x000055555807beb9 in BKE_main_override_static_operations_create (bmain=0x7ffff004cd08, force_auto=false)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/library_override.c:596
#27 0x0000555558208db9 in BKE_undosys_step_push_with_type (ustack=0x7ffff0020c18, C=0x7ffff0030288, name=0x55555bddafb3 "Toggle Pose Mode", ut=0x7fffef64ebe8)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/undo_system.c:458
#28 0x000055555820912b in BKE_undosys_step_push (ustack=0x7ffff0020c18, C=0x7ffff0030288, name=0x55555bddafb3 "Toggle Pose Mode")
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/undo_system.c:520
#29 0x000055555712d862 in ED_undo_push (C=0x7ffff0030288, str=0x55555bddafb3 "Toggle Pose Mode")
    at /home/zed/programmering/blender_master/blender/source/blender/editors/undo/ed_undo.c:103
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x000055555712df28 in ED_undo_push_op (C=0x7ffff0030288, op=0x7fffcc241748)
    at /home/zed/programmering/blender_master/blender/source/blender/editors/undo/ed_undo.c:250
#31 0x00005555570eaeb3 in wm_operator_finished (C=0x7ffff0030288, op=0x7fffcc241748, repeat=false, store=true)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:888
#32 0x00005555570ec6ab in wm_operator_invoke (C=0x7ffff0030288, ot=0x7fffead007c8, event=0x0, properties=0x0, reports=0x0, poll_only=false,
    use_last_properties=true) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:1366
#33 0x00005555570ecb7c in wm_operator_call_internal (C=0x7ffff0030288, ot=0x7fffead007c8, properties=0x0, reports=0x0, context=7, poll_only=false, event=0x0)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:1540
#34 0x00005555570ecd9f in WM_operator_name_call_ptr (C=0x7ffff0030288, ot=0x7fffead007c8, context=7, properties=0x0)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:1588
#35 0x00005555575fb4f3 in ED_object_mode_toggle (C=0x7ffff0030288, mode=OB_MODE_POSE)
    at /home/zed/programmering/blender_master/blender/source/blender/editors/object/object_modes.c:174
#36 0x00005555575fa05a in object_mode_set_exec (C=0x7ffff0030288, op=0x7fffc9c72188)
    at /home/zed/programmering/blender_master/blender/source/blender/editors/object/object_edit.c:1356
#37 0x00005555570ec4df in wm_operator_invoke (C=0x7ffff0030288, ot=0x7fffead00288, event=0x7fffe9e7ff08, properties=0x7fffffffd610, reports=0x0,
    poll_only=false, use_last_properties=true) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:1343
#38 0x00005555570ecb7c in wm_operator_call_internal (C=0x7ffff0030288, ot=0x7fffead00288, properties=0x7fffffffd610, reports=0x0, context=1, poll_only=false,
    event=0x7fffe9e7ff08) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:1540
#39 0x00005555570ecd9f in WM_operator_name_call_ptr (C=0x7ffff0030288, ot=0x7fffead00288, context=1, properties=0x7fffffffd610)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:1588
#40 0x00005555574296ac in ui_apply_but_funcs_after (C=0x7ffff0030288)
    at /home/zed/programmering/blender_master/blender/source/blender/editors/interface/interface_handlers.c:776
#41 0x0000555557442286 in ui_handler_region_menu (C=0x7ffff0030288, event=0x7fffc9c07708, UNUSED_userdata=0x7fffca8b4408)
    at /home/zed/programmering/blender_master/blender/source/blender/editors/interface/interface_handlers.c:9854
#42 0x00005555570ea1ee in wm_handler_ui_call (C=0x7ffff0030288, handler=0x7fffc9c72248, event=0x7fffc9c07708, always_pass=0)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:573
#43 0x00005555570eee97 in wm_handlers_do_intern (C=0x7ffff0030288, event=0x7fffc9c07708, handlers=0x7fffef561f20)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:2385
#44 0x00005555570ef860 in wm_handlers_do (C=0x7ffff0030288, event=0x7fffc9c07708, handlers=0x7fffef561f20)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:2618
#45 0x00005555570f0c17 in wm_event_do_handlers (C=0x7ffff0030288)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:3008
#46 0x00005555570e5885 in WM_main (C=0x7ffff0030288) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm.c:425
#47 0x00005555570e016e in main (argc=2, argv=0x7fffffffdcd8) at /home/zed/programmering/blender_master/blender/source/creator/creator.c:520