The important setting combination:
explain justifications on
explain all on
chunk never (by default)
The agent passes a result back from a substate. This leads to a justification rule when it works and a crash when it (most often) doesn't.
This might be a red herring: I can't be certain yet, but it looks like chunk_record.cpp might try to find something in thisAgent->explanationMemory->all_identities_in_goal and maybe that shouldn't be attempted if "chunk never" is the setting.
I have attached a minimal working example agent. minimal-working-example-of-explainer-crash.zip
The important setting combination: explain justifications on explain all on chunk never (by default)
The agent passes a result back from a substate. This leads to a justification rule when it works and a crash when it (most often) doesn't.
This might be a red herring: I can't be certain yet, but it looks like chunk_record.cpp might try to find something in thisAgent->explanationMemory->all_identities_in_goal and maybe that shouldn't be attempted if "chunk never" is the setting.
this is on a 64 bit windows 11 machine.