Для Android иногда происходит сбой при первом открытии apk. Но все работает нормально без использования eas update. Даже после того, как я закрыл приложение в фоновом режиме, оно не вылетело.
Ниже приведен журнал сбоев.
Код: Выделить всё
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: xxxxxx [712]
Triggered by Thread: 7
Last Exception Backtrace:
0 CoreFoundation 0x1b5620870 __exceptionPreprocess + 164 (NSException.m:249)
1 libobjc.A.dylib 0x1ad987c00 objc_exception_throw + 60 (objc-exception.mm:356)
2 CoreFoundation 0x1b56a54f8 -[NSException raise] + 16 (NSException.m:129)
3 AppName 0x102d98970 StartupProcedure.throwException(_:) + 16 (StartupProcedure.swift:350)
4 AppName 0x102d98970 protocol witness for ErrorRecoveryDelegate.throwException(_:) in conformance StartupProcedure + 16 (:349)
5 AppName 0x102d98970 ErrorRecovery.crash() + 2572 (ErrorRecovery.swift:281)
6 AppName 0x102d9772c ErrorRecovery.runNextTask() + 824 (ErrorRecovery.swift:194)
7 AppName 0x102d98d14 closure #1 in closure #1 in ErrorRecovery.tryRelaunchFromCache() + 232 (ErrorRecovery.swift:237)
8 AppName 0x102d66618 thunk for @escaping @callee_guaranteed @Sendable () -> () + 28 (:0)
9 libdispatch.dylib 0x1bd4ef6a8 _dispatch_call_block_and_release + 32 (init.c:1530)
10 libdispatch.dylib 0x1bd4f1300 _dispatch_client_callout + 20 (object.m:561)
11 libdispatch.dylib 0x1bd4f8894 _dispatch_lane_serial_drain + 748 (queue.c:3885)
12 libdispatch.dylib 0x1bd4f93c4 _dispatch_lane_invoke + 380 (queue.c:3976)
13 libdispatch.dylib 0x1bd504004 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6913)
14 libdispatch.dylib 0x1bd503878 _dispatch_workloop_worker_thread + 404 (queue.c:6507)
15 libsystem_pthread.dylib 0x21ef25964 _pthread_wqthread + 288 (pthread.c:2629)
16 libsystem_pthread.dylib 0x21ef25a04 start_wqthread + 8
Thread 0 name:
Thread 0:
0 libsystem_kernel.dylib 0x00000001fca401d8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x00000001fca3ff70 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001fca3fe88 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001fca3fcc8 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x00000001b5569d0c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x00000001b5567c04 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x00000001b5567668 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 GraphicsServices 0x00000001f89325ec GSEventRunModal + 164 (GSEvent.c:2196)
8 UIKitCore 0x00000001b79842b4 -[UIApplication _run] + 888 (UIApplication.m:3685)
9 UIKitCore 0x00000001b79838f0 UIApplicationMain + 340 (UIApplication.m:5270)
10 AppName 0x0000000102d30420 main + 80 (main.m:7)
11 dyld 0x00000001d7fbadcc start + 2240 (dyldMain.cpp:1269)
Thread 1:
0 libsystem_pthread.dylib 0x000000021ef259fc start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x000000021ef259fc start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x000000021ef259fc start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x000000021ef259fc start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x000000021ef259fc start_wqthread + 0
Thread 6 name:
Thread 6:
0 libsystem_kernel.dylib 0x00000001fca401d8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x00000001fca3ff70 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001fca3fe88 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001fca3fcc8 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x00000001b5569d0c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x00000001b5567c04 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x00000001b5567668 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 Foundation 0x00000001b450054c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8 Foundation 0x00000001b452e27c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9 UIKitCore 0x00000001b78e5fc8 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1208)
10 Foundation 0x00000001b4585184 __NSThread__start__ + 732 (NSThread.m:991)
11 libsystem_pthread.dylib 0x000000021ef264d4 _pthread_start + 136 (pthread.c:904)
12 libsystem_pthread.dylib 0x000000021ef25a10 thread_start + 8
Thread 7 name:
Thread 7 Crashed:
0 libsystem_kernel.dylib 0x00000001fca4901c __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000021ef29680 pthread_kill + 268 (pthread.c:1681)
2 libsystem_c.dylib 0x00000001bd5a9b90 abort + 180 (abort.c:118)
3 libc++abi.dylib 0x000000021ee56660 abort_message + 132 (abort_message.cpp:78)
4 libc++abi.dylib 0x000000021ee4662c demangling_terminate_handler() + 348 (cxa_default_handlers.cpp:77)
5 libobjc.A.dylib 0x00000001ad98ad34 _objc_terminate() + 144 (objc-exception.mm:496)
6 libc++abi.dylib 0x000000021ee55a24 std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x000000021ee559c8 std::terminate() + 56 (cxa_handlers.cpp:88)
8 libdispatch.dylib 0x00000001bd4f1314 _dispatch_client_callout + 40 (object.m:564)
9 libdispatch.dylib 0x00000001bd4f8894 _dispatch_lane_serial_drain + 748 (queue.c:3885)
10 libdispatch.dylib 0x00000001bd4f93c4 _dispatch_lane_invoke + 380 (queue.c:3976)
11 libdispatch.dylib 0x00000001bd504004 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6913)
12 libdispatch.dylib 0x00000001bd503878 _dispatch_workloop_worker_thread + 404 (queue.c:6507)
13 libsystem_pthread.dylib 0x000000021ef25964 _pthread_wqthread + 288 (pthread.c:2629)
14 libsystem_pthread.dylib 0x000000021ef25a04 start_wqthread + 8
Thread 8 name:
Thread 8:
0 libsystem_kernel.dylib 0x00000001fca401d8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x00000001fca3ff70 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001fca3fe88 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001fca3fcc8 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x00000001b5569d0c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x00000001b5567c04 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x00000001b5567668 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 AppName 0x0000000102f5bcf4 +[RCTCxxBridge runRunLoop] + 212 (RCTCxxBridge.mm:332)
8 Foundation 0x00000001b4585184 __NSThread__start__ + 732 (NSThread.m:991)
9 libsystem_pthread.dylib 0x000000021ef264d4 _pthread_start + 136 (pthread.c:904)
10 libsystem_pthread.dylib 0x000000021ef25a10 thread_start + 8
Thread 9 name:
Thread 9:
0 libsystem_kernel.dylib 0x00000001fca40b7c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x000000021ef24fd4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001c56d7ecc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 (condition_variable.cpp:46)
3 hermes 0x0000000104f40108 hermes::vm::HadesGC::Executor::worker() + 316
4 hermes 0x0000000104f3ffa8 void* std::__1::__thread_proxy[abi:v15006]
Подробнее здесь: [url]https://stackoverflow.com/questions/78255823/what-is-the-possible-reason-of-this-crash[/url]
Мобильная версия