# A consistent way to crash Anki on Win11

**URL:** <https://forums.ankiweb.net/t/a-consistent-way-to-crash-anki-on-win11/26257>\
**Category:** Help\
**Created:** [January 12, 2023, 5:26am UTC](https://forums.ankiweb.net/t/a-consistent-way-to-crash-anki-on-win11/26257 "2023-01-12T05:26:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilovesashimi](https://avatars.discourse-cdn.com/v4/letter/i/c68b51/32.png) [@ilovesashimi](https://forums.ankiweb.net/u/ilovesashimi)\
**Post date:** [January 12, 2023, 5:26am UTC](https://forums.ankiweb.net/t/a-consistent-way-to-crash-anki-on-win11/26257/1 "2023-01-12T05:26:41Z")

</div>

Win11 v21H2  
Anki v⁨2.1.54 (b6a7760c)⁩

I encountered something that consistently crashes anki.exe. I understand it may not be easy to reproduce elsewhere, so I wonder if there’s anyway to share something like a verbose log / crash dump file.

This is how it happens on my PC:

1. Go to Settings \> Time & language \> Typing \> Advanced keyboard settings \> Input language hot keys.
2. Set a hotkey for switching to English.  
(See screenshot for step 1 and 2)
3. Open Anki, go to either Browse or Add, where I can edit texts of a card. When typing, press the hotkey to switch to English. (This is a hotkey I probably press hundreds of times per day, when I’m typing in all kinds of places)
4. Anki will crash when the hotkey is pressed.  
 ![anki](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/a/ac42752d1ff8a2bfa81f81a9399e94e2b2f84add.png)

Some clarification:

1. The issue doesn’t appear when I first launch Anki after system boot (which means rebooting the computer fixes it temporarily), but it starts to appear after a while, or sometimes after a couple of days.
2. Once the issues appears, relaunch Anki doesn’t fix it, whether it’s relaunch after a normal shutdown or relaunch after crash. It will always crash again every time the hotkey is pressed.
3. I tried to close all other running software and test again, I also tried to restart Window Explorer, none helped. The only fix is a system restart.
4. It only triggers when switching to English. The other 3 hotkeys in my screenshot doesn’t trigger it. Switch language with mouse also doesn’t trigger it.
5. I only started to encounter this issue recently, but I haven’t updated Anki for a long time, so it may have to do with recent Win11 updates.

---

<div class="post-metadata">

**Author:** ![NameLessGO](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/namelessgo/32/34298_2.png) [@NameLessGO](https://forums.ankiweb.net/u/NameLessGO)\
**Post date:** [January 12, 2023, 11:48am UTC](https://forums.ankiweb.net/t/a-consistent-way-to-crash-anki-on-win11/26257/2 "2023-01-12T11:48:23Z")

</div>

Could you replicate with the latest version [2.1.56](https://github.com/ankitects/anki/releases/tag/2.1.56)?

---

<div class="post-metadata">

**Author:** ![ilovesashimi](https://avatars.discourse-cdn.com/v4/letter/i/c68b51/32.png) [@ilovesashimi](https://forums.ankiweb.net/u/ilovesashimi)\
**Post date:** [January 12, 2023, 2:14pm UTC](https://forums.ankiweb.net/t/a-consistent-way-to-crash-anki-on-win11/26257/3 "2023-01-12T14:14:46Z")

</div>

Thanks for your reply, I just did the update, will test for a few days. If I don’t reply back then it means it’s fixed.

---

<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:** [February 11, 2023, 2:15pm UTC](https://forums.ankiweb.net/t/a-consistent-way-to-crash-anki-on-win11/26257/4 "2023-02-11T14:15:34Z")

</div>

Closed on February 11, 2023, 2:15pm UTC

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