Recurrent crashing of app

Hi all! My anki keeps crashing when I am in “Browse” or adding new cards. I have tried the following solutions, but the problem keeps returning.

  1. restarting my computer
  2. deleting and redownloading the app
  3. signing out of AnkiHub
  4. resetting window preferences
  5. pressing “shift” when I open the app

The error message that pops up says “Termination reason: namespace SIGNAL, code 5 Trace/BPT trap: 5” among a long list of other things. Please let me know if you know how to fix this problem!!! Thank you!

What version of Anki are you using, and on what operating system (Windows/Mac/Linux)?

I am using Anki version 2.1.65 and I am using a Mac with M2 chip on Ventura software.

Please try updating to the latest version, and if problems persist, the ‘reset window sizes’ button in the preferences screen.

I updated to Anki 2.1.66 and reset the window preferences, however the problem is still persisting. Is there anything else I can do? Thank you!

Do you use third-party apps like Grammarly or custom keyboard layouts? Do you use more than one screen?

I do not use Grammarly but I do use an Anki remote with custom keyboard routing. I typically only use one screen. The crashing only occurs when I attempt to add new cards or browse decks.

The next time it crashes, please click on “Report” and then paste the top ~100 lines here. There’s a good chance it won’t reveal anything, but sometimes it can.

Here are the first 100 lines, please let me know if you need more of the report. Thank you for your help!!


Translated Report (Full Report Below)

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

Date/Time: 2023-08-30 10:02:58.0193 -0400
OS Version: macOS 13.5.1 (22G90)
Report Version: 12
Anonymous UUID: B9FF4C32-E382-1DDF-1FE2-6B9AFC52ECBE

Sleep/Wake UUID: 4D1B9819-A952-4608-86DC-7DFA606AAF90

Time Awake Since Boot: 18000 seconds
Time Since Wake: 2926 seconds

System Integrity Protection: enabled

Crashed Thread: 38 Thread (pooled)

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

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

