Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cd segfaults #494

Open
garfieldnate opened this issue Aug 21, 2024 · 1 comment
Open

cd segfaults #494

garfieldnate opened this issue Aug 21, 2024 · 1 comment
Labels

Comments

@garfieldnate
Copy link
Collaborator

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
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant