Page MenuHome

Add Curve: Extra Objects + bone + spline ik crash
Closed, ResolvedPublic

Description

System Information
Operating system: Linux Ubuntu 18.04
Graphics card: Intel iGPU HD4600

Blender Version
Broken:
blender-2.80-9a8a5676da82-linux-glibc224-x86_64
Worked: (optional)
2.79

Short description of error
bone + spline ik cashes blender if target curve is generated via Add Curve: Extra Objects add-on

Workaround
copy curve to blender 2.79 and copy it back from 2.79 to 2.8

Video:
https://drive.google.com/open?id=18E8ajIWLFcj89-YGCKfEP_UfDJw-oJ3J

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

Event Timeline

Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 50.

Backtrace:

Thread 1 "blender" received signal SIGSEGV, Segmentation fault.
0x00005555568375f4 in splineik_init_tree_from_pchan (pchan_tip=pchan_tip@entry=0x7fffd1019288, UNUSED_ob=<optimized out>, scene=<optimized out>)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature_update.c:206
206			maxScale = totLength / splineLen;
(gdb) bt
#0  0x00005555568375f4 in splineik_init_tree_from_pchan (pchan_tip=pchan_tip@entry=0x7fffd1019288, UNUSED_ob=<optimized out>, scene=<optimized out>)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature_update.c:206
#1  0x000055555683765e in splineik_init_tree (scene=<optimized out>, ob=<optimized out>, UNUSED_ctime=<optimized out>)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature_update.c:257
#2  BKE_pose_splineik_init_tree (scene=<optimized out>, ob=<optimized out>, ctime=<optimized out>)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/armature_update.c:545
#3  0x0000555556bce350 in std::function<void (Depsgraph*)>::operator()(Depsgraph*) const (__args#0=<optimized out>, this=0x7fffcec46da8)
    at /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/std_function.h:682
#4  DEG::deg_task_run_func (pool=0x7fffceff5008, taskdata=0x7fffcec46d48, thread_id=0)
    at /home/zed/programmering/blender_master/blender/source/blender/depsgraph/intern/eval/deg_eval.cc:87
#5  0x0000555556bb0614 in handle_local_queue (thread_id=0, tls=0x7fffd7e60018)
    at /home/zed/programmering/blender_master/blender/source/blender/blenlib/intern/task.c:416
#6  BLI_task_pool_work_and_wait (pool=0x7fffceff5008) at /home/zed/programmering/blender_master/blender/source/blender/blenlib/intern/task.c:903
#7  0x0000555556bce5d3 in DEG::deg_evaluate_on_refresh (graph=graph@entry=0x7fffe43f6b08)
    at /home/zed/programmering/blender_master/blender/source/blender/depsgraph/intern/eval/deg_eval.cc:320
#8  0x0000555556bbb928 in DEG_evaluate_on_refresh (graph=graph@entry=0x7fffe43f6b08)
    at /home/zed/programmering/blender_master/blender/source/blender/depsgraph/intern/depsgraph_eval.cc:62
#9  0x0000555556967157 in BKE_scene_graph_update_tagged (depsgraph=depsgraph@entry=0x7fffe43f6b08, bmain=bmain@entry=0x7fffcf34c108)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/scene.c:1496
#10 0x000055555610af68 in wm_event_do_depsgraph (C=C@entry=0x7fffe9458108)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:340
#11 0x000055555610b005 in wm_event_do_refresh_wm_and_depsgraph (C=C@entry=0x7fffe9458108)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:365
#12 0x000055555611185a in wm_event_do_notifiers (C=C@entry=0x7fffe9458108)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:523
#13 0x00005555561078a8 in WM_main (C=0x7fffe9458108) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm.c:420
#14 0x00005555560f2403 in main (argc=1, argv=0x7fffffffdd38) at /home/zed/programmering/blender_master/blender/source/creator/creator.c:504

Most likely the problem is in the disabled Path Animation. Standard curves are created with Path Animation enabled, and Add Curve: Extra Objects are created without Path Animation enabled. If in object mode you disable Path Animation in a standard curve, it Blender 2.8 crashed.

Piotr Kudzin (sng84) added a comment.EditedFeb 13 2019, 9:38 PM

Most likely the problem is in the disabled Path Animation. Standard curves are created with Path Animation enabled, and Add Curve: Extra Objects are created without Path Animation enabled. If in object mode you disable Path Animation in a standard curve, it Blender 2.8 crashed.

enabling path animation solves the issue (maybe not the core issue, but i can cray on with modeling with no crash). Thanks!

Vladimir Spivak (cwolf3d) changed the task status from Unknown Status to Resolved.Jul 14 2019, 12:36 PM

Verified. In the latest build, this error does not appear.