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

ViziaMain.newEpisode() hangs when it's called straight after init #3

Closed
mihahauke opened this issue Nov 30, 2015 · 2 comments
Closed
Labels

Comments

@mihahauke
Copy link
Collaborator

this is ok:
v->init();
v->makeAction(action);
v->newEpisode();

this is bad:
v->init();
v->newEpisode();
it hangs here

@mihahauke mihahauke added the bug label Nov 30, 2015
@mihahauke
Copy link
Collaborator Author

Update:
The bug is more serious because makeAction/newEpisode seems to hang ocasionally. Reproducible in python and c++. Run example.py or mainExample and wait, it should stop. I suspect that it's the same bug.

@mwydmuch
Copy link
Collaborator

mwydmuch commented Dec 2, 2015

Well, calling newEpisode() after init is fixed now and also this fix should make restarting more reliable. I can't reproduce bug with occasionally hang just letting it run, it works good for me. But I have noticed that it sometimes hang on mouse input in doom window, then map restart due to End_Normal(0) can be interrupted (by this input?). Temporary (or not) I have added restart reattempt if it takes to long.

@mwydmuch mwydmuch closed this as completed Dec 2, 2015
schroederdewitt added a commit to schroederdewitt/ViZDoom that referenced this issue Jun 30, 2017
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

2 participants