# Anki Freezes While Editing Math

Anki has been freezing sporadically (without ever recovering) while I edit math in the live MathJax. I have to kill Anki using the task manager and restart.

Anki 2.1.53 (96bacf79) Python 3.9.7 Qt 6.3.0 PyQt 6.3.0
Platform: Windows 10
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2022-06-30 00:11:03

(add-on provided name [Add-on folder, installed at, version, is config changed])
Advanced Browser ['874215009', 2022-01-30T15:07, 'None', '']
Anki Habitica for 21 ['1758045507', 2022-02-09T04:54, 'None', '']
Mini Format Pack ['295889520', 2018-07-24T10:45, 'None', '']

===IDs of active AnkiWeb add-ons===
1758045507 295889520 874215009

(add-on provided name [Add-on folder, installed at, version, is config changed])
Image Occlusion Enhanced ['1374772155', 2022-04-09T00:15, 'None', '']


Please try disabling your add-ons and reproduce the issue without them.

1 Like

The freezes are sporadic. Do you want me to just use Anki without my add-ons from now on until it (may or may not) happens again??

Yes, and please make sure you’re testing with the latest version.

I’m not going to use Anki without add-ons indefinitely in hopes of reproducing a bug. That’s an unreasonable ask! If the freeze happens again, then is there a log that I could grab that would help to pinpoint what happened?

You could run anki from console (or terminal on Mac), then the logs will show up there.

(assuming you meant “unreasonable ask”)
Change your point of view to the one of the developers. Anki is big piece of software (approx. ~100k lines of code, to give you an idea), which makes several heterogeneous components interact through many interfaces. In addition to that, Anki runs on computers, which are basically piles of hundred if not thousands of components, none of which is bug free. Furthermore, you even have add-ons, that is code that could replace a big part of Anki’s code, in a way that’s unpredictable, and that are often don’t have a full-time developer or a proper test suit.

Now a user reports that, sometimes their version of Anki, on their computer, with add-ons installed, freezes. What do you think a developer can do? The very least, to be able to patch this issue, is ascertain this is actually a bug in Anki, and not in, potentially, everything else. Anki’s development team doesn’t have enough resources to correct every bug in Anki (they’re issue tracker is not currently empty), let alone debugging add-ons.

Just to give you an idea, usually when you report a bug on the issue tracker, you are expected to provide steps to reproduce the issue (as well as how is this an issue, if it’s not clear enough) on a fresh install, so that developers can try to reproduce it too. This is not required, but it still should be the goal, as the further you are from being able to do this, the more (extremely) difficult it’s going to be to patch your issue.

However, that’s why this forum exists (among other purposes): so that users (and not only the core development team) can help other users to find the error without requiring the (limited) time of the devs, even if the problem is not directly related to Anki. Keep in mind that your issue could be caused, just to mention one, by your GPU driver.

You could also use Anki without add-ons just for a week specifically when you want to edit some maths. Maybe it’s more reasonable for you?

3 Likes