Anki crash when creating new cards or browse

My Anki keeps crashing when I am making new cards. It is the same problem as in this post: “Anki constantly crashing making cards”. I have tried all of the things they did as well as those in the “Troubleshooting - Anki Manual”. My Anki Version is Version ⁨24.04 (429bc9e1)⁩
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1.

Below is some of the error report I got on Mac.


Translated Report (Full Report Below)

Process: anki [22759]
Path: /Applications/Anki.app/Contents/MacOS/anki
Identifier: net.ankiweb.dtop
Version: 24.04 (???)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2024-04-10 16:38:51.4659 -0500
OS Version: macOS 14.4.1 (23E224)
Report Version: 12
Anonymous UUID: FBA403A0-0462-72EB-3249-E6D2B2935F11

Sleep/Wake UUID: F000E363-FA68-428D-A619-C8000E3DCCEC

Time Awake Since Boot: 130000 seconds
Time Since Wake: 6314 seconds

System Integrity Protection: enabled

Crashed Thread: 49 Thread (pooled)

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000015c79d248

Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process: exc handler [22759]

Thread 0:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x19bbda1f4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x19bbecb24 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x19bbe2e34 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x19bbda578 mach_msg + 24
4 CoreFoundation 0x19bcfa058 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x19bcf891c __CFRunLoopRun + 1208
6 CoreFoundation 0x19bcf7e0c CFRunLoopRunSpecific + 608
7 HIToolbox 0x1a6493000 RunCurrentEventLoopInMode + 292
8 HIToolbox 0x1a6492e3c ReceiveNextEventCommon + 648
9 HIToolbox 0x1a6492b94 _BlockUntilNextEventMatchingListInModeWithFilter + 76
10 AppKit 0x19f550970 _DPSNextEvent + 660
11 AppKit 0x19fd42dec -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700
12 AppKit 0x19f543cb8 -[NSApplication run] + 476
13 libqcocoa.dylib 0x10f3eff50 0x10f3dc000 + 81744
14 QtCore 0x109dea174 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 540
15 QtCore 0x109de0b14 QCoreApplication::exec() + 112
16 QtWidgets.abi3.so 0x10ee4839c meth_QApplication_exec(_object*, _object*) + 96
17 anki 0x1026ecf6c cfunction_call + 104
18 anki 0x1026a6dc8 _PyObject_MakeTpCall + 136
19 anki 0x1027a90a8 _PyEval_EvalFrameDefault + 23616
20 anki 0x1026a8054 _PyFunction_Vectorcall + 720
21 anki 0x1027a7380 _PyEval_EvalFrameDefault + 16152
22 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
23 anki 0x1027a8214 _PyEval_EvalFrameDefault + 19884
24 anki 0x1027ac6bc _PyEval_EvalCode + 488
25 anki 0x1027a3364 PyEval_EvalCode + 80
26 anki 0x1027f6f80 run_mod + 152
27 anki 0x1027f64dc PyRun_StringFlags + 152
28 anki 0x1027f6400 PyRun_SimpleStringFlags + 64
29 anki 0x1026358b8 Py_RunMain + 316
30 anki 0x102424b5c anki::main::hee7c4b6155116ddb + 16844
31 anki 0x10242000c std::sys_common::backtrace::__rust_begin_short_backtrace::h6edcccf333795c13 + 12
32 anki 0x1024203fc std::rt::lang_start::he364497118ca282e + 1000
33 anki 0x1024264a4 main + 12
34 dyld 0x19b8920e0 start + 2360

Thread 1:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x19bbe5358 __select + 8
1 CoreFoundation 0x19bd2330c __CFSocketManager + 640
2 libsystem_pthread.dylib 0x19bc1af94 _pthread_start + 136
3 libsystem_pthread.dylib 0x19bc15d34 thread_start + 8

Thread 2:
0 libsystem_kernel.dylib 0x19bbe5358 __select + 8
1 anki 0x10265df64 select_select_impl + 316
2 anki 0x1026ec768 cfunction_vectorcall_FASTCALL + 92
3 anki 0x1027a8214 _PyEval_EvalFrameDefault + 19884
4 anki 0x1027ac6bc _PyEval_EvalCode + 488
5 anki 0x1026a7f20 _PyFunction_Vectorcall + 412
6 anki 0x1027a7380 _PyEval_EvalFrameDefault + 16152
7 anki 0x1027ac6bc _PyEval_EvalCode + 488
8 anki 0x1026a7f20 _PyFunction_Vectorcall + 412
9 anki 0x1027a7410 _PyEval_EvalFrameDefault + 16296
10 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
11 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
12 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
13 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
14 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
15 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
16 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
17 anki 0x1026aa4a0 method_vectorcall + 412
18 anki 0x1025ec0d4 t_bootstrap + 72
19 anki 0x1028026cc pythread_wrapper + 28
20 libsystem_pthread.dylib 0x19bc1af94 _pthread_start + 136
21 libsystem_pthread.dylib 0x19bc15d34 thread_start + 8

Thread 3:
0 libsystem_kernel.dylib 0x19bbdd9ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19bc1b55c _pthread_cond_wait + 1228
2 anki 0x1028029d0 PyThread_acquire_lock_timed + 200
3 anki 0x1025eb5d4 acquire_timed + 140
4 anki 0x1025eb2bc lock_PyThread_acquire_lock + 56
5 anki 0x1026b0054 method_vectorcall_VARARGS_KEYWORDS + 156
6 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
7 anki 0x1027ac6bc _PyEval_EvalCode + 488
8 anki 0x1026a7f20 _PyFunction_Vectorcall + 412
9 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
10 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
11 anki 0x1026aa41c method_vectorcall + 280
12 anki 0x1027a397c _PyEval_EvalFrameDefault + 1300
13 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
14 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
15 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
16 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
17 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
18 anki 0x1026aa4a0 method_vectorcall + 412
19 anki 0x1025ec0d4 t_bootstrap + 72
20 anki 0x1028026cc pythread_wrapper + 28
21 libsystem_pthread.dylib 0x19bc1af94 _pthread_start + 136
22 libsystem_pthread.dylib 0x19bc15d34 thread_start + 8

Thread 4:
0 libsystem_kernel.dylib 0x19bbdd9ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19bc1b55c _pthread_cond_wait + 1228
2 anki 0x1028029d0 PyThread_acquire_lock_timed + 200
3 anki 0x1025eb5d4 acquire_timed + 140
4 anki 0x1025eb2bc lock_PyThread_acquire_lock + 56
5 anki 0x1026b0054 method_vectorcall_VARARGS_KEYWORDS + 156
6 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
7 anki 0x1027ac6bc _PyEval_EvalCode + 488
8 anki 0x1026a7f20 _PyFunction_Vectorcall + 412
9 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
10 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
11 anki 0x1026aa41c method_vectorcall + 280
12 anki 0x1027a397c _PyEval_EvalFrameDefault + 1300
13 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
14 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
15 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
16 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
17 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
18 anki 0x1026aa4a0 method_vectorcall + 412
19 anki 0x1025ec0d4 t_bootstrap + 72
20 anki 0x1028026cc pythread_wrapper + 28
21 libsystem_pthread.dylib 0x19bc1af94 _pthread_start + 136
22 libsystem_pthread.dylib 0x19bc15d34 thread_start + 8

Thread 5:
0 libsystem_kernel.dylib 0x19bbdd9ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19bc1b55c _pthread_cond_wait + 1228
2 anki 0x1028029d0 PyThread_acquire_lock_timed + 200
3 anki 0x1025eb5d4 acquire_timed + 140
4 anki 0x1025eb2bc lock_PyThread_acquire_lock + 56
5 anki 0x1026b0054 method_vectorcall_VARARGS_KEYWORDS + 156
6 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
7 anki 0x1027ac6bc _PyEval_EvalCode + 488
8 anki 0x1026a7f20 _PyFunction_Vectorcall + 412
9 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
10 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
11 anki 0x1026aa41c method_vectorcall + 280
12 anki 0x1027a397c _PyEval_EvalFrameDefault + 1300
13 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
14 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
15 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
16 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
17 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
18 anki 0x1026aa4a0 method_vectorcall + 412
19 anki 0x1025ec0d4 t_bootstrap + 72
20 anki 0x1028026cc pythread_wrapper + 28
21 libsystem_pthread.dylib 0x19bc1af94 _pthread_start + 136
22 libsystem_pthread.dylib 0x19bc15d34 thread_start + 8

Thread 6:
0 libsystem_kernel.dylib 0x19bbdd9ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19bc1b55c _pthread_cond_wait + 1228
2 anki 0x1028029d0 PyThread_acquire_lock_timed + 200
3 anki 0x1025eb5d4 acquire_timed + 140
4 anki 0x1025eb2bc lock_PyThread_acquire_lock + 56
5 anki 0x1026b0054 method_vectorcall_VARARGS_KEYWORDS + 156
6 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
7 anki 0x1027ac6bc _PyEval_EvalCode + 488
8 anki 0x1026a7f20 _PyFunction_Vectorcall + 412
9 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
10 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
11 anki 0x1026aa41c method_vectorcall + 280
12 anki 0x1027a397c _PyEval_EvalFrameDefault + 1300
13 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
14 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
15 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
16 anki 0x1027a787c _PyEval_EvalFrameDefault + 17428
17 anki 0x1026a7e74 _PyFunction_Vectorcall + 240
18 anki 0x1026aa4a0 method_vectorcall + 412
19 anki 0x1025ec0d4 t_bootstrap + 72
20 anki 0x1028026cc pythread_wrapper + 28
21 libsystem_pthread.dylib 0x19bc1af94 _pthread_start + 136
22 libsystem_pthread.dylib 0x19bc15d34 thread_start + 8

Thread 7:
0 libsystem_pthread.dylib 0x19bc15d20 start_wqthread + 0

Thread 8:: ThreadPoolServiceThread
0 libsystem_kernel.dylib 0x19bbe614c kevent64 + 8
1 QtWebEngineCore 0x1577d5e38 0x153838000 + 66707000
2 QtWebEngineCore 0x1577d5c30 0x153838000 + 66706480
3 QtWebEngineCore 0x15777ba20 0x153838000 + 66337312
4 QtWebEngineCore 0x157739440 0x153838000 + 66065472
5 QtWebEngineCore 0x15779f9c0 0x153838000 + 66484672
6 QtWebEngineCore 0x1577875a0 0x153838000 + 66385312
7 QtWebEngineCore 0x15779fb40 0x153838000 + 66485056
8 QtWebEngineCore 0x1577b96a8 0x153838000 + 66590376
9 libsystem_pthread.dylib 0x19bc1af94 _pthread_start + 136
10 libsystem_pthread.dylib 0x19bc15d34 thread_start + 8

Thread 9:: ThreadPoolForegroundWorker
0 libsystem_kernel.dylib 0x19bbda1f4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x19bbecb24 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x19bbe2e34 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x19bbda578 mach_msg + 24
4 QtWebEngineCore 0x1577de930 0x153838000 + 66742576
5 QtWebEngineCore 0x157759af4 0x153838000 + 66198260
6 QtWebEngineCore 0x1577927c4 0x153838000 + 66430916
7 QtWebEngineCore 0x1577935b8 0x153838000 + 66434488
8 QtWebEngineCore 0x157793010 0x153838000 + 66433040
9 QtWebEngineCore 0x157792f00 0x153838000 + 66432768
10 QtWebEngineCore 0x1577b96a8 0x153838000 + 66590376
11 libsystem_pthread.dylib 0x19bc1af94 _pthread_start + 136
12 libsystem_pthread.dylib 0x19bc15d34 thread_start + 8

Thread 10:: ThreadPoolBackgroundWorker
0 libsystem_kernel.dylib 0x19bbda1f4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x19bbecb24 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x19bbe2e34 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x19bbda578 mach_msg + 24
4 QtWebEngineCore 0x1577de930 0x153838000 + 66742576
5 QtWebEngineCore 0x157759af4 0x153838000 + 66198260
6 QtWebEngineCore 0x1577927c4 0x153838000 + 66430916
7 QtWebEngineCore 0x1577935b8 0x153838000 + 66434488
8 QtWebEngineCore 0x157792f8c 0x153838000 + 66432908
9 QtWebEngineCore 0x157792f30 0x153838000 + 66432816
10 QtWebEngineCore 0x1577b96a8 0x153838000 + 66590376
11 libsystem_pthread.dylib 0x19bc1af94 _pthread_start + 136
12 libsystem_pthread.dylib 0x19bc15d34 thread_start + 8

Thread 11:: Chrome_IOThread
0 libsystem_kernel.dylib 0x19bbe614c kevent64 + 8
1 QtWebEngineCore 0x1577d5e38 0x153838000 + 66707000
2 QtWebEngineCore 0x1577d5c30 0x153838000 + 66706480
3 QtWebEngineCore 0x15777ba20 0x153838000 + 66337312
4 QtWebEngineCore 0x157739440 0x153838000 + 66065472
5 QtWebEngineCore 0x15779f9c0 0x153838000 + 66484672
6 QtWebEngineCore 0x15606a1f0 0x153838000 + 42148336
7 QtWebEngineCore 0x15779fb40 0x153838000 + 66485056
8 QtWebEngineCore 0x1577b96a8 0x153838000 + 66590376
9 libsystem_pthread.dylib 0x19bc1af94 _pthread_start + 136
10 libsystem_pthread.dylib 0x19bc15d34 thread_start + 8

.
.
.

Model: Mac14,9, BootROM 10151.101.3, proc 12:8:4 processors, 16 GB, SMC
Graphics: Apple M2 Pro, Apple M2 Pro, Built-In
Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Jan 13 2024 06:19:30 version 23.30.42.0.41.51.132 FWID 01-5ba6bbe8
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.

Thank you for the help in advance!

What you describe doesn’t sound the same, since theirs was only on note creation for a particular type of notes.

I know you said you already did everything in the checklist, but did you do a full restart with all add-ons disabled? Really, because that’s the most likely solution.

Version 24.04 only came out a few days ago – so you must have updated only recently. If you use any add-ons – did you check to make sure they are compatible with 24.04?

Even if you are certain add-ons aren’t the problem - you should probably post a list of them (Help > About > Copy Debug Info), just in case anyone has advice about working with them.

Then you can also explain exactly what you’re doing when Anki crashes.
If you’re adding a note, what type?
For the browse window, is it when you open the window or when you do something particular in the window?

It has crashed when I create a note with “Cloze-AnKingMaster” and it has crashed when I have used "AnKingOverhaul (AnKing / AnKingMed). I haven’t tried other note types. It has only closed on me once when browsing, though the majority of my time has been creating notes not browsing. I have disabled add-ons and restarted.

It crashes usually after I create 2-3 notes.

Below are the add-ons. I have all except ankihub disabled.

