Page MenuHome

Crash when turning of path animation while Spline IK is active.
Closed, ResolvedPublic

Description

System Information
Operating system: Windows 10
Graphics card:

Blender Version
Broken:
2.8 2019-02-28
Worked: (optional)

Blender crashes as soon as you turn of path animation while there is a SplineIK aplied.

1:Create curve
2:Create bones
3:Aply an SplineIK modifier to bones (target Curve)
4:Select curve and under Object Data turn of Path animation
5:crash

Event Timeline

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

Backtrace:

Thread 28 "blender" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd43fb700 (LWP 29260)]
splineik_init_tree_from_pchan (scene=0x7fffd8e03008, UNUSED_ob=0x7fffe95f5408, pchan_tip=0x7fffd2022988)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature_update.c:201
201			splineLen = ikData->tar->runtime.curve_cache->path->totdist;
(gdb) bt
#0  splineik_init_tree_from_pchan (scene=0x7fffd8e03008, UNUSED_ob=0x7fffe95f5408, pchan_tip=0x7fffd2022988)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature_update.c:201
#1  0x00005555580cfad7 in splineik_init_tree (scene=0x7fffd8e03008, ob=0x7fffe95f5408, UNUSED_ctime=1)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature_update.c:258
#2  0x00005555580d0854 in BKE_pose_splineik_init_tree (scene=0x7fffd8e03008, ob=0x7fffe95f5408, ctime=1)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature_update.c:546
#3  0x00005555580d0c87 in BKE_pose_eval_init_ik (depsgraph=0x7fffea011908, scene=0x7fffd8e03008, object=0x7fffe95f5408)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature_update.c:627
#4  0x00005555586b887e in std::__invoke_impl<void, void (*&)(Depsgraph*, Scene*, Object*), Depsgraph*, Scene*&, Object*&> (__f=
    @0x7fffcfbc8520: 0x5555580d0b87 <BKE_pose_eval_init_ik>, __args#0=@0x7fffd43fab10: 0x7fffea011908, __args#1=@0x7fffcfbc8530: 0x7fffd8e03008,
    __args#2=@0x7fffcfbc8528: 0x7fffe95f5408) at /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/invoke.h:60
#5  0x00005555586b72f7 in std::__invoke<void (*&)(Depsgraph*, Scene*, Object*), Depsgraph*, Scene*&, Object*&> (__fn=
    @0x7fffcfbc8520: 0x5555580d0b87 <BKE_pose_eval_init_ik>, __args#0=@0x7fffd43fab10: 0x7fffea011908, __args#1=@0x7fffcfbc8530: 0x7fffd8e03008,
    __args#2=@0x7fffcfbc8528: 0x7fffe95f5408) at /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/invoke.h:95
#6  0x00005555586b5b95 in std::_Bind<void (*(std::_Placeholder<1>, Scene*, Object*))(Depsgraph*, Scene*, Object*)>::__call<void, Depsgraph*&&, 0ul, 1ul, 2ul>(std::tuple<Depsgraph*&&>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (this=0x7fffcfbc8520, __args=...)
    at /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/functional:400
#7  0x00005555586b3a94 in std::_Bind<void (*(std::_Placeholder<1>, Scene*, Object*))(Depsgraph*, Scene*, Object*)>::operator()<Depsgraph*, void>(Depsgraph*&&)
    (this=0x7fffcfbc8520, __args#0=@0x7fffd43fab10: 0x7fffea011908) at /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/functional:484
#8  0x00005555586b095e in std::_Function_handler<void (Depsgraph*), std::_Bind<void (*(std::_Placeholder<1>, Scene*, Object*))(Depsgraph*, Scene*, Object*)> >::_M_invoke(std::_Any_data const&, Depsgraph*&&) (__functor=..., __args#0=@0x7fffd43fab10: 0x7fffea011908)
    at /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/std_function.h:297
#9  0x00005555586cbf97 in std::function<void (Depsgraph*)>::operator()(Depsgraph*) const (this=0x7fffcf1d3bc0, __args#0=0x7fffea011908)
    at /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/std_function.h:687
#10 0x00005555586cb575 in DEG::deg_task_run_func (pool=0x7fffcd5ab008, taskdata=0x7fffcf1d3b48, thread_id=5)
    at /home/zed/programmering/blender_master/blender/source/blender/depsgraph/intern/eval/deg_eval.cc:88
#11 0x0000555558688364 in handle_local_queue (thread_id=5, tls=0x7fffd8e9a908)
    at /home/zed/programmering/blender_master/blender/source/blender/blenlib/intern/task.c:417
#12 task_scheduler_thread_run (thread_p=0x7fffd8e9a8f8) at /home/zed/programmering/blender_master/blender/source/blender/blenlib/intern/task.c:446
#13 0x00007ffff63993c3 in start_thread () from /lib64/libpthread.so.0
#14 0x00007ffff134e3ef in clone () from /lib64/libc.so.6