Anki 25.06 Beta

I get the following segfault when quitting Anki 25.06b5 on macOS 15.5 / ARM-64. I can reproduce it just by launching Anki and then closing it again. It doesn’t crash 100% of the time, but it crashes at least 80% of the time. I have tried all the troubleshooting steps from the manual and they had no effect. (Except maybe it crashes slightly less often with the Software video driver? It’s hard to say for sure.)

I think I first saw this problem when I upgraded to 25.06b4, and it is currently happening in 25.06b5. It also happens when building and running from source on the latest main branch.

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               python3.13 [30403]
Path:                  /Users/USER/Library/Application Support/AnkiProgramFiles/*/python3
Identifier:            python3.13
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2025-06-22 12:02:12.7637 -0700
OS Version:            macOS 15.5 (24F74)
Report Version:        12
Anonymous UUID:        686338B8-6BCB-8165-03FE-0200FD52E530

Sleep/Wake UUID:       909F233D-3A75-44BC-AE13-2DD0DEE593D5

Time Awake Since Boot: 1700000 seconds
Time Since Wake:       484 seconds

System Integrity Protection: enabled

Crashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [30403]

VM Region Info: 0 is not in any region.  Bytes before following region: 4377182208
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      104e68000-104e6c000    [   16K] r-x/r-x SM=COW  /Users/USER/*/python3.13

Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0   libqcocoa.dylib               	       0x10f631a94 0x10f5d8000 + 367252
1   AppKit                        	       0x189b5223c -[NSTouch dealloc] + 48
2   CoreFoundation                	       0x185971da8 __RELEASE_OBJECTS_IN_THE_SET__ + 152
3   CoreFoundation                	       0x185971cc0 -[__NSSetM dealloc] + 148
4   AppKit                        	       0x189a0c768 -[NSEvent dealloc] + 68
5   libqcocoa.dylib               	       0x10f5ed3c4 0x10f5d8000 + 86980
6   libqcocoa.dylib               	       0x10f5f8d98 0x10f5d8000 + 134552
7   libqcocoa.dylib               	       0x10f5f8fa4 0x10f5d8000 + 135076
8   QtGui                         	       0x10cdffd08 QGuiApplicationPrivate::~QGuiApplicationPrivate() + 492
9   QtWidgets                     	       0x10e021220 QApplicationPrivate::~QApplicationPrivate() + 12
10  QtCore                        	       0x1083b6f90 QObject::~QObject() + 2180
11  QtGui                         	       0x10cdfab48 QGuiApplication::~QGuiApplication() + 652
12  QtWidgets                     	       0x10e023118 QApplication::~QApplication() + 1096
13  QtWidgets.abi3.so             	       0x10c73937c sipQApplication::~sipQApplication() + 52
14  QtCore.abi3.so                	       0x1080602c4 cleanup_on_exit(_object*, _object*) + 68
15  libpython3.13.dylib           	       0x10686ead4 cfunction_vectorcall_NOARGS.llvm.4975675396101423879 + 100
16  libpython3.13.dylib           	       0x10675a1b0 atexit_callfuncs.llvm.6108987089060369669 + 100
17  libpython3.13.dylib           	       0x1067561fc _Py_Finalize.llvm.11576744790914424638 + 176
18  libpython3.13.dylib           	       0x1067ca4b8 Py_Exit + 64
19  libpython3.13.dylib           	       0x1067ca0a4 _PyErr_PrintEx.llvm.2126687039956347858 + 72
20  libpython3.13.dylib           	       0x1067e4404 _PyRun_SimpleFileObject + 416
21  libpython3.13.dylib           	       0x1067e4124 _PyRun_AnyFileObject + 80
22  libpython3.13.dylib           	       0x1067e4004 pymain_run_file_obj + 164
23  libpython3.13.dylib           	       0x1067e3e44 pymain_run_file + 76
24  libpython3.13.dylib           	       0x10675535c Py_RunMain + 1068
25  libpython3.13.dylib           	       0x10674c4f4 pymain_main + 468
26  libpython3.13.dylib           	       0x10674c314 Py_BytesMain + 36
27  dyld                          	       0x18550ab98 start + 6076

Thread 1:
0   libsystem_pthread.dylib       	       0x1858a5b6c start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	       0x1858a5b6c start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	       0x1858a5b6c start_wqthread + 0

Thread 4:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	       0x185873c2c __select + 8
1   CoreFoundation                	       0x1859bbcf4 __CFSocketManager + 704
2   libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
3   libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 5:: ThreadPoolForegroundWorker
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   QtWebEngineCore               	       0x1409734ac 0x13bf6c000 + 77624492
5   QtWebEngineCore               	       0x1408f86e4 0x13bf6c000 + 77121252
6   QtWebEngineCore               	       0x140931d4c 0x13bf6c000 + 77356364
7   QtWebEngineCore               	       0x1409312e0 0x13bf6c000 + 77353696
8   QtWebEngineCore               	       0x1409310ac 0x13bf6c000 + 77353132
9   QtWebEngineCore               	       0x140930f90 0x13bf6c000 + 77352848
10  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
11  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
12  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 6:: ThreadPoolBackgroundWorker
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   QtWebEngineCore               	       0x1409734ac 0x13bf6c000 + 77624492
5   QtWebEngineCore               	       0x1408f86e4 0x13bf6c000 + 77121252
6   QtWebEngineCore               	       0x140931d4c 0x13bf6c000 + 77356364
7   QtWebEngineCore               	       0x1409312e0 0x13bf6c000 + 77353696
8   QtWebEngineCore               	       0x140931028 0x13bf6c000 + 77353000
9   QtWebEngineCore               	       0x140930fcc 0x13bf6c000 + 77352908
10  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
11  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
12  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 7:: ThreadPoolForegroundWorker
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   QtWebEngineCore               	       0x1409734ac 0x13bf6c000 + 77624492
5   QtWebEngineCore               	       0x1408f86e4 0x13bf6c000 + 77121252
6   QtWebEngineCore               	       0x140931d4c 0x13bf6c000 + 77356364
7   QtWebEngineCore               	       0x1409312e0 0x13bf6c000 + 77353696
8   QtWebEngineCore               	       0x1409310ac 0x13bf6c000 + 77353132
9   QtWebEngineCore               	       0x140930f90 0x13bf6c000 + 77352848
10  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
11  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
12  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 8:: ThreadPoolForegroundWorker
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   QtWebEngineCore               	       0x1409734ac 0x13bf6c000 + 77624492
5   QtWebEngineCore               	       0x1408f86e4 0x13bf6c000 + 77121252
6   QtWebEngineCore               	       0x140931d4c 0x13bf6c000 + 77356364
7   QtWebEngineCore               	       0x1409312e0 0x13bf6c000 + 77353696
8   QtWebEngineCore               	       0x1409310ac 0x13bf6c000 + 77353132
9   QtWebEngineCore               	       0x140930f90 0x13bf6c000 + 77352848
10  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
11  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
12  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 9:: ThreadPoolForegroundWorker
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   QtWebEngineCore               	       0x1409734ac 0x13bf6c000 + 77624492
5   QtWebEngineCore               	       0x1408f86e4 0x13bf6c000 + 77121252
6   QtWebEngineCore               	       0x140931d4c 0x13bf6c000 + 77356364
7   QtWebEngineCore               	       0x1409312e0 0x13bf6c000 + 77353696
8   QtWebEngineCore               	       0x1409310ac 0x13bf6c000 + 77353132
9   QtWebEngineCore               	       0x140930f90 0x13bf6c000 + 77352848
10  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
11  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
12  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 10:: ThreadPoolForegroundWorker
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   QtWebEngineCore               	       0x1409734ac 0x13bf6c000 + 77624492
5   QtWebEngineCore               	       0x1408f86e4 0x13bf6c000 + 77121252
6   QtWebEngineCore               	       0x140931d4c 0x13bf6c000 + 77356364
7   QtWebEngineCore               	       0x1409312e0 0x13bf6c000 + 77353696
8   QtWebEngineCore               	       0x1409310ac 0x13bf6c000 + 77353132
9   QtWebEngineCore               	       0x140930f90 0x13bf6c000 + 77352848
10  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
11  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
12  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 11:: ThreadPoolSingleThreadSharedForeground0
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   QtWebEngineCore               	       0x1409734ac 0x13bf6c000 + 77624492
5   QtWebEngineCore               	       0x1408f86e4 0x13bf6c000 + 77121252
6   QtWebEngineCore               	       0x140931d4c 0x13bf6c000 + 77356364
7   QtWebEngineCore               	       0x1409312e0 0x13bf6c000 + 77353696
8   QtWebEngineCore               	       0x1409310d8 0x13bf6c000 + 77353176
9   QtWebEngineCore               	       0x140930fe4 0x13bf6c000 + 77352932
10  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
11  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
12  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 12:: NetworkService
0   libsystem_kernel.dylib        	       0x18587495c kevent64 + 8
1   QtWebEngineCore               	       0x140979920 0x13bf6c000 + 77650208
2   QtWebEngineCore               	       0x140979714 0x13bf6c000 + 77649684
3   QtWebEngineCore               	       0x140918234 0x13bf6c000 + 77251124
4   QtWebEngineCore               	       0x1408da4c8 0x13bf6c000 + 76997832
5   QtWebEngineCore               	       0x14093f2bc 0x13bf6c000 + 77411004
6   QtWebEngineCore               	       0x14093f43c 0x13bf6c000 + 77411388
7   QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
8   libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
9   libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 13:: NetworkNotificationThreadMac
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   CoreFoundation                	       0x185995e7c __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x185994798 __CFRunLoopRun + 1208
6   CoreFoundation                	       0x185993c58 CFRunLoopRunSpecific + 572
7   Foundation                    	       0x186f62c78 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8   QtWebEngineCore               	       0x1409aba3c 0x13bf6c000 + 77855292
9   QtWebEngineCore               	       0x1409aa3cc 0x13bf6c000 + 77849548
10  QtWebEngineCore               	       0x140918234 0x13bf6c000 + 77251124
11  QtWebEngineCore               	       0x1408da4c8 0x13bf6c000 + 76997832
12  QtWebEngineCore               	       0x14093f2bc 0x13bf6c000 + 77411004
13  QtWebEngineCore               	       0x14093f43c 0x13bf6c000 + 77411388
14  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
15  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
16  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 14:: NetworkConfigWatcher
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   QtWebEngineCore               	       0x1409734ac 0x13bf6c000 + 77624492
5   QtWebEngineCore               	       0x1408f86e4 0x13bf6c000 + 77121252
6   QtWebEngineCore               	       0x1408f866c 0x13bf6c000 + 77121132
7   QtWebEngineCore               	       0x1408a6b58 0x13bf6c000 + 76786520
8   QtWebEngineCore               	       0x140918234 0x13bf6c000 + 77251124
9   QtWebEngineCore               	       0x1408da4c8 0x13bf6c000 + 76997832
10  QtWebEngineCore               	       0x14093f2bc 0x13bf6c000 + 77411004
11  QtWebEngineCore               	       0x14093f43c 0x13bf6c000 + 77411388
12  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
13  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
14  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 15:: ThreadPoolSingleThreadForegroundBlocking1
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   QtWebEngineCore               	       0x1409734ac 0x13bf6c000 + 77624492
5   QtWebEngineCore               	       0x1408f86e4 0x13bf6c000 + 77121252
6   QtWebEngineCore               	       0x140931d4c 0x13bf6c000 + 77356364
7   QtWebEngineCore               	       0x1409312e0 0x13bf6c000 + 77353696
8   QtWebEngineCore               	       0x140931104 0x13bf6c000 + 77353220
9   QtWebEngineCore               	       0x140930fd8 0x13bf6c000 + 77352920
10  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
11  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
12  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 16:: ThreadPoolBackgroundWorker
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   QtWebEngineCore               	       0x1409734ac 0x13bf6c000 + 77624492
5   QtWebEngineCore               	       0x1408f86e4 0x13bf6c000 + 77121252
6   QtWebEngineCore               	       0x140931d4c 0x13bf6c000 + 77356364
7   QtWebEngineCore               	       0x1409312e0 0x13bf6c000 + 77353696
8   QtWebEngineCore               	       0x140931028 0x13bf6c000 + 77353000
9   QtWebEngineCore               	       0x140930fcc 0x13bf6c000 + 77352908
10  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
11  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
12  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 17:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   CoreFoundation                	       0x185995e7c __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x185994798 __CFRunLoopRun + 1208
6   CoreFoundation                	       0x185993c58 CFRunLoopRunSpecific + 572
7   AppKit                        	       0x1899df7fc _NSEventThread + 140
8   libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
9   libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 18:: MemoryInfra
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   QtWebEngineCore               	       0x1409734ac 0x13bf6c000 + 77624492
5   QtWebEngineCore               	       0x1408f86e4 0x13bf6c000 + 77121252
6   QtWebEngineCore               	       0x1408f866c 0x13bf6c000 + 77121132
7   QtWebEngineCore               	       0x1408a6b58 0x13bf6c000 + 76786520
8   QtWebEngineCore               	       0x140918234 0x13bf6c000 + 77251124
9   QtWebEngineCore               	       0x1408da4c8 0x13bf6c000 + 76997832
10  QtWebEngineCore               	       0x14093f2bc 0x13bf6c000 + 77411004
11  QtWebEngineCore               	       0x14093f43c 0x13bf6c000 + 77411388
12  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
13  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
14  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 19:: ThreadPoolSingleThreadSharedBackgroundBlocking2
0   libsystem_kernel.dylib        	       0x185868c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18587b3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x185871764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x185868fa8 mach_msg + 24
4   QtWebEngineCore               	       0x1409734ac 0x13bf6c000 + 77624492
5   QtWebEngineCore               	       0x1408f86e4 0x13bf6c000 + 77121252
6   QtWebEngineCore               	       0x140931d4c 0x13bf6c000 + 77356364
7   QtWebEngineCore               	       0x1409312e0 0x13bf6c000 + 77353696
8   QtWebEngineCore               	       0x140931054 0x13bf6c000 + 77353044
9   QtWebEngineCore               	       0x140930ffc 0x13bf6c000 + 77352956
10  QtWebEngineCore               	       0x1409588a8 0x13bf6c000 + 77514920
11  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
12  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 20:: tokio-runtime-worker
0   libsystem_kernel.dylib        	       0x18586ed04 kevent + 8
1   _rsbridge.so                  	       0x10966c544 tokio::runtime::io::driver::Driver::turn::haa1ae501d9b54149 + 448
2   _rsbridge.so                  	       0x10965a0c4 tokio::runtime::time::Driver::park_internal::h03f7ca8da10cc47d + 720
3   _rsbridge.so                  	       0x10965e0c8 tokio::runtime::scheduler::multi_thread::worker::Context::park_timeout::h6317a4d2301ae413 + 664
4   _rsbridge.so                  	       0x1096688a8 tokio::runtime::task::raw::poll::hd39478aeb397d711 + 4412
5   _rsbridge.so                  	       0x109660f04 std::sys::backtrace::__rust_begin_short_backtrace::h2b17d9f9924d0419 + 552
6   _rsbridge.so                  	       0x109661e88 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h1d7a43191764938e + 400
7   _rsbridge.so                  	       0x10964fb64 std::sys::pal::unix::thread::Thread::new::thread_start::he7774aa0ca446eef + 36
8   libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
9   libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 21:: tokio-runtime-worker
0   libsystem_kernel.dylib        	       0x18586c3cc __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1858ab0e0 _pthread_cond_wait + 984
2   _rsbridge.so                  	       0x1096504f0 std::sys::sync::condvar::pthread::Condvar::wait_timeout::he7fbb75fe9296e12 + 240
3   _rsbridge.so                  	       0x109660e50 std::sys::backtrace::__rust_begin_short_backtrace::h2b17d9f9924d0419 + 372
4   _rsbridge.so                  	       0x109661e88 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h1d7a43191764938e + 400
5   _rsbridge.so                  	       0x10964fb64 std::sys::pal::unix::thread::Thread::new::thread_start::he7774aa0ca446eef + 36
6   libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
7   libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 22:
0   libsystem_kernel.dylib        	       0x18586c3cc __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1858ab10c _pthread_cond_wait + 1028
2   libpython3.13.dylib           	       0x1066c2e9c _PySemaphore_Wait + 196
3   libpython3.13.dylib           	       0x1066c2b80 _PyParkingLot_Park + 280
4   libpython3.13.dylib           	       0x1066c29f4 _PyMutex_LockTimed + 480
5   libpython3.13.dylib           	       0x1066c27dc lock_PyThread_acquire_lock + 60
6   libpython3.13.dylib           	       0x10658ce54 method_vectorcall_VARARGS_KEYWORDS.llvm.8950241457343636778 + 144
7   libpython3.13.dylib           	       0x1065ec774 _PyEval_EvalFrameDefault + 74288
8   libpython3.13.dylib           	       0x106854448 method_vectorcall.llvm.15764072817338970053 + 364
9   libpython3.13.dylib           	       0x1065e7548 _PyEval_EvalFrameDefault + 53252
10  libpython3.13.dylib           	       0x106854448 method_vectorcall.llvm.15764072817338970053 + 364
11  libpython3.13.dylib           	       0x106765e98 thread_run + 160
12  libpython3.13.dylib           	       0x106f9119c pythread_wrapper.llvm.12089588132425105508 + 48
13  libsystem_pthread.dylib       	       0x1858aac0c _pthread_start + 136
14  libsystem_pthread.dylib       	       0x1858a5b80 thread_start + 8

