# Anki Freezing After Answering a Few Cards

**URL:** <https://forums.ankiweb.net/t/anki-freezing-after-answering-a-few-cards/51988>\
**Category:** Help\
**Created:** [November 16, 2024, 12:56am UTC](https://forums.ankiweb.net/t/anki-freezing-after-answering-a-few-cards/51988 "2024-11-16T00:56:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryant](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@ryant](https://forums.ankiweb.net/u/ryant)\
**Post date:** [November 16, 2024, 12:56am UTC](https://forums.ankiweb.net/t/anki-freezing-after-answering-a-few-cards/51988/1 "2024-11-16T00:56:13Z")

</div>

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](https://docs.ankiweb.net/troubleshooting.html). 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:

```auto
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

```

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [November 16, 2024, 6:13am UTC](https://forums.ankiweb.net/t/anki-freezing-after-answering-a-few-cards/51988/2 "2024-11-16T06:13:56Z")

</div>

Have you tried …

> **[Missing Libraries - Anki Manual](https://docs.ankiweb.net/platform/linux/missing-libraries.html)**
>
> Anki's user manual. Anki is a flashcard program that makes learning easier.

> [@Not able to open anki after re-install](https://forums.ankiweb.net/t/not-able-to-open-anki-after-re-install/48538/6):
>
> Ok, I was able to solve the problem with installing libxcb-cursor0 with the following commands: sudo apt-get update sudo apt-get -y install libxcb-cursor0

> **[Install & Upgrade - Anki Manual](https://docs.ankiweb.net/platform/linux/installing.html)**
>
> Anki's user manual. Anki is a flashcard program that makes learning easier.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [November 17, 2024, 11:51am UTC](https://forums.ankiweb.net/t/anki-freezing-after-answering-a-few-cards/51988/3 "2024-11-17T11:51:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ryant](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@ryant](https://forums.ankiweb.net/u/ryant)\
**Post date:** [November 18, 2024, 3:55am UTC](https://forums.ankiweb.net/t/anki-freezing-after-answering-a-few-cards/51988/4 "2024-11-18T03:55:34Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ryant](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@ryant](https://forums.ankiweb.net/u/ryant)\
**Post date:** [November 18, 2024, 4:36pm UTC](https://forums.ankiweb.net/t/anki-freezing-after-answering-a-few-cards/51988/5 "2024-11-18T16:36:10Z")

</div>

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. 😛

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [December 18, 2024, 4:36pm UTC](https://forums.ankiweb.net/t/anki-freezing-after-answering-a-few-cards/51988/6 "2024-12-18T16:36:37Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
