Page MenuHome

Blender crashes when adding geometry to linked rig and animation
Open, Confirmed, MediumPublic

Description

Blender Version
Broken: 2.79b

Short description of error
I'm trying to animate using a linked (proxy) rig, but it keeps crashing. It would crash as I'm working in the scene, but it would also crash when opening the scene.

The thing is, the crash seems to be a bit random.
Even if the scene crashes on start, if I keep opening the file, sometimes, it won't crash. It's like playing a crash lottery every time I open the scene.

I figured out that if I delete the character geometry, it doesn't crash. If I append the rig, it doesn't crash.
However, if I attach any geometry to the linked rig, it seems to crash.

Including an example file:

To get it to crash:

  1. Open up the attached file.
  2. Scrub timeline back and forth.

If you're (un)lucky, you might find that the file crashes on open. In that case, just keep trying to open the file.

Note that if you delete the geometry, it doesn't crash.

Details

Type
Bug

Event Timeline

Philipp Oeser (lichtwerk) triaged this task as Needs Information from User priority.Fri, Feb 8, 11:19 AM

Please also provide the library .blend (//Exit_Rig/Exit_EXIT_06.blend)

Ah, that makes sense, sorry about that.

Here it is:

Philipp Oeser (lichtwerk) raised the priority of this task from Needs Information from User to Needs Triage by Developer.Fri, Feb 8, 8:59 PM
Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.Sat, Feb 9, 3:30 PM

Backtrace:

Thread 25 "blender" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd4bfe700 (LWP 15704)]
0x000055555682edfb in b_bone_deform (co=co@entry=0x7fffd4bfd380, dq=dq@entry=0x0, defmat=defmat@entry=0x0, bone=<optimized out>, bone=<optimized out>,
    pdef_info=<optimized out>, pdef_info=<optimized out>) at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature.c:929
929		a = (int)(y / segment);
(gdb) bt
#0  0x000055555682edfb in b_bone_deform (co=co@entry=0x7fffd4bfd380, dq=dq@entry=0x0, defmat=defmat@entry=0x0, bone=<optimized out>, bone=<optimized out>,
    pdef_info=<optimized out>, pdef_info=<optimized out>) at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature.c:929
#1  0x00005555568338b4 in pchan_bone_deform (contrib=<synthetic pointer>, co=0x7fffd10b6e84, mat=0x0, dq=0x0, vec=<optimized out>, weight=0.00517571345,
    pdef_info=<optimized out>, pchan=0x7fffd0839a88) at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature.c:1074
#2  armature_deform_verts (armOb=0x7fffe89fde08, target=target@entry=0x7fffe89fe408, mesh=mesh@entry=0x0, vertexCos=vertexCos@entry=0x7fffd10b6008,
    defMats=defMats@entry=0x0, numVerts=numVerts@entry=527, deformflag=1, prevCos=0x0, defgrp_name=0x7fffd102d188 "", gps=0x0)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature.c:1330
#3  0x00005555565ed33f in deformVerts (md=0x7fffd102d108, ctx=0x7fffd4bfd6e0, mesh=0x0, vertexCos=0x7fffd10b6008, numVerts=527)
    at /home/zed/programmering/blender_master/blender/source/blender/modifiers/intern/MOD_armature.c:113
#4  0x000055555681f40a in mesh_calc_modifiers (depsgraph=depsgraph@entry=0x7fffe43fd608, scene=scene@entry=0x7fffd8260008, ob=ob@entry=0x7fffe89fe408,
    inputVertexCos=inputVertexCos@entry=0x0, useDeform=useDeform@entry=1, need_mapping=need_mapping@entry=false, dataMask=637747721, index=-1, useCache=true,
    build_shapekey_layers=false, r_deform=0x7fffe89fe958, r_final=0x7fffe89fe950)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/DerivedMesh.c:1236
#5  0x00005555568200f1 in mesh_build_data (depsgraph=depsgraph@entry=0x7fffe43fd608, scene=scene@entry=0x7fffd8260008, ob=ob@entry=0x7fffe89fe408,
    dataMask=637747721, build_shapekey_layers=build_shapekey_layers@entry=false, need_mapping=<optimized out>)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/DerivedMesh.c:2033
#6  0x000055555682233b in makeDerivedMesh (depsgraph=depsgraph@entry=0x7fffe43fd608, scene=scene@entry=0x7fffd8260008, ob=ob@entry=0x7fffe89fe408,
    em=em@entry=0x0, dataMask=<optimized out>, dataMask@entry=637747721, build_shapekey_layers=build_shapekey_layers@entry=false)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/DerivedMesh.c:2149
#7  0x0000555556927087 in BKE_object_handle_data_update (depsgraph=0x7fffe43fd608, scene=0x7fffd8260008, ob=0x7fffe89fe408)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/object_update.c:182
#8  0x000055555692744e in BKE_object_eval_uber_data (depsgraph=0x7fffe43fd608, scene=0x7fffd8260008, ob=0x7fffe89fe408)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/object_update.c:355
#9  0x0000555556bcb040 in std::function<void (Depsgraph*)>::operator()(Depsgraph*) const (__args#0=<optimized out>, this=0x7fffce0e79e8)
    at /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/std_function.h:682
#10 DEG::deg_task_run_func (pool=0x7fffc7bd5008, taskdata=0x7fffce0e7988, thread_id=2)
    at /home/zed/programmering/blender_master/blender/source/blender/depsgraph/intern/eval/deg_eval.cc:87
#11 0x0000555556bac8b1 in handle_local_queue (thread_id=2, tls=0x7fffd8281078)
    at /home/zed/programmering/blender_master/blender/source/blender/blenlib/intern/task.c:416
#12 task_scheduler_thread_run (thread_p=0x7fffd8281068) at /home/zed/programmering/blender_master/blender/source/blender/blenlib/intern/task.c:445
#13 0x00007ffff63923c3 in start_thread () from /lib64/libpthread.so.0
#14 0x00007ffff13493ef in clone () from /lib64/libc.so.6