Thread 0:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x18cbbbf54 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x18cbce280 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x18cbc4bb8 mach_msg_overwrite + 604
3 libsystem_kernel.dylib 0x18cbbc2d0 mach_msg + 24
4 CoreFoundation 0x18ccda7e4 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x18ccd90c4 __CFRunLoopRun + 1208
6 CoreFoundation 0x18ccd84b8 CFRunLoopRunSpecific + 612
7 HIToolbox 0x19652adf0 RunCurrentEventLoopInMode + 292
8 HIToolbox 0x19652ac2c ReceiveNextEventCommon + 648
9 HIToolbox 0x19652a984 _BlockUntilNextEventMatchingListInModeWithFilter + 76
10 AppKit 0x18feff97c _DPSNextEvent + 636
11 AppKit 0x18fefeb18 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
12 AppKit 0x18fef2f7c -[NSApplication run] + 464
13 libqcocoa.dylib 0x10fbc3cd0 0x10fbb0000 + 81104
14 QtCore 0x109d9a41c QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 532
15 QtCore 0x109d914a4 QCoreApplication::exec() + 112
16 QtWidgets.abi3.so 0x10d975cb0 meth_QApplication_exec(_object*, _object*) + 96
17 anki 0x1027c4260 cfunction_call + 104
18 anki 0x10277d7bc _PyObject_MakeTpCall + 136
19 anki 0x10287e048 _PyEval_EvalFrameDefault + 23972
20 anki 0x10277ea44 _PyFunction_Vectorcall + 720
21 anki 0x10287c2d4 _PyEval_EvalFrameDefault + 16432
22 anki 0x10277e864 _PyFunction_Vectorcall + 240
23 anki 0x10287d1c4 _PyEval_EvalFrameDefault + 20256
24 anki 0x102881688 _PyEval_EvalCode + 532
25 anki 0x1028781a0 PyEval_EvalCode + 80
26 anki 0x1028cc1b8 run_mod + 152
27 anki 0x1028cb714 PyRun_StringFlags + 152
28 anki 0x1028cb638 PyRun_SimpleStringFlags + 64
29 anki 0x1026df7f8 Py_RunMain + 340
30 anki 0x1024bc9b4 anki::main::hdccffdbbbc705678 + 1560
31 anki 0x1024bf620 std::sys_common::backtrace::__rust_begin_short_backtrace::hf191117396ca654b + 12
32 anki 0x1024bdbd0 main + 1172
33 anki 0x1024bdbd0 main + 1172
34 anki 0x1024bdbd0 main + 1172
35 anki 0x1024bdbd0 main + 1172
36 anki 0x1024bdbd0 main + 1172
37 anki 0x1024bdbd0 main + 1172
38 anki 0x1024bdbd0 main + 1172
39 anki 0x1024bdbd0 main + 1172
40 anki 0x1024bdbd0 main + 1172
41 anki 0x1024bdbd0 main + 1172
42 anki 0x1024bdbd0 main + 1172
43 anki 0x1024bdbd0 main + 1172
44 anki 0x1024bdbd0 main + 1172
45 anki 0x1024bdbd0 main + 1172
46 anki 0x1024bdbd0 main + 1172
47 anki 0x1024bdbd0 main + 1172
48 anki 0x1024bdbd0 main + 1172
49 anki 0x1024bdbd0 main + 1172
50 anki 0x1024bdbd0 main + 1172
51 anki 0x1024bdbd0 main + 1172
52 anki 0x1024bdbd0 main + 1172
53 anki 0x1024bdbd0 main + 1172
54 anki 0x1024bdbd0 main + 1172
55 anki 0x1024bdbd0 main + 1172
56 anki 0x1024bdbd0 main + 1172
57 anki 0x1024bdbd0 main + 1172
58 anki 0x1024bdbd0 main + 1172
59 anki 0x1024bdbd0 main + 1172
60 anki 0x1024bdbd0 main + 1172
61 anki 0x1024bdbd0 main + 1172
62 anki 0x1024bdbd0 main + 1172
63 anki 0x1024bdbd0 main + 1172
64 anki 0x1024bdbd0 main + 1172
65 anki 0x1024bdbd0 main + 1172
66 anki 0x1024bdbd0 main + 1172
67 anki 0x1024bdbd0 main + 1172
68 anki 0x1024bdbd0 main + 1172
69 anki 0x1024bdbd0 main + 1172
70 anki 0x1024bdbd0 main + 1172
71 anki 0x1024bdbd0 main + 1172
72 anki 0x1024bdbd0 main + 1172
73 anki 0x1024bdbd0 main + 1172
74 anki 0x1024bdbd0 main + 1172
75 anki 0x1024bdbd0 main + 1172
76 anki 0x1024bdbd0 main + 1172
77 anki 0x1024bdbd0 main + 1172
78 anki 0x1024bdbd0 main + 1172
79 anki 0x1024bdbd0 main + 1172
80 anki 0x1024bdbd0 main + 1172
81 anki 0x1024bdbd0 main + 1172
82 anki 0x1024bdbd0 main + 1172
83 anki 0x1024bdbd0 main + 1172
84 anki 0x1024bdbd0 main + 1172
85 anki 0x1024bdbd0 main + 1172
86 anki 0x1024bdbd0 main + 1172
87 anki 0x1024bdbd0 main + 1172
88 anki 0x1024bdbd0 main + 1172
89 anki 0x1024bdbd0 main + 1172
90 anki 0x1024bdbd0 main + 1172
91 anki 0x1024bdbd0 main + 1172
92 anki 0x1024bdbd0 main + 1172
93 anki 0x1024bdbd0 main + 1172
94 anki 0x1024bdbd0 main + 1172
95 anki 0x1024bdbd0 main + 1172
96 anki 0x1024bdbd0 main + 1172
97 anki 0x1024bdbd0 main + 1172
98 anki 0x1024bdbd0 main + 1172
99 anki 0x1024bdbd0 main + 1172
100 anki 0x1024bdbd0

I’m afraid I can’t see anything significant in that, but I appreciate you taking the time to post it. Unfortunately I don’t have much in the way of other ideas, though I would recommend you try experimenting with turning off your keyboard mapping and any other utilities you may have running, to see if that makes any difference.

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