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

AnkiDroid randomly restarts #15237

Closed
david-allison opened this issue Jan 16, 2024 · 4 comments
Closed

AnkiDroid randomly restarts #15237

david-allison opened this issue Jan 16, 2024 · 4 comments
Labels

Comments

@david-allison
Copy link
Member

          I know this is closed... Should I report things like this anyway, on the closed issue, if I believe it to be the same? 

Edit: Sorry... this it's very old! It is likely not the same.

Anyway I've had four random restarts while using Anki, after switching to the new "backend" a few days ago (then I was still using the latest release from Google Play store). Before that I used the old backend for some months without noticing any similar problems.
After upgrading to the latest alpha version (2.17 alpha 15) yesterday, Anki has restarted once, which was about 20-40 minutes ago. I don't think my phone had internet connection at that moment, and I don't know if it will have sent an error report now, after connecting again.
I have no sounds on my card so that is not the problem.

AnkiDroid Version = 2.17alpha15 (e5b25f3)
Backend Version = 0.1.34-anki23.12.1 (23.12.1 1a1d4d5419c6b57ef3baf99c9d2d9cf85d36ae0a)
Android Version = 9 (SDK 28)
ProductFlavor = full
Manufacturer = LGE
Model = LG-H930
Hardware = joan
Webview User Agent = Mozilla/5.0 (Linux; Android 9; LG-H930 Build/PKQ1.190414.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/120.0.6099.210 Mobile Safari/537.36
ACRA UUID = 5b935c08-681b-4ebb-87c5-7701905caf7a
Crash Reports Enabled = true

Originally posted by @andreas1974 in #4097 (comment)

@david-allison
Copy link
Member Author

david-allison commented Jan 16, 2024

@andreas1974
Copy link

andreas1974 commented Jan 16, 2024

BackendInvalidInputException: card was modified - shouldn't be a crash

You are right, that was not a crash or restart, just a popup with an error message that I reported (another issue).
The restart occurred a little while later. I was in the process of adding a new Anki card. The unsaved card was lost upon the crash/restart. To add this card I had selected a text on Google or Wiki and I then I long-clicked the selection, using the popup menu to add Anki card or Anki note or what the name may be in English (the popup says Anki-kort in Swedish).

I don't believe my previous Ankidroid restarts occurred while adding cards. I'll try to make a better note the next time this happens and add it here.

@david-allison david-allison added the Needs Author Reply Waiting for a reply from the original author label Jan 16, 2024
@david-allison
Copy link
Member Author

Thanks! Awaiting more details so we can diagnose this

@david-allison david-allison removed Needs Author Reply Waiting for a reply from the original author Needs Triage labels Feb 11, 2024
@david-allison
Copy link
Member Author

This should be fixed in beta3 now #12946 is fixed.

Please let me know if this continues

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