Anki crashing when using custom study by state or tag

I have followed the troubleshooting checklist and this issue has not resolved. Any ideas?

Debug info? See the Help menu.

Please tell us exactly what steps you’re taking, and what error messages you’re seeing, if any.

Also, click on Help > About > Copy debug info – and paste the result of that in your response.

Anki 24.06.3 (d678e393) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.6.1-arm64-arm-64bit

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AMBOSS add-on [‘0amboss_addon’, 2024-08-05T09:24, ‘None’, mod]
Add Hyperlink [‘318752047’, 2023-06-18T06:39, ‘None’, ‘’]
Additional Card Fields Fork for 21 [‘744725736’, 2022-10-23T05:10, ‘None’, mod]
Advanced Browser [‘874215009’, 2023-10-21T09:34, ‘None’, mod]
Advanced Card Styles [‘1625103157’, 2021-12-28T11:49, ‘None’, ‘’]
AnKing Note Types Easy Customization [‘952691989’, 2024-08-19T03:41, ‘None’, mod]
Anki Simulator [‘817108664’, 2023-11-06T11:26, ‘None’, ‘’]
Batch Editing [‘291119185’, 2023-10-25T19:38, ‘None’, ‘’]
Browser Resizer [‘1435775540’, 2023-11-11T11:16, ‘None’, mod]
Browser TableEditor side-by-side horizontal split [‘831846358’, 2022-01-25T16:11, ‘None’, mod]
Clickable Tags v20 [‘1739176371’, 2022-01-30T16:58, ‘None’, ‘’]
Contanki - Controller Support for Anki beta [‘1898790263’, 2024-02-29T19:22, ‘v1.0.2’, ‘’]
Custom Background Image and Gear Icon [‘1210908941’, 2023-04-18T20:19, ‘None’, mod]
Customize Keyboard Shortcuts [‘24411424’, 2023-11-01T04:17, ‘None’, mod]
Edit Field During Review Cloze [‘385888438’, 2024-01-03T01:19, ‘6.18’, mod]
Export Single Tag For Sharing [‘960563361’, 2022-04-10T16:30, ‘None’, ‘’]
Extended Tag AddEdit Dialog [‘1135507717’, 2023-11-11T10:58, ‘None’, mod]
Fastbar- with nightmode support [‘46611790’, 2023-06-27T06:47, ‘None’, ‘’]
Google Translate [‘1536291224’, 2024-09-20T16:05, ‘None’, ‘’]
High Yield Tags [‘1918380616’, 2023-01-10T13:14, ‘None’, mod]
Hint Hotkeys [‘1844908621’, 2023-04-14T09:13, ‘None’, ‘’]
Image Editor [‘307397307’, 2022-09-07T23:09, ‘None’, mod]
Image Occlusion Enhanced [‘1374772155’, 2022-04-09T02:15, ‘None’, ‘’]
More Decks Stats and Time Left [‘1556734708’, 2024-08-19T17:49, ‘None’, mod]
More Overview Stats 21 [‘738807903’, 2024-08-22T04:14, ‘None’, mod]
Puppy Reinforcement [‘1722658993’, 2023-11-16T06:59, ‘None’, ‘’]
Quick Colour Changing [‘2491935955’, 2023-10-18T22:15, ‘None’, mod]
Reset Ease [‘947935257’, 2023-11-11T19:22, ‘None’, ‘’]
Review Heatmap [‘1771074083’, 2022-06-29T20:43, ‘None’, ‘’]
Special Fields [‘1102281552’, 2024-03-19T18:34, ‘None’, mod]
Speed Focus Mode auto-alert auto-reveal auto-answer [‘1046608507’, 2022-12-16T05:24, ‘None’, mod]
Straight Reward [‘957961234’, 2023-11-01T09:11, ‘None’, ‘’]
Symbols As You Type [‘2040501954’, 2024-01-19T23:42, ‘None’, ‘’]
Symbols [‘1461102936’, 2024-02-10T10:53, ‘None’, mod]
The KING of Button Add-ons [‘374005964’, 2024-09-23T07:14, ‘None’, ‘’]
Web Browser - Search terms Import texts and images automatically [‘864545277’, 2023-11-17T13:28, ‘None’, mod]
Wrapper meta-addon [‘396502676’, 2024-06-10T05:00, ‘None’, ‘’]
add-on dialog searchfilter bar [‘561945101’, 2023-10-18T11:22, ‘None’, ‘’]
rebuildempty some or all filtered decks [‘104518886’, 2023-05-16T17:33, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
104518886 1046608507 1102281552 1135507717 1210908941 1374772155 1435775540 1461102936 1536291224 1556734708 1625103157 1722658993 1739176371 1771074083 1844908621 1898790263 1918380616 2040501954 24411424 2491935955 291119185 307397307 318752047 374005964 385888438 396502676 46611790 561945101 738807903 744725736 817108664 831846358 864545277 874215009 947935257 952691989 957961234 960563361

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
BetterSearch [‘1052724801’, 2024-03-06T10:25, ‘None’, mod]
Closet For Anki [‘272311064’, 2022-08-12T03:27, ‘None’, ‘’]
Extended Card Stats During Review [‘1008566916’, 2024-02-26T13:07, ‘None’, ‘’]
Free Weekend - or Any Other Day [‘742185195’, 2020-04-10T06:57, ‘None’, mod]
Highlight Search Results in the Browser [‘225180905’, 2023-10-21T14:17, ‘None’, ‘’]
Load Balanced Scheduler [‘208879074’, 2019-07-23T21:37, ‘None’, ‘’]
Mini Format Pack [‘295889520’, 2023-11-02T13:00, ‘None’, ‘’]
Pop-up Dictionary beta [‘153625306’, 2019-03-23T12:32, ‘None’, ‘’]
Progress Bar [‘2091361802’, 2019-03-02T20:27, ‘None’, ‘’]
Searching PDF Reading Note-Taking in Add Dialog [‘1781298089’, 2022-08-15T02:22, ‘None’, ‘’]
Syllabus - Anki Statistics and Export by Tag and Deck [‘668156440’, 2020-01-19T13:52, ‘None’, mod]

debug info

I don’t see any error message just the rainbow circle on my mac.

That is a lot of add-ons. Is this still happening when you restart with all of your add-ons disabled? And –

Please tell us exactly what steps you’re taking …

Yes it is

I am clicking on the deck
then custom study
then study by card state or tag
then I have tried each of the options under this choice with 100 cards as the setting
then it just stops responding and bring up the rainbow circle

I have the ankimobile app and have not had the same issues there.

  • Does this happen in all decks/note types, or just certain ones?
  • Is it crashing when you click “Choose Tags” – or on the “Selective Study” window that comes after that?
    image
  • Have you run Check Database?

It happens once I click choose tags. Yes, I just ran check database and restarted anki and the issue still persists.

How many tags do you have?

I did not make the deck, it is a premade deck so I do not know the exact number but there are a lot of tags. I am using the Anking Step Deck.

I don’t think you answered this earlier –

Are your devices completely in sync now? You could also try running a Check Database on AnkiMobile, and then forcing a one-way sync from there.

I’m having the same exact problem, only with the AnKing Step Deck. Have restarted the app, my computer, deleted and redownloaded the app and have tried it in safe mode. Has there been an identified solution to this?

In order to help you with this, we’ll need to know all of the same things we asked OP. Start at the top, and make sure you’ve tried everything suggested, and then answer every question asked.

Anki 24.06.3 (d678e393) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.5-arm64-arm-64bit

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AMBOSS add-on [‘0amboss_addon’, 2024-08-05T10:24, ‘None’, mod]
Add Hyperlink [‘318752047’, 2023-06-18T07:39, ‘None’, ‘’]
Add Table [‘1237621971’, 2023-06-18T07:37, ‘None’, mod]
Advanced Review Bottom Bar [‘1136455830’, 2024-08-22T07:04, ‘None’, ‘’]
AnKing Note Types Easy Customization [‘952691989’, 2024-08-19T04:41, ‘None’, mod]
Anki Leaderboard - Compete with friends to boost motivation Fork by Shige [‘175794613’, 2024-10-16T08:38, ‘None’, mod]
AnkiHub [‘1322529746’, 2024-09-30T07:21, ‘None’, ‘’]
Closet For Anki [‘272311064’, 2022-08-12T04:27, ‘None’, ‘’]
Contanki - Controller Support for Anki beta [‘1898790263’, 2024-02-29T20:22, ‘v1.0.2’, ‘’]
FSRS Helper Postpone Advance Load Balance Easy Days Disperse Siblings [‘759844606’, 2024-10-09T22:36, ‘None’, ‘’]
Multiple Choice for Anki [‘1566095810’, 2023-11-17T15:59, ‘None’, mod]
Review Heatmap [‘1771074083’, 2022-06-29T21:43, ‘None’, ‘’]
Study Time Stats [‘1247171202’, 2024-02-24T11:59, ‘None’, ‘’]
Symbols As You Type [‘2040501954’, 2024-01-20T00:42, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
1136455830 1237621971 1247171202 1322529746 1566095810 175794613 1771074083 1898790263 2040501954 272311064 318752047 759844606 952691989

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

It still happens when I open in safe mode.
I’ve tried the troubleshooting.
There is not an error message, only a spinning color wheel. When I go to my task manager (activity monitor on Mac) I can see the program is not responding and the memory has jacked up to 40gb or more (sometimes as high as 70-80gb).
It only happens with the AnKing Step Deck and no other deck that I have.

Thank you, that helps!

  1. Does that include running Check Database?
  1. Since it happens with only one deck – and the same deck for both of you – you have to think that the deck might be the problem. Have you talked to the AnKing folks about this?

  2. Run Tools > Empty Cards. Do you have a lot of empty cards? Are they ones you can safely delete? If so, do that.

  3. Do you sync multiple devices? Are your devices completely in sync now? Try running a Check Database on the other device/app, and then forcing a one-way sync from there (upload to AnkiWeb) and receiving it on your computer (download from AnkiWeb).

  4. This happens when you try to start a Custom Study – does it also happen when you create a Filtered deck manually?

  5. Has this just started happening and it worked fine before? What has changed between then and now?

  6. Go to your Anki app folder, find console.bat and run that from a Terminal window. That will start Anki and stay open. When the crash happens, is anything output into that window?

  1. Since it happens with only one deck – and the same deck for both of you – you have to think that the deck might be the problem. Have you talked to the AnKing folks about this?

It appears they are aware and said it’s not on their end. There is a post that it wont let me link, but it’s the same exact thing on the Ankihub forum. Also relatively recent, unsure if it’s the above poster heeding their advice to come here instead.

  1. Just tried, no cards to delete.
  2. I do not. I started trying to download onto my phone a few times, but I aborted it each time since it would take so long due to the sheer size of the AnKing deck.
  3. I have never tried a filtered deck before, I’ll see how to do that.
  4. No, I haven’t been able to get it to work at all.
  5. Will try after the filtered deck option.

Thanks for getting back so quickly! I have an exam tomorrow morning so this is kinda putting a kink in things.

Will you post the link inside backticks `like this` so that I can take a look?

  1. I’ll think about the rest of it – but let’s move fast since you’re under the gun right now! There’s an easy way around this. Go to the Browse window, put together a search for all of the tags you want, copy it, and use it to create a Filtered deck. It’s exactly the same as Custom Study except you can choose whatever you want instead of picking a few items from a menu. Don’t let this stop you!