iOS app crashes randomly on random screens. Following is the crash log

Incident Identifier: 3400A577-E4A0-483B-AF20-53F105BCB104 CrashReporter Key: 8d970b914f1fd529bba76fcaa1d0ba1588c88c47 Hardware Model: iPhone14,5 Process: Animalsocial [1096] Path: /private/var/containers/Bundle/Application/A645D0E7-C811-4A46-977C-0D46A755C68A/Animalsocial.app/Animalsocial Identifier: org.reactjs.developer.Animalsocial Version: 1.0 (1) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: org.reactjs.developer.Animalsocial [550]

Date/Time: 2022-06-10 20:11:40.0525 +0530 Launch Time: 2022-06-10 20:11:30.5303 +0530 OS Version: iPhone OS 15.5 (19F77) Release Type: User Baseband Version: 1.61.00 Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000014000 Exception Codes: 0x0000000000000001, 0x0000000000014000 VM Region Info: 0x14000 is not in any region. Bytes before following region: 4307402752 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START --->
__TEXT 100bf0000-1022e8000 [ 23.0M] r-x/r-x SM=COW .../Animalsocial Exception Note: EXC_CORPSE_NOTIFY Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler [1096]

Triggered by Thread: 0

Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libobjc.A.dylib 0x1c6e04c54 weak_entry_insert(weak_table_t*, weak_entry_t*) + 72 1 libobjc.A.dylib 0x1c6e0dffc weak_resize(weak_table_t*, unsigned long) + 112 2 libobjc.A.dylib 0x1c6dfea44 weak_register_no_lock + 256 3 libobjc.A.dylib 0x1c6e03924 objc_storeWeak + 448 4 Foundation 0x1af890ba4 -[NSConcreteHashTable addObject:] + 100 5 Animalsocial 0x1013ca198 -[SDImagePhotosLoader requestImageWithURL:options:context:progress:completed:] + 1216 6 Animalsocial 0x10139fc18 -[SDImageLoadersManager requestImageWithURL:options:context:progress:completed:] + 444 7 Animalsocial 0x1013b5240 -[SDWebImageManager callDownloadProcessForOperation:url:options:context:cachedImage:cachedData:cacheType:progress:completed:] + 1632 8 Animalsocial 0x1013b4164 __89-[SDWebImageManager callCacheProcessForOperation:url:options:context:progress:completed:]_block_invoke + 644 9 Animalsocial 0x10138c048 __73-[SDImageCache queryCacheOperationForKey:options:context:cacheType:done:]_block_invoke_2 + 56 10 libdispatch.dylib 0x1add7ae6c _dispatch_call_block_and_release + 32 11 libdispatch.dylib 0x1add7ca30 _dispatch_client_callout + 20 12 libdispatch.dylib 0x1add8af48 _dispatch_main_queue_drain + 928 13 libdispatch.dylib 0x1add8ab98 _dispatch_main_queue_callback_4CF + 44 14 CoreFoundation 0x1ae0cd800 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 15 CoreFoundation 0x1ae087704 __CFRunLoopRun + 2532 16 CoreFoundation 0x1ae09abc8 CFRunLoopRunSpecific + 600 17 GraphicsServices 0x1ca1ce374 GSEventRunModal + 164 18 UIKitCore 0x1b0a0a648 -[UIApplication _run] + 1100 19 UIKitCore 0x1b078bd90 UIApplicationMain + 364 20 Animalsocial 0x100bf6258 main + 104 21 dyld 0x104e7dce4 start + 520

Thread 1 name: Dispatch queue: com.apple.avplayeritem.figplaybackitem.accessor Thread 1: 0 libsystem_kernel.dylib 0x1e5b4bf24 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x21f25f298 _pthread_cond_wait + 1236 2 CoreMedia 0x1b8c348c4 WaitOnCondition + 20 3 CoreMedia 0x1b8c91bd0 FigConditionVariableWaitRelative + 16 4 MediaToolbox 0x1b8430574 itemasync_CopyProperty + 500 5 AVFCore 0x1b76da950 +[AVPlayerItem _copyTimebaseFromFigPlaybackItem:] + 180 6 AVFCore 0x1b7707620 __31-[AVPlayerItem _updateTimebase]_block_invoke + 80 7 libdispatch.dylib 0x1add7ae6c _dispatch_call_block_and_release + 32 8 libdispatch.dylib 0x1add7ca30 _dispatch_client_callout + 20 9 libdispatch.dylib 0x1add84124 _dispatch_lane_serial_drain + 668 10 libdispatch.dylib 0x1add84c80 _dispatch_lane_invoke + 392 11 libdispatch.dylib 0x1add8f500 _dispatch_workloop_worker_thread + 648 12 libsystem_pthread.dylib 0x21f2580bc _pthread_wqthread + 288 13 libsystem_pthread.dylib 0x21f257e5c start_wqthread + 8

Thread 2 name: Dispatch queue: com.apple.avplayeritem.figplaybackitem.accessor Thread 2: 0 libsystem_kernel.dylib 0x1e5b4bf24 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x21f25f298 _pthread_cond_wait + 1236 2 CoreMedia 0x1b8c348c4 WaitOnCondition + 20 3 CoreMedia 0x1b8c91bd0 FigConditionVariableWaitRelative + 16 4 MediaToolbox 0x1b8430574 itemasync_CopyProperty + 500 5 AVFCore 0x1b76da950 +[AVPlayerItem _copyTimebaseFromFigPlaybackItem:] + 180 6 AVFCore 0x1b7707620 __31-[AVPlayerItem _updateTimebase]_block_invoke + 80 7 libdispatch.dylib 0x1add7ae6c _dispatch_call_block_and_release + 32 8 libdispatch.dylib 0x1add7ca30 _dispatch_client_callout + 20 9 libdispatch.dylib 0x1add84124 _dispatch_lane_serial_drain + 668 10 libdispatch.dylib 0x1add84c80 _dispatch_lane_invoke + 392 11 libdispatch.dylib 0x1add8f500 _dispatch_workloop_worker_thread + 648 12 libsystem_pthread.dylib 0x21f2580bc _pthread_wqthread + 288 13 libsystem_pthread.dylib 0x21f257e5c start_wqthread + 8

Thread 3 name: com.apple.uikit.eventfetch-thread Thread 3: 0 libobjc.A.dylib 0x1c6e1c3c4 class_rw_t::methods() const + 112 1 libobjc.A.dylib 0x1c6dfc2b4 class_copyMethodList + 144 2 BaseBoard 0x1b368a084 BSProtobufClassImplmementsProtobufSchema + 40 3 BaseBoard 0x1b36b45ac _BSProtobufValidateClassForEncoding + 44 4 BaseBoard 0x1b367d174 +[BSProtobufSerialization

Replies

iOS app crashes randomly on random screens. Following is the crash log

It’s very hard to read what you posted )-: Please post a small sampling of the crash reports you’re seeing. See Posting a Crash Report for advice on how to do that.

ps Check out Quinn’s Top Ten DevForums Tips for other hints and tips on using DevForums effectively.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"