# Crashlytics - Stack trace # Application: com.twidere.TwidereX # Platform: apple # Version: 2.0.0 (129) # Issue: 193b3e663df320047a32596d8f333b48 # Session: 66fac11714824c2393ca430ee9e27fd4_DNE_0_v2 # Date: Mon May 15 2023 21:30:11 GMT+0800 (中国标准时间) Fatal Exception: NSInvalidArgumentException 0 CoreFoundation 0x9e38 __exceptionPreprocess 1 libobjc.A.dylib 0x178d8 objc_exception_throw 2 CoreFoundation 0x17e81c +[NSObject(NSObject) _copyDescription] 3 CoreFoundation 0x1ff50 ___forwarding___ 4 CoreFoundation 0x88320 _CF_forwarding_prep_0 5 libswiftCore.dylib 0x173ec Array._getCount() 6 libswiftCore.dylib 0x77904 Array<a>.encode(to:) 7 libswiftCore.dylib 0x77b70 protocol witness for Encodable.encode(to:) in conformance </a><a> [A] 8 libswiftCore.dylib 0x39aae8 dispatch thunk of Encodable.encode(to:) 9 Foundation 0x4978c0 __JSONEncoder.box_(_:) 10 Foundation 0x496bcc JSONEncoder.encode</a><a>(_:) 11 Foundation 0x4bb908 dispatch thunk of JSONEncoder.encode</a><a>(_:) 12 TwidereX 0x2bac70 TwitterStatus.attachments.setter + 104 (TwitterStatus.swift:104) 13 TwidereX 0x2babcc @objc TwitterStatus.attachments.setter () 14 CoreData 0x7f774 _PF_Handler_Public_SetProperty 15 CoreData 0x1792c -[NSMergePolicy _mergeChangesObjectUpdatesTrumpForObject:withRecord:] 16 CoreData 0x62628 -[NSMergePolicy resolveOptimisticLockingVersionConflicts:error:] 17 CoreData 0x62378 -[NSMergePolicy resolveConflicts:error:] 18 CoreData 0x8d4a8 -[NSManagedObjectContext save:] 19 TwidereX 0x2c3280 NSManagedObjectContext.saveOrRollback() + 28 (NSManagedObjectContext.swift:28) 20 TwidereX 0x2c3ac4 closure #1 in NSManagedObjectContext.performChanges</a><a>(block:) + 55 (NSManagedObjectContext.swift:55) 21 TwidereX 0x2c3b38 partial apply for closure #1 in NSManagedObjectContext.performChanges</a><a>(block:) () 22 CoreData 0x12de28 closure #1 in closure #1 in NSManagedObjectContext._rethrowsHelper_perform_enqueued</a><a>(_:rescue:) 23 CoreData 0x12bb34 thunk for @escaping @callee_guaranteed () -> () 24 CoreData 0x82df8 developerSubmittedBlockToNSManagedObjectContextPerform 25 libdispatch.dylib 0x3f88 _dispatch_client_callout 26 libdispatch.dylib 0xb640 _dispatch_lane_serial_drain 27 libdispatch.dylib 0xc18c _dispatch_lane_invoke 28 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread 29 libsystem_pthread.dylib 0xdf8 _pthread_wqthread 30 libsystem_pthread.dylib 0xb98 start_wqthread com.apple.main-thread 0 libsystem_kernel.dylib 0xda8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13a1c mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13c5c mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x12ec mach_msg + 24 4 CoreFoundation 0x7aac4 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd08 __CFRunLoopRun + 1232 6 CoreFoundation 0x80eb0 CFRunLoopRunSpecific + 612 7 GraphicsServices 0x1368 GSEventRunModal + 164 8 UIKitCore 0x3a1668 -[UIApplication _run] + 888 9 UIKitCore 0x3a12cc UIApplicationMain + 340 10 libswiftUIKit.dylib 0x35308 UIApplicationMain(_:_:_:_:) + 104 11 TwidereX 0x62ac main + 4329628332 (TranslationServicePreferenceView.swift:4329628332) 12 ??? 0x1a663c960 (缺少) com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0xda8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13a1c mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13c5c mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x12ec mach_msg + 24 4 CoreFoundation 0x7aac4 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd08 __CFRunLoopRun + 1232 6 CoreFoundation 0x80eb0 CFRunLoopRunSpecific + 612 7 Foundation 0x42054 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 8 Foundation 0x41f3c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 9 UIKitCore 0x4d66a4 -[UIEventFetcher threadMain] + 436 10 Foundation 0x5b518 __NSThread__start__ + 716 11 libsystem_pthread.dylib 0x16cc _pthread_start + 148 12 libsystem_pthread.dylib 0xba4 thread_start + 8 com.google.firebase.crashlytics.MachExceptionServer 0 libsystem_kernel.dylib 0xda8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13a1c mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13c5c mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x12ec mach_msg + 24 4 FirebaseCrashlytics 0x173d4 FIRCLSMachExceptionServer + 104 5 libsystem_pthread.dylib 0x16cc _pthread_start + 148 6 libsystem_pthread.dylib 0xba4 thread_start + 8 com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0xda8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13a1c mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13c5c mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x12ec mach_msg + 24 4 CoreFoundation 0x7aac4 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd08 __CFRunLoopRun + 1232 6 CoreFoundation 0x80eb0 CFRunLoopRunSpecific + 612 7 CFNetwork 0x257ff0 _CFURLStorageSessionDisableCache + 61088 8 Foundation 0x5b518 __NSThread__start__ + 716 9 libsystem_pthread.dylib 0x16cc _pthread_start + 148 10 libsystem_pthread.dylib 0xba4 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x12b0 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 Thread 0 libsystem_pthread.dylib 0xb90 start_wqthread + 254 Crashed: com.google.firebase.crashlytics.ios.exception 0 FirebaseCrashlytics 0x1d7b0 FIRCLSProcessRecordAllThreads + 184 1 FirebaseCrashlytics 0x1db90 FIRCLSProcessRecordAllThreads + 1176 2 FirebaseCrashlytics 0x14e5c FIRCLSHandler + 48 3 FirebaseCrashlytics 0xfb9c __FIRCLSExceptionRecord_block_invoke + 92 4 libdispatch.dylib 0x3f88 _dispatch_client_callout + 20 5 libdispatch.dylib 0x13574 _dispatch_lane_barrier_sync_invoke_and_complete + 56 6 FirebaseCrashlytics 0xebd4 FIRCLSExceptionRecord + 204 7 FirebaseCrashlytics 0xf6bc FIRCLSExceptionRecordNSException + 452 8 FirebaseCrashlytics 0xe82c FIRCLSTerminateHandler() + 404 9 libc++abi.dylib 0x10f28 std::__terminate(void (*)()) + 20 10 libc++abi.dylib 0x10ec4 std::terminate() + 56 11 libobjc.A.dylib 0x33bec objc_terminate + 16 12 libdispatch.dylib 0x3f9c _dispatch_client_callout + 40 13 libdispatch.dylib 0xb640 _dispatch_lane_serial_drain + 672 14 libdispatch.dylib 0xc18c _dispatch_lane_invoke + 384 15 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread + 652 16 libsystem_pthread.dylib 0xdf8 _pthread_wqthread + 288 17 libsystem_pthread.dylib 0xb98 start_wqthread + 8 Thread 0 libsystem_pthread.dylib 0xb90 start_wqthread + 254</a>