SoarGroup / Soar

Soar, a general cognitive architecture for systems that exhibit intelligent behavior.
http://soar.eecs.umich.edu
Other
322 stars 70 forks source link

crash when setting explainer options to on, then leaving chunking off #434

Open scijones opened 3 months ago

scijones commented 3 months ago

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.