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

Rare timing glitch leads to significant emulation slowdown (apparent freeze) #27

Open
mauiaaron opened this issue Apr 10, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@mauiaaron
Copy link
Owner

Occasionally the CPU/timing loop gets confused and results in significant slowdown of emulation and it gets wedged indefinitely in this state. In the wedged slow state it appears to be executing only one 65c02 cycle before nanosleep()ing.

I have experienced this issue few times around save/restore functionality in the latest Android build. It is recoverable by restarting the app and the subsequent state restoration does not seem to be affected.

Possible testing/discovery scenarios:

  • Rapid and repeatedly apply save/restore codepaths
  • Apply save/restore codepaths at edge cases of the CPU loop
  • What happens if Android/Linux clock "goes back" while running emulator?
@mauiaaron mauiaaron added the bug label Apr 10, 2017
@mauiaaron mauiaaron added this to the android-2.0 milestone Apr 10, 2017
@mauiaaron mauiaaron self-assigned this Apr 10, 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

1 participant