Thread 23:
0   libsystem_pthread.dylib       	       0x1858a5b6c start_wqthread + 0


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000600002c3a500   x2: 0x0000000000000001   x3: 0x00000001f4dd0710
    x4: 0x31076b894327779a   x5: 0x00000001f4dd0730   x6: 0x0000000000000039   x7: 0x0000000000000000
    x8: 0x000000010f691000   x9: 0x00000000eecaabfe  x10: 0x00000000000003ff  x11: 0x0000000000002500
   x12: 0x00000000000007fb  x13: 0x00000000000007fd  x14: 0x00000000eeeab251  x15: 0x00000000eecaabfe
   x16: 0x00000000eee00000  x17: 0x0000000000000251  x18: 0x0000000000000000  x19: 0x0000000118217500
   x20: 0x0000000000000003  x21: 0x0000000000000001  x22: 0x00000001f4dcb0d8  x23: 0x0000000000000002
   x24: 0x0000600002f007a8  x25: 0x0000000000000000  x26: 0x0000000000000030  x27: 0x0000000000000079
   x28: 0x0000000000000000   fp: 0x000000016af96a10   lr: 0x000000010f631a94
    sp: 0x000000016af96990   pc: 0x000000010f631a94 cpsr: 0x60000000
   far: 0x0000000000000000  esr: 0x92000006 (Data Abort) byte read Translation fault

