# Anki Crashing if some text is selected and Copied ( Wayland ) 2.165(141bc18b)

**URL:** <https://forums.ankiweb.net/t/anki-crashing-if-some-text-is-selected-and-copied-wayland-2-165-141bc18b/32847>\
**Category:** Help\
**Created:** [August 6, 2023, 9:21am UTC](https://forums.ankiweb.net/t/anki-crashing-if-some-text-is-selected-and-copied-wayland-2-165-141bc18b/32847 "2023-08-06T09:21:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![phoenix98](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@phoenix98](https://forums.ankiweb.net/u/phoenix98)\
**Post date:** [August 6, 2023, 9:21am UTC](https://forums.ankiweb.net/t/anki-crashing-if-some-text-is-selected-and-copied-wayland-2-165-141bc18b/32847/1 "2023-08-06T09:21:56Z")

</div>

I tried using safeMode but it is happeing there too, so i think my addons are not causing this. This is the output-\>

```auto
$ anki --safemode
Running with temporary Qt5 compatibility shims.
Run with DISABLE_QT5_COMPAT=1 to confirm compatibility with Qt6.
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 
Starting main loop...
JS warning /_anki/js/reviewer_editor.js:4 No version information available for component [tex]/noerrors
JS warning /_anki/js/reviewer_editor.js:4 No version information available for component [tex]/mathtools
JS warning /_anki/js/reviewer_editor.js:4 No version information available for component [tex]/mhchem
JS warning /_anki/js/reviewer_editor.js:97 The specified value "#00f" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Segmentation fault (core dumped)

```

Whenever i select text using `Ctrl+A` or even using mouse followed by `Ctrl+C` or `Right click then select copy` , Anki crashes.

System Details-\>

Anki version - Version ⁨2.1.65 (141bc18b)⁩  
Python 3.11.3 Qt 6.5.2 PyQt 6.5.2  
OS: Arch Linux x86\_64  
Kernel: 6.1.39-3-lts  
DE: Plasma 5.27.7

PS - Just discovered this - I am using arch and used aur-repo to get anki , the version used by AUR of anki is 2.165(141bc18b) but on Anki-Github the official version is 2.165(aa9a734f). where are they getting this build of anki from . Also it is only crashing on wayland

---

<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:** [August 7, 2023, 6:04am UTC](https://forums.ankiweb.net/t/anki-crashing-if-some-text-is-selected-and-copied-wayland-2-165-141bc18b/32847/2 "2023-08-07T06:04:31Z")

</div>

Can you reproduce the issue with the beta version? [Anki 2.1.66 Beta](https://forums.ankiweb.net/t/anki-2-1-66-beta/32463)

---

<div class="post-metadata">

**Author:** ![phoenix98](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@phoenix98](https://forums.ankiweb.net/u/phoenix98)\
**Post date:** [August 7, 2023, 6:42am UTC](https://forums.ankiweb.net/t/anki-crashing-if-some-text-is-selected-and-copied-wayland-2-165-141bc18b/32847/3 "2023-08-07T06:42:22Z")

</div>

Used this approach to get anki-beta →

```auto
$ python3.9 -m venv pyenv
$ pyenv/bin/pip install --upgrade pip
$ pyenv/bin/pip install --upgrade --pre 'aqt[qt6]'
$ pyenv/bin/anki

```

my plugins and userdata from .local/share/anki2 were loaded succefully

The issue is not there on this build. It works correctly.

---

<div class="post-metadata">

**Author:** ![phoenix98](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@phoenix98](https://forums.ankiweb.net/u/phoenix98)\
**Post date:** [August 8, 2023, 3:28pm UTC](https://forums.ankiweb.net/t/anki-crashing-if-some-text-is-selected-and-copied-wayland-2-165-141bc18b/32847/4 "2023-08-08T15:28:21Z")

</div>

should i wait for stable release or something i can else do in meantime ?

---

<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:** [August 9, 2023, 2:24am UTC](https://forums.ankiweb.net/t/anki-crashing-if-some-text-is-selected-and-copied-wayland-2-165-141bc18b/32847/5 "2023-08-09T02:24:43Z")

</div>

Glad to hear that fixed it. You can keep using that version until the next stable release comes out.

---

<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:** [September 8, 2023, 2:25am UTC](https://forums.ankiweb.net/t/anki-crashing-if-some-text-is-selected-and-copied-wayland-2-165-141bc18b/32847/6 "2023-09-08T02:25:28Z")

</div>

Closed on September 8, 2023, 2:25am UTC

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