In Anki 2.1.57 (and also previous 2.1.56) on macOS I get random crash sometimes when I close Anki (and it finished synchronisation)
Version <U+2068>2.1.57 (6b7d372c)<U+2069>
Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Installed via brew
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: anki [56571]
Path: /Applications/Anki.app/Contents/MacOS/anki
Identifier: net.ankiweb.dtop
Version: 2.1.57 (???)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-02-01 12:41:24.4080 -0300
OS Version: macOS 13.1 (22C65)
Report Version: 12
Anonymous UUID: D1EBABD8-86DE-08BA-D52C-E396C7AC41FF
Sleep/Wake UUID: E590D3D5-C8A9-47F8-ACBE-13B5D2A323AB
Time Awake Since Boot: 1400000 seconds
Time Since Wake: 13473 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 0x000004d286cd8a18
Exception Codes: 0x0000000000000001, 0x000004d286cd8a18
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [56571]
VM Region Info: 0x4d286cd8a18 is not in any region. Bytes after previous region: 4821214923289 Bytes before following region: 100250865006056
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated)
---> GAP OF 0x5f9000000000 BYTES
MALLOC_NANO 600000000000-600008000000 [128.0M] rw-/rwx SM=PRV
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 QtWebEngineCore 0x131b62c8c 0x131b28000 + 240780
1 QtWebEngineCore 0x131b62c88 0x131b28000 + 240776
2 QtWebEngineCore 0x13410a8b0 0x131b28000 + 39725232
3 QtWebEngineCore 0x135646428 0x131b28000 + 61989928
4 QtWebEngineCore 0x1356442a0 0x131b28000 + 61981344
5 QtWebEngineCore 0x13410652c 0x131b28000 + 39707948
6 QtWebEngineCore 0x134107078 0x131b28000 + 39710840
7 QtWebEngineCore 0x1345382fc 0x131b28000 + 44106492
8 QtWebEngineCore 0x13411159c 0x131b28000 + 39753116
9 QtWebEngineCore 0x1350e4ea8 0x131b28000 + 56348328
10 QtWebEngineCore 0x1350e95f4 0x131b28000 + 56366580
11 QtWebEngineCore 0x1350b27f8 0x131b28000 + 56141816
12 QtWebEngineCore 0x1350c884c 0x131b28000 + 56232012
13 QtWebEngineCore 0x1350c85b8 0x131b28000 + 56231352
14 QtWebEngineCore 0x131b66160 0x131b28000 + 254304
15 QtCore 0x10cbe7350 QObject::event(QEvent*) + 88
16 QtWidgets 0x10feb1c90 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272
17 QtWidgets 0x10feb2cf8 QApplication::notify(QObject*, QEvent*) + 512
18 QtWidgets.abi3.so 0x1105a8e04 sipQApplication::notify(QObject*, QEvent*) + 248
19 QtCore 0x10cba5d40 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 208
20 QtCore 0x10cba6f84 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 808
21 libqcocoa.dylib 0x112befcb4 0x112bd8000 + 97460
22 libqcocoa.dylib 0x112bf0344 0x112bd8000 + 99140
23 CoreFoundation 0x1ab044a18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
24 CoreFoundation 0x1ab0449ac __CFRunLoopDoSource0 + 176
25 CoreFoundation 0x1ab04471c __CFRunLoopDoSources0 + 244
26 CoreFoundation 0x1ab043320 __CFRunLoopRun + 836
27 CoreFoundation 0x1ab042888 CFRunLoopRunSpecific + 612
28 HIToolbox 0x1b4717fa0 RunCurrentEventLoopInMode + 292
29 HIToolbox 0x1b4717de4 ReceiveNextEventCommon + 672
30 HIToolbox 0x1b4717b2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
31 AppKit 0x1ae2c4424 _DPSNextEvent + 632
32 AppKit 0x1ae2c35b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
33 AppKit 0x1ae2b79e4 -[NSApplication run] + 464
34 libqcocoa.dylib 0x112bef22c 0x112bd8000 + 94764
35 QtCore 0x10cbaf39c QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 544
36 QtCore 0x10cba63f4 QCoreApplication::exec() + 128
37 QtWidgets.abi3.so 0x1106ae2b4 meth_QApplication_exec(_object*, _object*) + 96
38 anki 0x1051b2358 cfunction_call + 104
39 anki 0x10516b8b4 _PyObject_MakeTpCall + 136
40 anki 0x10526c140 _PyEval_EvalFrameDefault + 23972
41 anki 0x10516cb3c _PyFunction_Vectorcall + 720
42 anki 0x10526a3cc _PyEval_EvalFrameDefault + 16432
43 anki 0x10516c95c _PyFunction_Vectorcall + 240
44 anki 0x10526b2bc _PyEval_EvalFrameDefault + 20256
45 anki 0x10526f780 _PyEval_EvalCode + 532
46 anki 0x105266298 PyEval_EvalCode + 80
47 anki 0x1052ba2b0 run_mod + 152
48 anki 0x1052b980c PyRun_StringFlags + 152
49 anki 0x1052b9730 PyRun_SimpleStringFlags + 64
50 anki 0x1050cd8f0 Py_RunMain + 340
51 anki 0x104dbf36c pyembed::interpreter::MainPythonInterpreter::run::he6c9f2fdfdfb7472 + 204
52 anki 0x104db4994 anki::main::he25722cbdef5a3ef + 1080
53 anki 0x104db4048 std::sys_common::backtrace::__rust_begin_short_backtrace::h3cbd8eb641b597d7 + 12
54 anki 0x104db4010 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hdf52516cb09292c2 + 16
55 anki 0x105768428 std::rt::lang_start_internal::h54d26558116c1823 + 616
56 anki 0x104db4ba8 main + 52
57 dyld 0x1aac3be50 start + 2544
Thread 1:
0 libsystem_kernel.dylib 0x1aaf25cec semaphore_wait_trap + 8
1 libdispatch.dylib 0x1aaddeaa0 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x1aaddf154 _dispatch_semaphore_wait_slow + 132
3 _rsbridge.so 0x10b52c7b8 std::thread::park::hf84018630f68bc5c + 56
4 _rsbridge.so 0x10ac3d69c crossbeam_channel::context::Context::wait_until::h2b1e46bfe4232b4e + 1088
5 _rsbridge.so 0x10ac3d784 crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h29eaf6584272ffe9 + 152
6 _rsbridge.so 0x10ac3e110 crossbeam_channel::flavors::array::Channel$LT$T$GT$::recv::h51dcb5cbb752e647 + 1040
7 _rsbridge.so 0x10af4c78c crossbeam_channel::channel::Receiver$LT$T$GT$::recv::h87c9c0074df60e51 + 68
8 _rsbridge.so 0x10aede048 std::sys_common::backtrace::__rust_begin_short_backtrace::hfdc8fffea7dbe988 + 88
9 _rsbridge.so 0x10ae8032c core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdfb4b2fd57fcccb1 + 176
10 _rsbridge.so 0x10b539e64 std::sys::unix::thread::Thread::new::thread_start::h0a3d725412114228 + 48
11 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
12 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 2:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x1aaf30a00 __select + 8
1 CoreFoundation 0x1ab06e344 __CFSocketManager + 636
2 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
3 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 3:: ThreadPoolServiceThread
0 libsystem_kernel.dylib 0x1aaf31794 kevent64 + 8
1 QtWebEngineCore 0x1351417c8 0x131b28000 + 56727496
2 QtWebEngineCore 0x1351416f8 0x131b28000 + 56727288
3 QtWebEngineCore 0x1350c8f6c 0x131b28000 + 56233836
4 QtWebEngineCore 0x13508c4bc 0x131b28000 + 55985340
5 QtWebEngineCore 0x1350e8d88 0x131b28000 + 56364424
6 QtWebEngineCore 0x1350d21a8 0x131b28000 + 56271272
7 QtWebEngineCore 0x1350e8f10 0x131b28000 + 56364816
8 QtWebEngineCore 0x13510ebe4 0x131b28000 + 56519652
9 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
10 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 4:: Chrome_IOThread
0 libsystem_kernel.dylib 0x1aaf31794 kevent64 + 8
1 QtWebEngineCore 0x1351417c8 0x131b28000 + 56727496
2 QtWebEngineCore 0x1351416f8 0x131b28000 + 56727288
3 QtWebEngineCore 0x1350c8f6c 0x131b28000 + 56233836
4 QtWebEngineCore 0x13508c4bc 0x131b28000 + 55985340
5 QtWebEngineCore 0x1350e8d88 0x131b28000 + 56364424
6 QtWebEngineCore 0x1341ddc04 0x131b28000 + 40590340
7 QtWebEngineCore 0x1350e8f10 0x131b28000 + 56364816
8 QtWebEngineCore 0x13510ebe4 0x131b28000 + 56519652
9 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
10 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 5:: NetworkConfigWatcher
0 libsystem_kernel.dylib 0x1aaf25d70 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1aaf378a4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1aaf2e5c4 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x1aaf260ec mach_msg + 24
4 QtWebEngineCore 0x1351155e4 0x131b28000 + 56546788
5 QtWebEngineCore 0x1351153b0 0x131b28000 + 56546224
6 QtWebEngineCore 0x13505f5a0 0x131b28000 + 55801248
7 QtWebEngineCore 0x1350c8f6c 0x131b28000 + 56233836
8 QtWebEngineCore 0x13508c4bc 0x131b28000 + 55985340
9 QtWebEngineCore 0x1350e8d88 0x131b28000 + 56364424
10 QtWebEngineCore 0x1350e8f10 0x131b28000 + 56364816
11 QtWebEngineCore 0x13510ebe4 0x131b28000 + 56519652
12 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
13 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 6:: ThreadPoolForegroundWorker
0 libsystem_kernel.dylib 0x1aaf25d70 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1aaf378a4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1aaf2e5c4 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x1aaf260ec mach_msg + 24
4 QtWebEngineCore 0x1351155e4 0x131b28000 + 56546788
5 QtWebEngineCore 0x1350dd66c 0x131b28000 + 56317548
6 QtWebEngineCore 0x1350de0f4 0x131b28000 + 56320244
7 QtWebEngineCore 0x1350ddd20 0x131b28000 + 56319264
8 QtWebEngineCore 0x13510ebe4 0x131b28000 + 56519652
9 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
10 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 7:: CompositorTileWorker1
0 libsystem_kernel.dylib 0x1aaf29564 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1aaf65638 _pthread_cond_wait + 1232
2 QtWebEngineCore 0x13510e048 0x131b28000 + 56516680
3 QtWebEngineCore 0x136cc2fe4 0x131b28000 + 85569508
4 QtWebEngineCore 0x13510ebe4 0x131b28000 + 56519652
5 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
6 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 8:: Chrome_InProcGpuThread
0 libsystem_kernel.dylib 0x1aaf25d70 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1aaf378a4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1aaf2e5c4 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x1aaf260ec mach_msg + 24
4 QtWebEngineCore 0x1351155e4 0x131b28000 + 56546788
5 QtWebEngineCore 0x13505f53c 0x131b28000 + 55801148
6 QtWebEngineCore 0x1350c8f6c 0x131b28000 + 56233836
7 QtWebEngineCore 0x13508c4bc 0x131b28000 + 55985340
8 QtWebEngineCore 0x1350e8d88 0x131b28000 + 56364424
9 QtWebEngineCore 0x1350e8f10 0x131b28000 + 56364816
10 QtWebEngineCore 0x13510ebe4 0x131b28000 + 56519652
11 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
12 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 9:: Chrome_ChildIOThread
0 libsystem_kernel.dylib 0x1aaf31794 kevent64 + 8
1 QtWebEngineCore 0x1351417c8 0x131b28000 + 56727496
2 QtWebEngineCore 0x1351416f8 0x131b28000 + 56727288
3 QtWebEngineCore 0x1350c8f6c 0x131b28000 + 56233836
4 QtWebEngineCore 0x13508c4bc 0x131b28000 + 55985340
5 QtWebEngineCore 0x1350e8d88 0x131b28000 + 56364424
6 QtWebEngineCore 0x1350e8f10 0x131b28000 + 56364816
7 QtWebEngineCore 0x13510ebe4 0x131b28000 + 56519652
8 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
9 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 10:: NetworkConfigWatcher
0 libsystem_kernel.dylib 0x1aaf25d70 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1aaf378a4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1aaf2e5c4 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x1aaf260ec mach_msg + 24
4 QtWebEngineCore 0x1351155e4 0x131b28000 + 56546788
5 QtWebEngineCore 0x1351153b0 0x131b28000 + 56546224
6 QtWebEngineCore 0x13505f5a0 0x131b28000 + 55801248
7 QtWebEngineCore 0x1350c8f6c 0x131b28000 + 56233836
8 QtWebEngineCore 0x13508c4bc 0x131b28000 + 55985340
9 QtWebEngineCore 0x1350e8d88 0x131b28000 + 56364424
10 QtWebEngineCore 0x1350e8f10 0x131b28000 + 56364816
11 QtWebEngineCore 0x13510ebe4 0x131b28000 + 56519652
12 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
13 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 11:: VizCompositorThread
0 libsystem_kernel.dylib 0x1aaf25d70 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1aaf378a4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1aaf2e5c4 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x1aaf260ec mach_msg + 24
4 QtWebEngineCore 0x1351155e4 0x131b28000 + 56546788
5 QtWebEngineCore 0x1351153b0 0x131b28000 + 56546224
6 QtWebEngineCore 0x13505f5a0 0x131b28000 + 55801248
7 QtWebEngineCore 0x1350c8f6c 0x131b28000 + 56233836
8 QtWebEngineCore 0x13508c4bc 0x131b28000 + 55985340
9 QtWebEngineCore 0x1350e8d88 0x131b28000 + 56364424
10 QtWebEngineCore 0x1350e8f10 0x131b28000 + 56364816
11 QtWebEngineCore 0x13510ebe4 0x131b28000 + 56519652
12 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
13 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 12:: NetworkService
0 libsystem_kernel.dylib 0x1aaf31794 kevent64 + 8
1 QtWebEngineCore 0x1351417c8 0x131b28000 + 56727496
2 QtWebEngineCore 0x1351416f8 0x131b28000 + 56727288
3 QtWebEngineCore 0x1350c8f6c 0x131b28000 + 56233836
4 QtWebEngineCore 0x13508c4bc 0x131b28000 + 55985340
5 QtWebEngineCore 0x1350e8d88 0x131b28000 + 56364424
6 QtWebEngineCore 0x1350e8f10 0x131b28000 + 56364816
7 QtWebEngineCore 0x13510ebe4 0x131b28000 + 56519652
8 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
9 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 13:: NetworkConfigWatcher
0 libsystem_kernel.dylib 0x1aaf25d70 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1aaf378a4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1aaf2e5c4 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x1aaf260ec mach_msg + 24
4 QtWebEngineCore 0x1351155e4 0x131b28000 + 56546788
5 QtWebEngineCore 0x1351153b0 0x131b28000 + 56546224
6 QtWebEngineCore 0x13505f5a0 0x131b28000 + 55801248
7 QtWebEngineCore 0x1350c8f6c 0x131b28000 + 56233836
8 QtWebEngineCore 0x13508c4bc 0x131b28000 + 55985340
9 QtWebEngineCore 0x1350e8d88 0x131b28000 + 56364424
10 QtWebEngineCore 0x1350e8f10 0x131b28000 + 56364816
11 QtWebEngineCore 0x13510ebe4 0x131b28000 + 56519652
12 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
13 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
Thread 14:: ThreadPoolSingleThreadForegroundBlocking0
0 libsystem_kernel.dylib 0x1aaf25d70 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1aaf378a4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1aaf2e5c4 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x1aaf260ec mach_msg + 24
4 QtWebEngineCore 0x1351155e4 0x131b28000 + 56546788
5 QtWebEngineCore 0x1350dd66c 0x131b28000 + 56317548
6 QtWebEngineCore 0x1350de0f4 0x131b28000 + 56320244
7 QtWebEngineCore 0x1350ddd78 0x131b28000 + 56319352
8 QtWebEngineCore 0x13510ebe4 0x131b28000 + 56519652
9 libsystem_pthread.dylib 0x1aaf6506c _pthread_start + 148
10 libsystem_pthread.dylib 0x1aaf5fe2c thread_start + 8
[…]
Forum has length limit so the complete crash is on gist: Anki-crash.txt · GitHub