Open nashfive opened 1 year ago
Hi, I get some rare crash report in Sentry that lead me to an issue in HTTPDataLoader. I don't know how to reproduce them and I am not sure what's going on. Note: our app is using the 1.8.1 version of RealHTTP.
Here is the full crash report:
OS Version: iOS 15.4 (19E241) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Crashed Thread: 3 Application Specific Information: Metadata allocator corruption: allocation is NULL. curState: {0x0, 4248} - curStateReRead: {0x0, 4248} - newState: {0x20, 4216} - allocatedNewPage: false - requested size: 32 - sizeWithHeader: 32 - alignment: 8 - Tag: 14 Thread 3 Crashed: 0 libsystem_kernel.dylib 0x376432bbc __pthread_kill 1 libsystem_pthread.dylib 0x3b7795850 pthread_kill 2 libsystem_c.dylib 0x3163036a0 abort 3 libswiftCore.dylib 0x30a6c5018 swift::fatalError 4 libswiftCore.dylib 0x30a6ce694 swift::MetadataAllocator::Allocate 5 libswiftCore.dylib 0x30a6cf1f0 _swift_getGenericMetadata 6 libswiftCore.dylib 0x30a6b2d64 __swift_instantiateCanonicalPrespecializedGenericMetadata 7 libswiftCore.dylib 0x30a6ef59c swift::Demangle::__runtime::TypeDecoder<T>::decodeMangledType 8 libswiftCore.dylib 0x30a6ea020 swift_getTypeByMangledNodeImpl 9 libswiftCore.dylib 0x30a6e9d98 swift_getTypeByMangledNode 10 libswiftCore.dylib 0x30a6ea50c swift_getTypeByMangledNameImpl 11 libswiftCore.dylib 0x30a6e7d10 swift_getTypeByMangledName 12 libswiftCore.dylib 0x30a6e7f24 swift_getTypeByMangledNameInContext 13 ZVVOneApp 0x20093609c __swift_instantiateConcreteTypeFromMangledName 14 ZVVOneApp 0x200954ae4 ThreadSafeDictionary.subscript.setter (ThreadSafeDictionary.swift:66) 15 ZVVOneApp 0x200952c38 HTTPDataLoader.fetch (HTTPDataLoader.swift:228) 16 ZVVOneApp 0x20099017c thunk for closure 17 Foundation 0x3042e2268 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ 18 Foundation 0x3042f391c -[NSBlockOperation main] 19 Foundation 0x3042cda88 __NSOPERATION_IS_INVOKING_MAIN__ 20 Foundation 0x3042ddf1c -[NSOperation start] 21 Foundation 0x3042e1364 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ 22 Foundation 0x3042eeb78 __NSOQSchedule_f 23 libdispatch.dylib 0x300e9a044 _dispatch_block_async_invoke2 24 libdispatch.dylib 0x300eb8090 _dispatch_client_callout 25 libdispatch.dylib 0x300e8fab4 _dispatch_continuation_pop$VARIANT$armv81 26 libdispatch.dylib 0x300e8f1f0 _dispatch_async_redirect_invoke 27 libdispatch.dylib 0x300e9c62c _dispatch_root_queue_drain 28 libdispatch.dylib 0x300e9cde8 _dispatch_worker_thread2 29 libsystem_pthread.dylib 0x3b7789dd0 _pthread_wqthread Thread 0 0 libswiftCore.dylib 0x30a6d6f78 swift::_getWitnessTable 1 SwiftUI 0x31025345c PhysicalButtonPressBehavior.body.getter 2 SwiftUI 0x31019ad3c ViewBodyAccessor.updateBody 3 SwiftUI 0x310185bd0 BodyAccessor.setBody 4 SwiftUI 0x3101712bc ViewBodyAccessor.updateBody 5 SwiftUI 0x310179514 StaticBody.updateValue 6 SwiftUI 0x3101cfe38 Attribute.init<T> 7 AttributeGraph 0x36bf1c110 AG::Graph::UpdateStack::update 8 AttributeGraph 0x36bf1b87c AG::Graph::update_attribute 9 AttributeGraph 0x36bf1a790 AG::Subgraph::update 10 SwiftUI 0x3101598e0 GraphHost.flushTransactions 11 SwiftUI 0x310c1463c GraphHost.asyncTransaction<T> 12 SwiftUI 0x31014ce50 ViewGraphDelegate.updateGraph<T> 13 SwiftUI 0x310157218 ViewRendererHost.updateViewGraph<T> 14 SwiftUI 0x310150f6c ViewRendererHost.updateViewGraph<T> 15 SwiftUI 0x31014ab80 ViewGraphDelegate.updateGraph<T> 16 SwiftUI 0x310149e60 GraphHost.init 17 SwiftUI 0x31023245c thunk for closure 18 SwiftUI 0x310148650 NSRunLoop.flushObservers 19 SwiftUI 0x3101486c8 NSRunLoop.addObserver 20 SwiftUI 0x310217e54 thunk for closure 21 libswiftObjectiveC.dylib 0x365216bcc autoreleasepool<T> 22 SwiftUI 0x31014857c NSRunLoop.addObserver 23 SwiftUI 0x3101487c0 NSRunLoop.addObserver 24 CoreFoundation 0x3014b4218 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 25 CoreFoundation 0x301485450 __CFRunLoopDoObservers 26 CoreFoundation 0x3014809d8 __CFRunLoopRun 27 CoreFoundation 0x301493c2c CFRunLoopRunSpecific 28 GraphicsServices 0x3428e5984 GSEventRunModal 29 UIKitCore 0x305fc1c4c -[UIApplication _run] 30 UIKitCore 0x305d5b3cc UIApplicationMain 31 SwiftUI 0x310335324 KitRendererCommon 32 SwiftUI 0x31027fdf8 runApp<T> 33 SwiftUI 0x310265798 App.main 34 ZVVOneApp 0x200091a48 [inlined] ZVVApp.$main (ZVVApp.swift:5) 35 ZVVOneApp 0x200091a48 main 36 <unknown> 0x1048203d0 <redacted> Thread 1 0 libdispatch.dylib 0x300eb6aa0 dispatch_queue_attr_make_with_autorelease_frequency 1 CFNetwork 0x302465cd8 CFURLRequestSetShouldStartSynchronously 2 CFNetwork 0x30246ec84 CFURLRequestSetHTTPRequestBodyParts 3 CFNetwork 0x30249f6a0 CFURLConnectionCreateWithProperties 4 CFNetwork 0x30251ba0c CFURLDownloadCancel 5 CFNetwork 0x302443d80 CFURLRequestSetURL 6 CFNetwork 0x302438514 _CFNetworkErrorGetLocalizedRecoverySuggestion 7 CFNetwork 0x30247869c CFURLCacheMemoryCapacity 8 CFNetwork 0x302456068 CFURLRequestSetHTTPRequestMethod 9 CFNetwork 0x30244ed44 _CFURLRequestSetContentDispositionEncodingFallbackArray 10 CFNetwork 0x30248fbdc CFHTTPCookieStorageCreateFromFile 11 CFNetwork 0x302444de4 CFURLRequestSetURL 12 CFNetwork 0x302446aec CFHTTPMessageCopyBody 13 libdispatch.dylib 0x300eb7090 _dispatch_call_block_and_release 14 libdispatch.dylib 0x300eb8090 _dispatch_client_callout 15 libdispatch.dylib 0x300e934a0 _dispatch_lane_serial_drain$VARIANT$armv81 16 libdispatch.dylib 0x300e93f74 _dispatch_lane_invoke$VARIANT$armv81 17 libdispatch.dylib 0x300e9d8dc _dispatch_workloop_worker_thread 18 libsystem_pthread.dylib 0x3b7789e0c _pthread_wqthread Thread 2 0 libsystem_kernel.dylib 0x37642d688 __ulock_wait 1 libsystem_platform.dylib 0x3b7776120 _os_unfair_lock_lock_slow 2 libswiftCore.dylib 0x30a6cf064 _swift_getGenericMetadata 3 libswiftCore.dylib 0x30a6b2d64 __swift_instantiateCanonicalPrespecializedGenericMetadata 4 libswiftCore.dylib 0x30a6ef59c swift::Demangle::__runtime::TypeDecoder<T>::decodeMangledType 5 libswiftCore.dylib 0x30a6ea020 swift_getTypeByMangledNodeImpl 6 libswiftCore.dylib 0x30a6e9d98 swift_getTypeByMangledNode 7 libswiftCore.dylib 0x30a6ea50c swift_getTypeByMangledNameImpl 8 libswiftCore.dylib 0x30a6e7d10 swift_getTypeByMangledName 9 libswiftCore.dylib 0x30a6e7f24 swift_getTypeByMangledNameInContext 10 ZVVOneApp 0x20093609c __swift_instantiateConcreteTypeFromMangledName 11 ZVVOneApp 0x200954ae4 ThreadSafeDictionary.subscript.setter (ThreadSafeDictionary.swift:66) 12 ZVVOneApp 0x200952c38 HTTPDataLoader.fetch (HTTPDataLoader.swift:228) 13 ZVVOneApp 0x20099017c thunk for closure 14 Foundation 0x3042e2268 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ 15 Foundation 0x3042f391c -[NSBlockOperation main] 16 Foundation 0x3042cda88 __NSOPERATION_IS_INVOKING_MAIN__ 17 Foundation 0x3042ddf1c -[NSOperation start] 18 Foundation 0x3042e1364 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ 19 Foundation 0x3042eeb78 __NSOQSchedule_f 20 libdispatch.dylib 0x300e9a044 _dispatch_block_async_invoke2 21 libdispatch.dylib 0x300eb8090 _dispatch_client_callout 22 libdispatch.dylib 0x300e8fab4 _dispatch_continuation_pop$VARIANT$armv81 23 libdispatch.dylib 0x300e8f1f0 _dispatch_async_redirect_invoke 24 libdispatch.dylib 0x300e9c62c _dispatch_root_queue_drain 25 libdispatch.dylib 0x300e9cde8 _dispatch_worker_thread2 26 libsystem_pthread.dylib 0x3b7789dd0 _pthread_wqthread Thread 3 Crashed: 0 libsystem_kernel.dylib 0x376432bbc __pthread_kill 1 libsystem_pthread.dylib 0x3b7795850 pthread_kill 2 libsystem_c.dylib 0x3163036a0 abort 3 libswiftCore.dylib 0x30a6c5018 swift::fatalError 4 libswiftCore.dylib 0x30a6ce694 swift::MetadataAllocator::Allocate 5 libswiftCore.dylib 0x30a6cf1f0 _swift_getGenericMetadata 6 libswiftCore.dylib 0x30a6b2d64 __swift_instantiateCanonicalPrespecializedGenericMetadata 7 libswiftCore.dylib 0x30a6ef59c swift::Demangle::__runtime::TypeDecoder<T>::decodeMangledType 8 libswiftCore.dylib 0x30a6ea020 swift_getTypeByMangledNodeImpl 9 libswiftCore.dylib 0x30a6e9d98 swift_getTypeByMangledNode 10 libswiftCore.dylib 0x30a6ea50c swift_getTypeByMangledNameImpl 11 libswiftCore.dylib 0x30a6e7d10 swift_getTypeByMangledName 12 libswiftCore.dylib 0x30a6e7f24 swift_getTypeByMangledNameInContext 13 ZVVOneApp 0x20093609c __swift_instantiateConcreteTypeFromMangledName 14 ZVVOneApp 0x200954ae4 ThreadSafeDictionary.subscript.setter (ThreadSafeDictionary.swift:66) 15 ZVVOneApp 0x200952c38 HTTPDataLoader.fetch (HTTPDataLoader.swift:228) 16 ZVVOneApp 0x20099017c thunk for closure 17 Foundation 0x3042e2268 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ 18 Foundation 0x3042f391c -[NSBlockOperation main] 19 Foundation 0x3042cda88 __NSOPERATION_IS_INVOKING_MAIN__ 20 Foundation 0x3042ddf1c -[NSOperation start] 21 Foundation 0x3042e1364 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ 22 Foundation 0x3042eeb78 __NSOQSchedule_f 23 libdispatch.dylib 0x300e9a044 _dispatch_block_async_invoke2 24 libdispatch.dylib 0x300eb8090 _dispatch_client_callout 25 libdispatch.dylib 0x300e8fab4 _dispatch_continuation_pop$VARIANT$armv81 26 libdispatch.dylib 0x300e8f1f0 _dispatch_async_redirect_invoke 27 libdispatch.dylib 0x300e9c62c _dispatch_root_queue_drain 28 libdispatch.dylib 0x300e9cde8 _dispatch_worker_thread2 29 libsystem_pthread.dylib 0x3b7789dd0 _pthread_wqthread Thread 4 0 libsystem_pthread.dylib 0x3b7789934 start_wqthread Thread 5 name: com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x37642caac mach_msg_trap 1 libsystem_kernel.dylib 0x37642d078 mach_msg 2 CoreFoundation 0x30147c764 __CFRunLoopServiceMachPort 3 CoreFoundation 0x301480a6c __CFRunLoopRun 4 CoreFoundation 0x301493c2c CFRunLoopRunSpecific 5 Foundation 0x3042abea8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 6 Foundation 0x3042eae8c -[NSRunLoop(NSRunLoop) runUntilDate:] 7 UIKitCore 0x305f4109c -[UIEventFetcher threadMain] 8 Foundation 0x3042f8d28 __NSThread__start__ 9 libsystem_pthread.dylib 0x3b778b344 _pthread_start Thread 6 0 libsystem_kernel.dylib 0x37642d688 __ulock_wait 1 libsystem_platform.dylib 0x3b7776120 _os_unfair_lock_lock_slow 2 libswiftCore.dylib 0x30a6cf064 _swift_getGenericMetadata 3 libswiftCore.dylib 0x30a6b2d64 __swift_instantiateCanonicalPrespecializedGenericMetadata 4 libswiftCore.dylib 0x30a6ef59c swift::Demangle::__runtime::TypeDecoder<T>::decodeMangledType 5 libswiftCore.dylib 0x30a6ea020 swift_getTypeByMangledNodeImpl 6 libswiftCore.dylib 0x30a6e9d98 swift_getTypeByMangledNode 7 libswiftCore.dylib 0x30a6ea50c swift_getTypeByMangledNameImpl 8 libswiftCore.dylib 0x30a6e7d10 swift_getTypeByMangledName 9 libswiftCore.dylib 0x30a6e7f24 swift_getTypeByMangledNameInContext 10 ZVVOneApp 0x20093609c __swift_instantiateConcreteTypeFromMangledName 11 ZVVOneApp 0x200954ae4 ThreadSafeDictionary.subscript.setter (ThreadSafeDictionary.swift:66) 12 ZVVOneApp 0x200952c38 HTTPDataLoader.fetch (HTTPDataLoader.swift:228) 13 ZVVOneApp 0x20099017c thunk for closure 14 Foundation 0x3042e2268 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ 15 Foundation 0x3042f391c -[NSBlockOperation main] 16 Foundation 0x3042cda88 __NSOPERATION_IS_INVOKING_MAIN__ 17 Foundation 0x3042ddf1c -[NSOperation start] 18 Foundation 0x3042e1364 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ 19 Foundation 0x3042eeb78 __NSOQSchedule_f 20 libdispatch.dylib 0x300e9a044 _dispatch_block_async_invoke2 21 libdispatch.dylib 0x300eb8090 _dispatch_client_callout 22 libdispatch.dylib 0x300e8fab4 _dispatch_continuation_pop$VARIANT$armv81 23 libdispatch.dylib 0x300e8f1f0 _dispatch_async_redirect_invoke 24 libdispatch.dylib 0x300e9c62c _dispatch_root_queue_drain 25 libdispatch.dylib 0x300e9cde8 _dispatch_worker_thread2 26 libsystem_pthread.dylib 0x3b7789dd0 _pthread_wqthread Thread 7 0 libobjc.A.dylib 0x3303ead58 objc_release 1 AppSSOCore 0x3575717a0 -[SOConfigurationClient willHandleURL:responseCode:callerBundleIdentifier:] 2 AppSSOCore 0x3575723f8 +[SOAuthorizationCore _canPerformAuthorizationWithURL:responseCode:callerBundleIdentifier:useInternalExtensions:] 3 CFNetwork 0x30244d964 CFURLRequestSetMainDocumentURL 4 CFNetwork 0x302444240 CFURLRequestSetURL 5 CFNetwork 0x302454a78 CFURLRequestSetHTTPRequestMethod 6 CFNetwork 0x30244cbcc CFURLRequestSetMainDocumentURL 7 CFNetwork 0x30244ed28 _CFURLRequestSetContentDispositionEncodingFallbackArray 8 CFNetwork 0x30248fbdc CFHTTPCookieStorageCreateFromFile 9 CFNetwork 0x302444de4 CFURLRequestSetURL 10 CFNetwork 0x302446aec CFHTTPMessageCopyBody 11 libdispatch.dylib 0x300eb7090 _dispatch_call_block_and_release 12 libdispatch.dylib 0x300eb8090 _dispatch_client_callout 13 libdispatch.dylib 0x300e934a0 _dispatch_lane_serial_drain$VARIANT$armv81 14 libdispatch.dylib 0x300e93f74 _dispatch_lane_invoke$VARIANT$armv81 15 libdispatch.dylib 0x300e9d8dc _dispatch_workloop_worker_thread 16 libsystem_pthread.dylib 0x3b7789e0c _pthread_wqthread Thread 8 0 libsystem_kernel.dylib 0x37642d484 __psynch_cvwait 1 libsystem_pthread.dylib 0x3b778a85c _pthread_cond_wait$VARIANT$armv81 2 libc++.1.dylib 0x330534898 std::__1::condition_variable::wait 3 NewRelic 0x1055b0dbc NewRelic::WorkQueue::task_thread 4 NewRelic 0x1055b1340 std::__1::__async_assoc_state<T>::__execute 5 NewRelic 0x1055b14e0 std::__1::__thread_proxy<T> 6 libsystem_pthread.dylib 0x3b778b344 _pthread_start Thread 9 0 libsystem_kernel.dylib 0x37642d484 __psynch_cvwait 1 libsystem_pthread.dylib 0x3b778a85c _pthread_cond_wait$VARIANT$armv81 2 libc++.1.dylib 0x330534898 std::__1::condition_variable::wait 3 NewRelic 0x1055b0dbc NewRelic::WorkQueue::task_thread 4 NewRelic 0x1055b1340 std::__1::__async_assoc_state<T>::__execute 5 NewRelic 0x1055b14e0 std::__1::__thread_proxy<T> 6 libsystem_pthread.dylib 0x3b778b344 _pthread_start Thread 10 0 libswiftCore.dylib 0x30a6e773c swift::_gatherGenericParameterCounts 1 libswiftCore.dylib 0x30a6f19c8 _gatherGenericParameters 2 libswiftCore.dylib 0x30a6f0c38 (anonymous namespace)::DecodedMetadataBuilder::createBoundGenericType 3 libswiftCore.dylib 0x30a6eeec8 swift::Demangle::__runtime::TypeDecoder<T>::decodeMangledType 4 libswiftCore.dylib 0x30a6eaee0 swift::Demangle::__runtime::TypeDecoder<T>::decodeMangledType 5 libswiftCore.dylib 0x30a6ea020 swift_getTypeByMangledNodeImpl 6 libswiftCore.dylib 0x30a6e9d98 swift_getTypeByMangledNode 7 libswiftCore.dylib 0x30a6ea50c swift_getTypeByMangledNameImpl 8 libswiftCore.dylib 0x30a6e7d10 swift_getTypeByMangledName 9 libswiftCore.dylib 0x30a6e7f24 swift_getTypeByMangledNameInContext 10 AttributeGraph 0x36bf2109c AG::swift::metadata::mangled_type_name_ref 11 AttributeGraph 0x36bf21ea0 AG::LayoutDescriptor::Builder::visit_case 12 AttributeGraph 0x36bf20798 AG::swift::metadata::visit 13 AttributeGraph 0x36bf1ee70 AG::LayoutDescriptor::Builder::visit_element 14 AttributeGraph 0x36bf21c14 AG::swift::metadata_visitor::visit_field 15 AttributeGraph 0x36bf2082c AG::swift::metadata::visit 16 AttributeGraph 0x36bf1ee70 AG::LayoutDescriptor::Builder::visit_element 17 AttributeGraph 0x36bf21c14 AG::swift::metadata_visitor::visit_field 18 AttributeGraph 0x36bf2082c AG::swift::metadata::visit 19 AttributeGraph 0x36bf1ee70 AG::LayoutDescriptor::Builder::visit_element 20 AttributeGraph 0x36bf24b7c AG::swift::metadata::visit_heap_locals 21 AttributeGraph 0x36bf20b20 AG::LayoutDescriptor::make_layout 22 AttributeGraph 0x36bf21ccc AG::(anonymous namespace)::LayoutCache::drain_queue 23 libdispatch.dylib 0x300eb8090 _dispatch_client_callout 24 libdispatch.dylib 0x300e9c748 _dispatch_root_queue_drain 25 libdispatch.dylib 0x300e9cde8 _dispatch_worker_thread2 26 libsystem_pthread.dylib 0x3b7789dd0 _pthread_wqthread Thread 11 0 libsystem_kernel.dylib 0x37642cfd0 __semwait_signal 1 libsystem_c.dylib 0x3162e8a34 nanosleep 2 libsystem_c.dylib 0x3162fc704 sleep 3 ZVVOneApp 0x2008b7920 monitorCachedData (SentryCrashCachedData.c:144) 4 libsystem_pthread.dylib 0x3b778b344 _pthread_start Thread 12 0 libsystem_kernel.dylib 0x37642caac mach_msg_trap 1 libsystem_kernel.dylib 0x37642d078 mach_msg 2 libsystem_kernel.dylib 0x37643880c thread_suspend 3 ZVVOneApp 0x2008b31dc handleExceptions (SentryCrashMonitor_MachException.c:295) 4 libsystem_pthread.dylib 0x3b778b344 _pthread_start Thread 13 0 libsystem_kernel.dylib 0x37642caac mach_msg_trap 1 libsystem_kernel.dylib 0x37642d078 mach_msg 2 ZVVOneApp 0x2008b3208 handleExceptions (SentryCrashMonitor_MachException.c:303) 3 libsystem_pthread.dylib 0x3b778b344 _pthread_start Thread 14 0 libsystem_kernel.dylib 0x37642cfd0 __semwait_signal 1 libsystem_c.dylib 0x3162e8a34 nanosleep 2 Foundation 0x30430a9fc +[NSThread sleepForTimeInterval:] 3 ZVVOneApp 0x2008595ac -[SentryANRTracker detectANRs] (SentryANRTracker.m:75) 4 Foundation 0x3042f8d28 __NSThread__start__ 5 libsystem_pthread.dylib 0x3b778b344 _pthread_start Thread 15 0 libsystem_kernel.dylib 0x37642d484 __psynch_cvwait 1 libsystem_pthread.dylib 0x3b778a85c _pthread_cond_wait$VARIANT$armv81 2 libc++.1.dylib 0x330534898 std::__1::condition_variable::wait 3 NewRelic 0x1055b0dbc NewRelic::WorkQueue::task_thread 4 NewRelic 0x1055b1340 std::__1::__async_assoc_state<T>::__execute 5 NewRelic 0x1055b14e0 std::__1::__thread_proxy<T> 6 libsystem_pthread.dylib 0x3b778b344 _pthread_start Thread 16 0 libsystem_kernel.dylib 0x37642caac mach_msg_trap 1 libsystem_kernel.dylib 0x37642d078 mach_msg 2 CoreFoundation 0x30147c764 __CFRunLoopServiceMachPort 3 CoreFoundation 0x301480a6c __CFRunLoopRun 4 CoreFoundation 0x301493c2c CFRunLoopRunSpecific 5 Foundation 0x3042abea8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 6 Foundation 0x3042ac61c -[NSRunLoop(NSRunLoop) run] 7 SwiftUI 0x3101ea5bc DisplayLink.asyncThread 8 SwiftUI 0x3101e8860 DisplayLink.asyncThread 9 Foundation 0x3042f8d28 __NSThread__start__ 10 libsystem_pthread.dylib 0x3b778b344 _pthread_start Thread 17 0 libsystem_kernel.dylib 0x37642caac mach_msg_trap 1 libsystem_kernel.dylib 0x37642d078 mach_msg 2 CoreFoundation 0x30147c764 __CFRunLoopServiceMachPort 3 CoreFoundation 0x301480a6c __CFRunLoopRun 4 CoreFoundation 0x301493c2c CFRunLoopRunSpecific 5 CFNetwork 0x302673dc8 _CFURLStorageSessionDisableCache 6 Foundation 0x3042f8d28 __NSThread__start__ 7 libsystem_pthread.dylib 0x3b778b344 _pthread_start Thread 18 0 libsystem_kernel.dylib 0x37642caac mach_msg_trap 1 libsystem_kernel.dylib 0x37642d078 mach_msg 2 CoreFoundation 0x30147c764 __CFRunLoopServiceMachPort 3 CoreFoundation 0x301480a6c __CFRunLoopRun 4 CoreFoundation 0x301493c2c CFRunLoopRunSpecific 5 CoreFoundation 0x30150edc8 CFRunLoopRun 6 CoreMotion 0x31a3669dc CLMotionActivity::isTypeInVehicle 7 libsystem_pthread.dylib 0x3b778b344 _pthread_start Thread 19 0 libsystem_kernel.dylib 0x37642d688 __ulock_wait 1 libsystem_platform.dylib 0x3b7776120 _os_unfair_lock_lock_slow 2 libswiftCore.dylib 0x30a6cf064 _swift_getGenericMetadata 3 libswiftCore.dylib 0x30a6b2d64 __swift_instantiateCanonicalPrespecializedGenericMetadata 4 libswiftCore.dylib 0x30a6ef59c swift::Demangle::__runtime::TypeDecoder<T>::decodeMangledType 5 libswiftCore.dylib 0x30a6ea020 swift_getTypeByMangledNodeImpl 6 libswiftCore.dylib 0x30a6e9d98 swift_getTypeByMangledNode 7 libswiftCore.dylib 0x30a6ea50c swift_getTypeByMangledNameImpl 8 libswiftCore.dylib 0x30a6e7d10 swift_getTypeByMangledName 9 libswiftCore.dylib 0x30a6e7f24 swift_getTypeByMangledNameInContext 10 ZVVOneApp 0x20093609c __swift_instantiateConcreteTypeFromMangledName 11 ZVVOneApp 0x200954ae4 ThreadSafeDictionary.subscript.setter (ThreadSafeDictionary.swift:66) 12 ZVVOneApp 0x200952c38 HTTPDataLoader.fetch (HTTPDataLoader.swift:228) 13 ZVVOneApp 0x20099017c thunk for closure 14 Foundation 0x3042e2268 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ 15 Foundation 0x3042f391c -[NSBlockOperation main] 16 Foundation 0x3042cda88 __NSOPERATION_IS_INVOKING_MAIN__ 17 Foundation 0x3042ddf1c -[NSOperation start] 18 Foundation 0x3042e1364 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ 19 Foundation 0x3042eeb78 __NSOQSchedule_f 20 libdispatch.dylib 0x300e9a044 _dispatch_block_async_invoke2 21 libdispatch.dylib 0x300eb8090 _dispatch_client_callout 22 libdispatch.dylib 0x300e8fab4 _dispatch_continuation_pop$VARIANT$armv81 23 libdispatch.dylib 0x300e8f1f0 _dispatch_async_redirect_invoke 24 libdispatch.dylib 0x300e9c62c _dispatch_root_queue_drain 25 libdispatch.dylib 0x300e9cde8 _dispatch_worker_thread2 26 libsystem_pthread.dylib 0x3b7789dd0 _pthread_wqthread
Hi, what version of Swift are you using to compile the app?
I believe it's the version 5.7.2 (the one that comes bundled with the latest Xcode - 14.2)
Hi, I get some rare crash report in Sentry that lead me to an issue in HTTPDataLoader. I don't know how to reproduce them and I am not sure what's going on. Note: our app is using the 1.8.1 version of RealHTTP.
Here is the full crash report: