SoarGroup / Soar

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

`cd` segfaults #494

Open garfieldnate opened 3 months ago

garfieldnate commented 3 months ago

Open SoarCLI or the debugger.

Enter cd (no arguments).

It segfaults with code 11!

I assume that it's expecting there to be an argument and tries to access an invalid memory location.

Being used to the Unix terminal, I thought that cd might take me to the user's home directory. I certainly didn't expect a segfault.

garfieldnate commented 1 month ago

The documentation suggests to me that cd is supposed to take you to the environment's working directory, which is wherever you've run your program that loaded Soar from.

Reproduced on both Mac and Windows.