So basically during a review session I would sometimes edit cards and after about 10 edits (these 10 edits might be distributed over 30 minutes or so) anki crashes.
I can reproduce it by pressing E to open the editor and exiting the editor with Ctrl+Enter.
It takes about 1-50 attempts of opening and closing the editor to crash anki, however most of the times opening the editor <10 times is enough.
It “apparently” happens faster if I close the editor quickly after opening it. So if I accidently press “E” and press Ctrl+Enter before the editor fully loaded.
But it also happens after the editor fully loaded.
It also happens when I disable all addons by starting Anki while pressing the Shift-Key.
I am currently using Anki 2.1.22 on Windows 10.
I posted this on the Anki subreddit before and tried the following:
Reinstalling 2.1.22.
Installing newer versions up to the 2.1.28beta.
Disabling hardware acceleration.
I would really appreciate any help or ideas, because it’s really annoying if Anki just crashes after editing 1 card and the last 100 reviews are gone…
I’m guessing it’s something specific to your computer configuration - perhaps some third party software you have running like an input method, dictionary helper, clipboard monitor, etc, or something specific to your hardware or Windows installation. Apart from experimenting, I’m afraid I don’t have any other suggestions for you
I’ve been having the same problem, but I’ve found a temporary workaround (issue being, the “resume now” button almost always crashes irrespective of the what led to it)
Workaround being, clicking on “B” during reviews does not immediately give the review screen, the “resume now” button,
hence, press “B”, exit to the decks page by pressing “D” then editing in browser, then exiting it
There seems to be no issues on edits outside of reviews
The crashes seem to reappear in the “release candidate” but luckily, due to anki now saving each step without the “resume now screen”, there is no data loss(by that I mean, no review or edit data is lost)
I’ve been able to reproduce this on every edit of a card when reviewing, though unlike last time(2.1.43/44), editing in the browser does not crash anki, but the crashes after edits persist(last version that does not crash after edits for me is 2.1.42)
I presume you’ve tried the different video drivers mentioned above already? It unfortunately sounds like a bug in the toolkit, and is likely timing dependent. If you can make a short video demonstrating the exact steps you’re taking I can try to reproduce it, but if it does not happen on a system here, I’m unfortunately not likely to be able to work around it for you.
The long pause at the end is me opening the editor, I couldn’t figure out how to record the whole screen, sorry about that, if you need that too, I shall figure out how
The point of the video is to see the steps you’re taking, which I can’t do if they’re happening off screen Please also make sure you test when all add-ons are disabled.