Here you go

2 Likes

Thanks. So you’re interessted in the CMRR values of those different targets and nothing more? Here’s the output for my (one and only) deck:

Target Fail Cost Multiplier (if applicable) Days after simulation end (if applicable) Minimum Recommended Retention
Memorized (Default) 0.6 / 0.70
Memorized (Default) 1.6 (default) / 0.70
Memorized (Default) 2.6 / 0.70
Memorized (Default) 20.0 / 0.70
Memorized (Default) 21.0 / 0.71
Memorized (Default) 22.0 / 0.71
Memorized (Default) 23.0 / 0.70
Memorized (Default) 24.0 / 0.74
Memorized (Default) 25.0 / 0.73
Memorized (Default) 50.0 / 0.70
Memorized (Default) 500.0 / 0.70
Stability / / 0.70
Post Abandon Memorized / 30 0.70
Post Abandon Memorized / 365 (default) 0.70
Post Abandon Memorized / 3650 0.70
Average Post Abandon Memorized / 30 0.70
Average Post Abandon Memorized / 365 (default) 0.70
Average Post Abandon Memorized / 3650 0.70

I’m starting to think I did something wrong though… Or is .7 for every target expected / reasonable?

Edit: I added some Memorized target data. Apparently, MRR jumps around a bit but is basically always .7 for me.

