# \[Bug\] Anki freeze when I paste text to Add

**URL:** <https://forums.ankiweb.net/t/bug-anki-freeze-when-i-paste-text-to-add/58807>\
**Category:** Help\
**Created:** [April 10, 2025, 3:42am UTC](https://forums.ankiweb.net/t/bug-anki-freeze-when-i-paste-text-to-add/58807 "2025-04-10T03:42:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![logic](https://avatars.discourse-cdn.com/v4/letter/l/aca169/32.png) [@logic](https://forums.ankiweb.net/u/logic)\
**Post date:** [April 10, 2025, 3:42am UTC](https://forums.ankiweb.net/t/bug-anki-freeze-when-i-paste-text-to-add/58807/1 "2025-04-10T03:42:07Z")

</div>

When I try to paste text to “Add”, the entire Anki freeze.

Anki Version: 25.02  
OS: KUbuntu 24.10

After I downgrade the Anki to 24.11 (Qt6), the issue disappears.

---

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [April 10, 2025, 5:58am UTC](https://forums.ankiweb.net/t/bug-anki-freeze-when-i-paste-text-to-add/58807/2 "2025-04-10T05:58:52Z")

</div>

Can you go through [Troubleshooting - Anki Manual](http://docs.ankiweb.net/troubleshooting.html)?

---

<div class="post-metadata">

**Author:** ![logic](https://avatars.discourse-cdn.com/v4/letter/l/aca169/32.png) [@logic](https://forums.ankiweb.net/u/logic)\
**Post date:** [April 10, 2025, 12:39pm UTC](https://forums.ankiweb.net/t/bug-anki-freeze-when-i-paste-text-to-add/58807/3 "2025-04-10T12:39:57Z")

</div>

I’ve gone through the trouble shooting guide but it does not help. The only way to fix it is to downgrade to 24.11.

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [April 10, 2025, 1:27pm UTC](https://forums.ankiweb.net/t/bug-anki-freeze-when-i-paste-text-to-add/58807/4 "2025-04-10T13:27:09Z")

</div>

1. What string do you try to paste?
2. Does it always happen with any string? Or only with strings containing e.g. html, or media, …?
3. If you run anki in a terminal and the add dialog freezes, what output do you get?

---

<div class="post-metadata">

**Author:** ![logic](https://avatars.discourse-cdn.com/v4/letter/l/aca169/32.png) [@logic](https://forums.ankiweb.net/u/logic)\
**Post date:** [April 10, 2025, 2:42pm UTC](https://forums.ankiweb.net/t/bug-anki-freeze-when-i-paste-text-to-add/58807/5 "2025-04-10T14:42:23Z")

</div>

It seems that after a day 24.11 also have the same issue.

1. just normal string without any special character. (e.g. “What is streaming?”)
2. yes.
3. here is the output

```auto
Anki starting...
Initial setup...
Preparing to run...
Wayland support is disabled by default due to bugs:
https://github.com/ankitects/anki/issues/1767
You can force it on with an env var: ANKI_WAYLAND=1
2025-04-10 10:40:37,291:INFO:aqt.mediasrv: Serving on http://127.0.0.1:38475
Starting main loop...
mpv not found, reverting to mplayer
JS warning /_anki/js/editor.js:439 No version information available for component [tex]/noerrors
JS warning /_anki/js/editor.js:439 No version information available for component [tex]/mathtools
JS warning /_anki/js/editor.js:439 No version information available for component [tex]/mhchem
use clipboard

```

Also it seems that after each install it will work for a while. not sure what’s going on.

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [April 10, 2025, 3:55pm UTC](https://forums.ankiweb.net/t/bug-anki-freeze-when-i-paste-text-to-add/58807/7 "2025-04-10T15:55:16Z")

</div>

Very odd.

Can you do the following?

1. Run anki in a debugger with `gdb --args anki --safemode`.
2. Inside of that debugger, start debugging with `r`.
3. Get anki to freeze.
4. Close debugger with `q`.
5. Paste the output of the debugger here.

Not sure if it will actually show anything useful considering there are no debugging symbols in the release build and anki doesn’t crash in your case. But it’s worth a try.

(And if it does crash, can you run `bt full` inside of the debugger, please? It should return a longer backtrace)

---

<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:** [May 10, 2025, 3:55pm UTC](https://forums.ankiweb.net/t/bug-anki-freeze-when-i-paste-text-to-add/58807/8 "2025-05-10T15:55:25Z")

</div>

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