Page MenuHome

Instant crash upon parenting two separate armatures in the edit mode.
Closed, ResolvedPublic

Description

System Information
Operating system: Windows 10, 64 bit
Graphics card: Nvidia Geforce GTX 1070 8 gb

Blender Version
Broken:
2.8 b936d7b16c62 2019-03-31
2.8 a813e259d630 2019-04-02

Worked: (optional)

Short description of error
Hello there, wonderful people of Blender development community!

I think the ability to edit multiple objects in the edit mode presented a set of new bugs. For example, all the time I create two separate Armatures with bones in them I can select them in edit mode and try parenting them. Which will cause an instant crash with no notification or errors. Here's the video of the bug:

I guess if I'm not allowed to do that I must get the error message and not crash instantly.

Exact steps for others to reproduce the error

  1. - Create a scene
  2. - Create two separate Armatures sets with one bone in each
  3. - Select both Armatures
  4. - Go to edit mode with both Armatures selected
  5. - Select both bones from separate Armatures
  6. - Press Ctrl P and parent them
  7. - Crash with no error or notification

Thank you for your hard work!

Details

Type
Bug

Event Timeline

Yes, i can reproduce it in the today's 2019-04-03 build

Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.

I should note that the parent order seems to matter. I can only get it to crash when parenting bone A to bone B, but not bone B to bone A. However, even if it doesn't crash, the parenting doesn't work.

Backtrace:

Thread 1 "blender" received signal SIGSEGV, Segmentation fault.
0x0000555559293675 in BLI_addtail (listbase=0x7fffb8a7dc20,
    vlink=0x7fffba3a0f28)
    at /home/zed/prog/blender/source/blender/blenlib/intern/listbase.c:124
124			((Link *)listbase->last)->next = link;
(gdb) bt
#0  0x0000555559293675 in BLI_addtail (listbase=0x7fffb8a7dc20, vlink=0x7fffba3a0f28) at /home/zed/prog/blender/source/blender/blenlib/intern/listbase.c:124
#1  0x0000555557f501f2 in outliner_add_id_contents (soops=0x7fffd6f1cc08, te=0x7fffba3a0f98, tselem=0x7fffbc5eb0b0, id=0x7fffba275908)
    at /home/zed/prog/blender/source/blender/editors/space_outliner/outliner_tree.c:681
#2  0x0000555557f50bcc in outliner_add_element (soops=0x7fffd6f1cc08, lb=0x7fffba39fb90, idv=0x7fffba275908, parent=0x7fffba39fb78, type=0, index=0)
    at /home/zed/prog/blender/source/blender/editors/space_outliner/outliner_tree.c:829
#3  0x0000555557f4edd0 in outliner_add_object_contents (soops=0x7fffd6f1cc08, te=0x7fffba39fb78, tselem=0x7fffbc5eb0a0, ob=0x7fffba31e008)
    at /home/zed/prog/blender/source/blender/editors/space_outliner/outliner_tree.c:336
#4  0x0000555557f4f9b6 in outliner_add_id_contents (soops=0x7fffd6f1cc08, te=0x7fffba39fb78, tselem=0x7fffbc5eb0a0, id=0x7fffba31e008)
    at /home/zed/prog/blender/source/blender/editors/space_outliner/outliner_tree.c:517
#5  0x0000555557f50bcc in outliner_add_element (soops=0x7fffd6f1cc08, lb=0x7fffbc5d48f0, idv=0x7fffba31e008, parent=0x7fffbc5d48d8, type=0, index=0)
    at /home/zed/prog/blender/source/blender/editors/space_outliner/outliner_tree.c:829
#6  0x0000555557f52729 in outliner_add_layer_collection_objects (soops=0x7fffd6f1cc08, tree=0x7fffbc5d48f0, layer=0x7fffd6e815c8, lc=0x7fffd6ecd188,
    ten=0x7fffbc5d48d8) at /home/zed/prog/blender/source/blender/editors/space_outliner/outliner_tree.c:1351
#7  0x0000555557f528cd in outliner_add_layer_collections_recursive (soops=0x7fffd6f1cc08, tree=0x7fffbc5d4880, layer=0x7fffd6e815c8,
    layer_collections=0x7fffd6ecd1f0, parent_ten=0x7fffbc5d4868, show_objects=true)
    at /home/zed/prog/blender/source/blender/editors/space_outliner/outliner_tree.c:1387
#8  0x0000555557f52942 in outliner_add_view_layer (soops=0x7fffd6f1cc08, tree=0x7fffbc5d4880, parent=0x7fffbc5d4868, layer=0x7fffd6e815c8, show_objects=true)
    at /home/zed/prog/blender/source/blender/editors/space_outliner/outliner_tree.c:1401
#9  0x0000555557f542a9 in outliner_build_tree (mainvar=0x7fffdb5add08, scene=0x7fffd6fab008, view_layer=0x7fffd6e815c8, soops=0x7fffd6f1cc08, ar=0x7fffd6fb31c8)
    at /home/zed/prog/blender/source/blender/editors/space_outliner/outliner_tree.c:2172
#10 0x0000555557f411ba in draw_outliner (C=0x7fffdc058188) at /home/zed/prog/blender/source/blender/editors/space_outliner/outliner_draw.c:2281
#11 0x0000555557f36487 in outliner_main_region_draw (C=0x7fffdc058188, ar=0x7fffd6fb31c8)
    at /home/zed/prog/blender/source/blender/editors/space_outliner/space_outliner.c:96
#12 0x0000555558468e64 in ED_region_do_draw (C=0x7fffdc058188, ar=0x7fffd6fb31c8) at /home/zed/prog/blender/source/blender/editors/screen/area.c:508
#13 0x0000555557e54c0f in wm_draw_window_offscreen (C=0x7fffdc058188, win=0x7fffd6f1c488, stereo=false)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_draw.c:589
#14 0x0000555557e5518d in wm_draw_window (C=0x7fffdc058188, win=0x7fffd6f1c488) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_draw.c:721
#15 0x0000555557e55699 in wm_draw_update (C=0x7fffdc058188) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_draw.c:875
#16 0x0000555557e5235c in WM_main (C=0x7fffdc058188) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm.c:424
#17 0x0000555557e4c9f4 in main (argc=1, argv=0x7fffffffe098) at /home/zed/prog/blender/source/creator/creator.c:505

I can't get the issue in the latest 2019-05-10 build. Try it