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

Zork crashing on "open mailbox" command #1

Closed
tintor opened this issue Feb 24, 2016 · 1 comment
Closed

Zork crashing on "open mailbox" command #1

tintor opened this issue Feb 24, 2016 · 1 comment

Comments

@tintor
Copy link

tintor commented Feb 24, 2016

compiled with "make"

tintor@tintor0:~/zork/zork$ ./zork
Welcome to Dungeon. This version created 11-MAR-91.
You are in an open field west of a big white house with a boarded
front door.
There is a small mailbox here.

n
You are facing the north side of a white house. There is no door here,
and all the windows are barred.
open mailbox
Segmentation fault (core dumped)

@tintor
Copy link
Author

tintor commented Feb 24, 2016

If I change compilation args from -O2 to -g it works. Looks like it is reading from uninitialized memory.

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

No branches or pull requests

1 participant