This one is hard to explain, so I was about to attach a workspace that reproduces the error.
However... As I tried to do a )SAVE to save the workspace, the interpreter crashed and of course I was editing functions directly in the workspace so they weren't saved. I'll rewrite it so I can show you.
Assertion failed: sub_idx < values.size()
----------------------------------------
-- Stack trace at Archive.cc:743
----------------------------------------
0x7f95e7e21de5 __libc_start_main
0x51c42d Workspace::immediate_execution(bool)
0x46123d Command::process_line()
0x460e9f Command::process_line(UCS_string&)
0x51f33e Workspace::save_WS(std::ostream&, std::vector<UCS_string, std::allocator<UCS_string> >&)
0x44056c XML_Saving_Archive::save()
0x4429cf do_Assert(char const*, char const*, char const*, int)
========================================
e_msg_2: 'disploop[5] disp←'.#'[1+S]'
thrown: at StateIndicator.cc:39
==============================================================================
*** immediate_execution() caught other exception ***