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

[Bug] Crash : Ankidroid crashes on performing a force sync from anki web to ankidroid. #10893

Closed
4 tasks done
THElegend5 opened this issue Apr 16, 2022 · 3 comments
Closed
4 tasks done
Labels

Comments

@THElegend5
Copy link

THElegend5 commented Apr 16, 2022

Reproduction Steps
  • Updated from 2.15.6 (Play store ver.) to 2.16alpha58
    and when i opened a card i started getting "failed to load : failed to load ...."
    Screenshot_2022-04-16-17-34-50-744_com.ichi2.anki.png

  • So i decided to use check media which instantly crashed the app.

  • After that i decided to force sync from anki web to ankidroid which also crashed the app.

  • Decided to check if my library was corrupted for some reason or not by downloading a parallel of 2.15.6 on which it seemed to work perfectly, updated the parallel to alpha58 and it was also crashing.

  • The alpha also doesn't seem to be detecting the backups neither is it creating them properly from what i can tell.
    Screenshot_2022-04-16-17-29-38-032_ru.zdevs.zarchiver.pro.png
    The only one which was good on 16/04 was made by the stable parallel.

  • Just to confirm if the problem was from this alpha or from before this I decided to test on alpha 56 parallel and got the same issues uninstalled the parallel and installed alpha 55 parallel and there wasn't a crash this time, decided to update 55 to 56 and test again and there wasn't a crash, same with from 56 to 58.

  • Btw I did try to reinstall main alpha58 directly when i was originally getting the crash before the above point happened and the crashes still happened. I thought i did but seems like i hadn't installed it directly and when I just did it seems to work fine on installing directly and this only happens if you update directly from 2.15.6 to 2.16 Alpha56/58/59.

  • Have confirmed that it doesn't crash anymore on main after uninstalling 58 and installing 55 then 56 and 58 again after that.

  • Backup still don't seem to be being created properly but am not sure yet, so will confirm after I am. It is detecting backups again and the backups are being created properly.

  • Also half of this happened while writing this so it might seem like a story.

Expected Result

App checks media , directly syncs from anki web to ankidroid , Backup being created properly.

Actual Result

App crashes if you have updated directly to alpha 58 or installing alpha58 directly over current library.

Debug info

AnkiDroid Version = 2.16alpha58

Android Version = 11

Manufacturer = Xiaomi

Model = Redmi Note 9 Pro Max

Hardware = qcom

Webview User Agent = Mozilla/5.0 (Linux; Android 11; Redmi Note 9 Pro Max Build/RKQ1.200826.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.88 Mobile Safari/537.36

ACRA UUID = d9199133-a62c-4572-ad4f-899c4d0b5307

Scheduler = std2

Crash Reports Enabled = true

DatabaseV2 Enabled = true

Research

Enter an [x] character to confirm the points below:

  • I have read the support page and am reporting a bug or enhancement request specific to AnkiDroid
  • I have checked the manual and the FAQ and could not find a solution to my issue
  • I have searched for similar existing issues here and on the user forum
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)
@github-actions
Copy link
Contributor

Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

@github-actions github-actions bot added the Stale label Jun 16, 2022
@krmanik krmanik removed the Stale label Jun 17, 2022
@github-actions
Copy link
Contributor

Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

@github-actions github-actions bot added the Stale label Aug 16, 2022
@mikehardy
Copy link
Member

I have been doing a lot of media check testing (#12026) and force syncing (#11849) so these code paths were recently exercised a lot and while I did see problems myself I think they are all fixed now in 2.16alpha78 - we can reopen if they recur of course

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

3 participants