===IDs of active AnkiWeb add-ons===
AnkiHub [‘1322529746’, 2024-04-05T13:26, ‘None’, ‘’]

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Add Hyperlink [‘318752047’, 2023-06-18T06:39, ‘None’, ‘’]
Additional Card Fields Fork for 21 [‘744725736’, 2022-10-23T05:10, ‘None’, ‘’]
Advanced Browser [‘874215009’, 2023-10-21T09:34, ‘None’, ‘’]
Advanced Card Styles [‘1625103157’, 2021-12-28T11:50, ‘None’, ‘’]
AnKing Note Types Easy Customization [‘952691989’, 2024-04-08T13:51, ‘None’, ‘’]
Anki Simulator [‘817108664’, 2023-11-06T11:26, ‘None’, ‘’]
Batch Editing [‘291119185’, 2023-10-25T19:38, ‘None’, ‘’]
BetterSearch [‘1052724801’, 2024-03-06T10:25, ‘None’, ‘’]
Browser Resizer [‘1435775540’, 2023-11-11T11:16, ‘None’, ‘’]
Clickable Tags v20 [‘1739176371’, 2022-01-30T16:58, ‘None’, ‘’]
Closet For Anki [‘272311064’, 2022-08-12T03:27, ‘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’, ‘’]
Customize Keyboard Shortcuts [‘24411424’, 2023-11-01T04:17, ‘None’, ‘’]
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 Card Stats During Review [‘1008566916’, 2024-02-26T13:07, ‘None’, ‘’]
Extended Tag AddEdit Dialog [‘1135507717’, 2023-11-11T10:58, ‘None’, ‘’]
Fastbar- with nightmode support [‘46611790’, 2023-06-27T06:47, ‘None’, ‘’]
Google Translate [‘1536291224’, 2024-02-21T08:34, ‘None’, ‘’]
High Yield Tags [‘1918380616’, 2023-01-10T13:14, ‘None’, ‘’]
Highlight Search Results in the Browser [‘225180905’, 2023-10-21T14:17, ‘None’, ‘’]
Hint Hotkeys [‘1844908621’, 2023-04-14T09:13, ‘None’, ‘’]
Image Editor [‘307397307’, 2022-09-07T23:09, ‘None’, ‘’]
Image Occlusion Enhanced [‘1374772155’, 2022-04-09T02:15, ‘None’, ‘’]
Mini Format Pack [‘295889520’, 2023-11-02T13:00, ‘None’, ‘’]
More Decks Stats and Time Left [‘1556734708’, 2023-09-24T09:08, ‘None’, ‘’]
More Overview Stats 21 [‘738807903’, 2021-07-30T14:13, ‘None’, ‘’]
Puppy Reinforcement [‘1722658993’, 2023-11-16T06:59, ‘None’, ‘’]
Quick Colour Changing [‘2491935955’, 2023-10-18T22:15, ‘None’, ‘’]
Reset Ease [‘947935257’, 2023-11-11T19:22, ‘None’, ‘’]
Review Heatmap [‘1771074083’, 2022-06-29T20:43, ‘None’, ‘’]
Searching PDF Reading Note-Taking in Add Dialog [‘1781298089’, 2022-08-15T02:22, ‘None’, mod]
Special Fields [‘1102281552’, 2024-03-19T18:34, ‘None’, ‘’]
Speed Focus Mode auto-alert auto-reveal auto-answer [‘1046608507’, 2022-12-16T05:24, ‘None’, ‘’]
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’, ‘’]
The KING of Button Add-ons [‘374005964’, 2024-01-27T04:19, ‘None’, ‘’]
Web Browser - Search terms Import texts and images automatically [‘864545277’, 2023-11-17T13:28, ‘None’, ‘’]
Wrapper meta-addon [‘396502676’, 2023-07-22T07:05, ‘None’, ‘’]
add-on dialog searchfilter bar [‘561945101’, 2023-10-18T11:22, ‘None’, ‘’]
rebuildempty some or all filtered decks [‘104518886’, 2023-05-16T17:33, ‘None’, ‘’]

The other thing I see in common between those 2 templates is “AnKing” – have you checked with those folks about whether there are issues with their templates?

What Anki version (approximately, if that’s the best you know) did you upgrade from?

Plenty of those add-ons could be problematic

Just to be clear – the crash still happens with all add-ons disabled, not just “all except ankihub”?

1 Like

You say you’ve tried all troubleshooting steps - you did reset window sizes too? You tried changing your video driver? Do you run any third-party utilities like a clipboard manager, grammarly, etc?

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