1 Like

The problem is that right now CMRR outputs 70% way too often (not just for you, it’s a common problem). The idea is to ask beta-testers to try different options and see which one produces good results, “good” being subjective here.
And if none of these options are good, we’ll have to remove CMRR.

4 Likes

Or just apply my solution😎:

3 Likes

Oh come on man, we’ve talked about this on Discord

1 Like

Same for me on M2 Mac. Happens ever since I tried the new launcher, before I didn’t see this.

What is the purpose of the IP address (http://127.0.0.1:51098) shown in this new version of Anki? Is it related to a new API feature?

Starting Anki 25.06b5...
2025-06-27 05:28:34,381:INFO:aqt.mediasrv: Serving on http://127.0.0.1:51098

That goes back to at least 24.11 and is used to serve local files (like images and fonts). You can see that if you open the dev console:

Edit: Meaning I, in this case, could open a browser and type http://127.0.0.1:34761/Sprechalter.jpg and the file opens.

2 Likes

Supporting the switch to Python 3.13 is on my list for HyperTTS: Addon Bug in Anki 25.06b4 - Anki upcoming switch to Python 3.13 · Issue #285 · Vocab-Apps/anki-hyper-tts · GitHub

3 Likes

I’ve tested the new three CMRR options, and all three seems to give me 0,7, just as the old one did.

Hi all,

A new beta and new installer/launchers are now available:

Thanks, I’m frequently hitting this too, and have logged it on Anki crashing on macOS when shutting down · Issue #4129 · ankitects/anki · GitHub

Anki’s used an internal webserver for content since at least 2016. I don’t recall when we starting printing the port on startup.

4 Likes

@dae this is still an issue in the new beta

1 Like
3 Likes

Alright everyone, I would like you to do something.
Currently, Compute Minimum Recommended Retention (CMRR) outputs 70% too frequently. Me, Jarrett and Luc have been trying to fix it, but didn’t settle on one solution, so I decided to let the beta-testers decide (Dae approved this approach).


There are 4 options for how to define “knowledge”:

  1. Sum of probabilities of recall (default) aka sum(R(t)). Plus, you can modify a multiplier that makes it so that time per “Again” is considered higher. It’s to account for the fact that pressing “Again” feels psychologically uncomfortable.
  2. sum(S*R(t)), which takes into account stability of cards. Here it’s called “Stability”.
  3. sum(R(t+delta_t)), which is the sum of probabilities of recall after some extra time, like 1 year (adjustable). It’s called “Post Abandon Memorize” here. Basically, instead of defining “knowledge” as “sum of probabilities of recall at the end of the simulation”, it’s defined as “sum of probabilities of recall some time after the end of the simulation”.
  4. sum(average(R(t+delta_t))). This is similar to 3, but instead of R at some t+delta_t point in time, we take the average R from t to t+delta_t. Here this is called “Average Post Abandon Memorize”.

I would like anyone and everyone to try all 4 options, write down the results, and share them. And tell me which option gives you the most reasonable output of CMRR. “Reasonable” is subjective.
If there is consensus on which option is the best, that option will be kept in the final release. If all options are bad, then we’ll have to remove CMRR.

TLDR: try all 4 options, share the results, and tell me which option is the best in your opinion.

EDIT: Average Post Abandon may be bugged

EDIT 2: I asked Luc to implement another option, ALL of these seem to be producing crazy results (either 70% or 94%, at least for me)

1 Like

The font size box is cut off in Browser Appearance.

Steps to Reproduce

  1. Open Browse.
  2. Click Cards…
  3. Click Options (the one next to Card Type).
  4. Click Browser Appearance.

Image

(As an aside: it’s quite a weird place to change the font family & size of the browse table. It would probably belong more in the View menu)

1 Like

This new version B6 is not printing the values from set QSG_INFO=1.

I can confirm that they don’t produce useful results for me either. I get 70% with all 4 on all of my decks, except for one, where “stability” produces 89%.

I’ve been playing around with the targets for a bit right after I downloaded the new beta.

The default with the fail cost multiplier actually feels somewhat sensible when you set the right multiplier, but different users will likely have very different feelings about how much a lapse “hurts”.

The stability target seems good too, and I think I like it better. the recommended retention varies a lot between my presets, but it gives a clearly different recommended retention to presets with cards of different difficulties, which is exactly what I would expect. it also gives a higher recommended retention to more difficult presets, which is also what I would expect and is the opposite of how the default “memorized” target works for me, where difficult presets would usually get a lower recommended retention.

I briefly tried the other two option, and I didn’t like the results they were giving at all, but I disagree with the idea of “post abandon” being a good target in the first place, so I expected that.

2 Likes

What values of desired retention were you getting?