Bad Frame Transition Error

Started a Peacful mode game to play around in and got this error

    develop-2611 (x64)
    stonehearth/components/ai/execution_frame.luac:104: bad frame transition "add_action" from "starting"
    stack traceback:
        stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
        [C]: in function 'error'
        stonehearth/components/ai/execution_frame.luac:104: in function '_unknown_transition'
        stonehearth/components/ai/execution_frame.luac:191: in function '_add_action'
        stonehearth/components/ai/execution_frame.luac:561: in function 'fn'
        stonehearth/services/server/threads/thread.luac:109: in function 'private_msg'
        stonehearth/services/server/threads/thread.luac:168: in function '_dispatch_messages'
        stonehearth/services/server/threads/thread.luac:128: in function 'suspend'
        stonehearth/components/ai/execution_frame.luac:659: in function 'wait_until'
        stonehearth/components/ai/execution_frame.luac:348: in function <stonehearth/components/ai/execution_frame.luac:348>
        [C]: in function 'xpcall'
        ...
        stonehearth/components/ai/execution_frame.luac:129: in function '_run'
        stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
        [C]: in function 'xpcall'
        stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
        stonehearth/components/ai/execution_frame.luac:362: in function 'run'
        stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
        stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
        [C]: in function 'xpcall'
        stonehearth/services/server/threads/thread.luac:89: in function 'f'
        radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

    develop-2611 (x64)
    stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:104: bad frame transition "add_action" from "starting"
    stack traceback:
        stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
        [C]: in function 'error'
        stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
        stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
        stonehearth/components/ai/execution_frame.luac:348: in function 'start'
        stonehearth/services/server/ai/compound_action.luac:125: in function 'call_fn'
        stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_start'
        stonehearth/components/ai/execution_unit_v2.luac:226: in function '_do_start'
        stonehearth/components/ai/execution_unit_v2.luac:196: in function '_start_from_ready'
        stonehearth/components/ai/execution_unit_v2.luac:132: in function '_start'
        stonehearth/components/ai/execution_frame.luac:451: in function '_start_from_ready'
        ...
        stonehearth/components/ai/execution_frame.luac:129: in function '_run'
        stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
        [C]: in function 'xpcall'
        stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
        stonehearth/components/ai/execution_frame.luac:362: in function 'run'
        stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
        stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
        [C]: in function 'xpcall'
        stonehearth/services/server/threads/thread.luac:89: in function 'f'
        radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
develop-2611 (x64)
stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:104: bad frame transition "add_action" from "starting"
stack traceback:
    stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
    [C]: in function 'error'
    stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
    stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
    stonehearth/components/ai/execution_frame.luac:348: in function 'start'
    stonehearth/services/server/ai/compound_action.luac:125: in function 'call_fn'
    stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_start'
    stonehearth/components/ai/execution_unit_v2.luac:226: in function '_do_start'
    stonehearth/components/ai/execution_unit_v2.luac:196: in function '_start_from_ready'
    stonehearth/components/ai/execution_unit_v2.luac:132: in function '_start'
    stonehearth/components/ai/execution_frame.luac:451: in function '_start_from_ready'
    ...
    stonehearth/components/ai/execution_frame.luac:129: in function '_run'
    stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
    [C]: in function 'xpcall'
    stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
    stonehearth/components/ai/execution_frame.luac:362: in function 'run'
    stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
    stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
    [C]: in function 'xpcall'
    stonehearth/services/server/threads/thread.luac:89: in function 'f'
    radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

develop-2611 (x64)
stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:104: bad frame transition "add_action" from "starting"
stack traceback:
    stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
    [C]: in function 'error'
    stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
    stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
    stonehearth/components/ai/execution_frame.luac:348: in function 'start'
    ...onehearth/services/server/tasks/run_task_action.luac:56: in function 'call_fn'
    stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_start'
    stonehearth/components/ai/execution_unit_v2.luac:226: in function '_do_start'
    stonehearth/components/ai/execution_unit_v2.luac:196: in function '_start_from_ready'
    stonehearth/components/ai/execution_unit_v2.luac:132: in function '_start'
    stonehearth/components/ai/execution_frame.luac:451: in function '_start_from_ready'
    ...
    stonehearth/components/ai/execution_frame.luac:129: in function '_run'
    stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
    [C]: in function 'xpcall'
    stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
    stonehearth/components/ai/execution_frame.luac:362: in function 'run'
    stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
    stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
    [C]: in function 'xpcall'
    stonehearth/services/server/threads/thread.luac:89: in function 'f'
    radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

develop-2611 (x64)
stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:104: bad frame transition "add_action" from "starting"
stack traceback:
    stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
    [C]: in function 'error'
    stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
    stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
    stonehearth/components/ai/execution_frame.luac:348: in function 'start'
    stonehearth/services/server/ai/compound_action.luac:125: in function 'call_fn'
    stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_start'
    stonehearth/components/ai/execution_unit_v2.luac:226: in function '_do_start'
    stonehearth/components/ai/execution_unit_v2.luac:196: in function '_start_from_ready'
    stonehearth/components/ai/execution_unit_v2.luac:132: in function '_start'
    stonehearth/components/ai/execution_frame.luac:451: in function '_start_from_ready'
    ...
    stonehearth/components/ai/execution_frame.luac:129: in function '_run'
    stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
    [C]: in function 'xpcall'
    stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
    stonehearth/components/ai/execution_frame.luac:362: in function 'run'
    stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
    stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
    [C]: in function 'xpcall'
    stonehearth/services/server/threads/thread.luac:89: in function 'f'
    radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

develop-2611 (x64)
stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:104: bad frame transition "add_action" from "starting"
stack traceback:
    stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
    [C]: in function 'error'
    stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
    stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
    stonehearth/components/ai/execution_frame.luac:348: in function 'start'
    stonehearth/services/server/ai/compound_action.luac:125: in function 'call_fn'
    stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_start'
    stonehearth/components/ai/execution_unit_v2.luac:226: in function '_do_start'
    stonehearth/components/ai/execution_unit_v2.luac:196: in function '_start_from_ready'
    stonehearth/components/ai/execution_unit_v2.luac:132: in function '_start'
    stonehearth/components/ai/execution_frame.luac:508: in function '_unwind_call_stack'
    ...
    stonehearth/components/ai/execution_frame.luac:129: in function '_run'
    stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
    [C]: in function 'xpcall'
    stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
    stonehearth/components/ai/execution_frame.luac:362: in function 'run'
    stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
    stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
    [C]: in function 'xpcall'
    stonehearth/services/server/threads/thread.luac:89: in function 'f'
    radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Paging @Albert, has this been fixed? Seems to be some strange recursive call as the initial call in each stack gets longer each time, repeating line 688…

I believe this is no longer an issue in Release-472.