Anki Freezing After Answering a Few Cards

After reviewing a few cards Anki will randomly freeze upon showing the answer of the next card. The problem persists in safe mode without any addons, with all video drivers (OpenGL, Vulkan, Software). I went through every step in Troubleshooting - Anki Manual. The only way to unfreeze it is to restart Anki. I’ve never encountered this before now and it is happening consistently within ~15 reviews. Is there any way to fix this?

Anki version:
Version ⁨24.06.3 (d678e393)⁩
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
OS: Debian GNU/Linux 12 (bookworm) x86_64

These are the full terminal logs when running Anki until the freeze occurs:

Anki starting...
Initial setup...
Preparing to run...
Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix 
2024-11-15 20:03:31,814:INFO:aqt.mediasrv: Serving on http://127.0.0.1:43407
todo: windows paths in import screen
Starting main loop...
JS warning /_anki/js/vendor/mathjax/tex-chtml-full.js:1 No version information available for component [tex]/noerrors
JS warning /_anki/js/vendor/mathjax/tex-chtml-full.js:1 No version information available for component [tex]/mathtools
JS warning /_anki/js/vendor/mathjax/tex-chtml-full.js:1 No version information available for component [tex]/mhchem

Have you tried …

If you create a new profile and download a simple shared deck, can you reproduce the issue?

It seems to be working now. I didn’t change anything but have been able to do all my reviews for two days with no freeze. I’ll post on here if it happens again.

The freezing happened again but it turns out it was just an issue with some javascript I had in the cards which created an infinite loop. Fixed it and no problem. :stuck_out_tongue: