Open farmer-dhi opened 1 month ago
Here's the crash dump for this issue:
`OS Version: iOS 17.5.1 (21F90) Report Version: 104
Crashed Thread: 13
Application Specific Information: -[TCHErrorInfo UTF8String]: unrecognized selector sent to instance 0x3008ac360
Thread 13 Crashed: 0 CoreFoundation 0x318efdf20 exceptionPreprocess 1 libobjc.A.dylib 0x308cc6014 objc_exception_throw 2 CoreFoundation 0x31900747c -[NSObject(NSObject) doesNotRecognizeSelector:] 3 CoreFoundation 0x318e9afb0 __forwarding 4 CoreFoundation 0x318e9a8cc forwarding_prep_0__ 5 TwilioConversationsClient 0x1052f2eb8 ZN3rtd8twilsock8Twilsock4initEv_block_invoke_2.73 6 TwilioConversationsClient 0x1052f80cc -[TCHTwilsockListener onDisconnected:] 7 TwilioTwilsockLib 0x103e3ea04 TwilsockObserverWrapper.onDisconnected 8 TwilioTwilsockLib 0x103e4d970 closure in TwilsockStateMachine.defaultOnDisconnect (TwilsockStates.swift:187) 9 TwilioTwilsockLib 0x103e50f6c closure in TwilsockStateMachine.defaultOnDisconnect 10 TwilioTwilsockLib 0x103e1ef04 [inlined] closure in Twilsock.init (Twilsock.swift:142) 11 TwilioTwilsockLib 0x103e1ef04 [inlined] Sequence.forEach 12 TwilioTwilsockLib 0x103e1ef04 closure in Twilsock.init (Twilsock.swift:142) 13 TwilioTwilsockLib 0x103e1345c thunk for closure 14 libdispatch.dylib 0x328cc6138 _dispatch_call_block_and_release 15 libdispatch.dylib 0x328cc7dd0 _dispatch_client_callout 16 libdispatch.dylib 0x328ccf3fc _dispatch_lane_serial_drain 17 libdispatch.dylib 0x328ccff2c _dispatch_lane_invoke 18 libdispatch.dylib 0x328cdacb0 _dispatch_root_queue_drain_deferred_wlh 19 libdispatch.dylib 0x328cda524 _dispatch_workloop_worker_thread 20 libsystem_pthread.dylib 0x3d2c2a930 _pthread_wqthread 21 libsystem_pthread.dylib 0x3d2c270c8 start_wqthread
Thread 0
0 libsystem_kernel.dylib 0x3ab0df808 mach_msg2_trap
1 libsystem_kernel.dylib 0x3ab0e3004 mach_msg2_internal
2 libsystem_kernel.dylib 0x3ab0e2f1c mach_msg_overwrite
3 libsystem_kernel.dylib 0x3ab0e2d5c mach_msg
4 CoreFoundation 0x318ecdf58 CFRunLoopServiceMachPort
5 CoreFoundation 0x318ecd5fc CFRunLoopRun
6 CoreFoundation 0x318ecccd4 CFRunLoopRunSpecific
7 GraphicsServices 0x3a2c7f1a4 GSEventRunModal
8 UIKitCore 0x31d786908 -[UIApplication _run]
9 UIKitCore 0x31d83a9cc UIApplicationMain
10
Thread 1 name: com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x3ab0df808 mach_msg2_trap 1 libsystem_kernel.dylib 0x3ab0e3004 mach_msg2_internal 2 libsystem_kernel.dylib 0x3ab0e2f1c mach_msg_overwrite 3 libsystem_kernel.dylib 0x3ab0e2d5c mach_msg 4 CoreFoundation 0x318ecdf58 CFRunLoopServiceMachPort 5 CoreFoundation 0x318ecd5fc CFRunLoopRun 6 CoreFoundation 0x318ecccd4 CFRunLoopRunSpecific 7 Foundation 0x316c99e48 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 8 Foundation 0x316c99c98 -[NSRunLoop(NSRunLoop) runUntilDate:] 9 UIKitCore 0x31d79a63c -[UIEventFetcher threadMain] 10 Foundation 0x316cb0714 NSThreadstart__ 11 libsystem_pthread.dylib 0x3d2c2c068 _pthread_start
Thread 2 0 libsystem_kernel.dylib 0x3ab0e53ec __semwait_signal 1 libsystem_c.dylib 0x328d685ec nanosleep 2 libsystem_c.dylib 0x328dc5728 sleep 3 Sentry 0x105c18724 monitorCachedData (SentryCrashCachedData.c:146) 4 libsystem_pthread.dylib 0x3d2c2c068 _pthread_start
Thread 3 name: SentryCrash Exception Handler (Secondary) 0 libsystem_kernel.dylib 0x3ab0df808 mach_msg2_trap 1 libsystem_kernel.dylib 0x3ab0e3004 mach_msg2_internal 2 libsystem_kernel.dylib 0x3ab0e0d74 thread_suspend 3 Sentry 0x105bff5bc handleExceptions (SentryCrashMonitor_MachException.c:305) 4 libsystem_pthread.dylib 0x3d2c2c068 _pthread_start
Thread 4 name: SentryCrash Exception Handler (Primary) 0 libsystem_kernel.dylib 0x3ab0df808 mach_msg2_trap 1 libsystem_kernel.dylib 0x3ab0e3004 mach_msg2_internal 2 libsystem_kernel.dylib 0x3ab0e2f1c mach_msg_overwrite 3 libsystem_kernel.dylib 0x3ab0e2d5c mach_msg 4 Sentry 0x105bff5e8 handleExceptions (SentryCrashMonitor_MachException.c:313) 5 libsystem_pthread.dylib 0x3d2c2c068 _pthread_start
Thread 5 name: io.sentry.app-hang-tracker 0 libsystem_kernel.dylib 0x3ab0e53ec semwait_signal 1 libsystem_c.dylib 0x328d685ec nanosleep 2 Foundation 0x316dec710 +[NSThread sleepForTimeInterval:] 3 Sentry 0x105be0108 -[SentryANRTracker detectANRs] (SentryANRTracker.m:105) 4 Foundation 0x316cb0714 NSThreadstart 5 libsystem_pthread.dylib 0x3d2c2c068 _pthread_start
Thread 6 name: com.google.firebase.crashlytics.MachExceptionServer
0 libsystem_kernel.dylib 0x3ab0df808 mach_msg2_trap
1 libsystem_kernel.dylib 0x3ab0e3004 mach_msg2_internal
2 libsystem_kernel.dylib 0x3ab0e2f1c mach_msg_overwrite
3 libsystem_kernel.dylib 0x3ab0e2d5c mach_msg
4
Thread 7 name: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x3ab0df808 mach_msg2_trap 1 libsystem_kernel.dylib 0x3ab0e3004 mach_msg2_internal 2 libsystem_kernel.dylib 0x3ab0e2f1c mach_msg_overwrite 3 libsystem_kernel.dylib 0x3ab0e2d5c mach_msg 4 CoreFoundation 0x318ecdf58 CFRunLoopServiceMachPort 5 CoreFoundation 0x318ecd5fc CFRunLoopRun 6 CoreFoundation 0x318ecccd4 CFRunLoopRunSpecific 7 CFNetwork 0x31b1e3c8c _CFHostIsDomainTopLevel 8 Foundation 0x316cb0714 NSThreadstart__ 9 libsystem_pthread.dylib 0x3d2c2c068 _pthread_start
Thread 8 name: WebThread 0 libsystem_kernel.dylib 0x3ab0df808 mach_msg2_trap 1 libsystem_kernel.dylib 0x3ab0e3004 mach_msg2_internal 2 libsystem_kernel.dylib 0x3ab0e2f1c mach_msg_overwrite 3 libsystem_kernel.dylib 0x3ab0e2d5c mach_msg 4 CoreFoundation 0x318ecdf58 CFRunLoopServiceMachPort 5 CoreFoundation 0x318ecd5fc CFRunLoopRun 6 CoreFoundation 0x318ecccd4 CFRunLoopRunSpecific 7 WebCore 0x33ed4f29c RunWebThread 8 libsystem_pthread.dylib 0x3d2c2c068 _pthread_start
Thread 9
0 libsystem_kernel.dylib 0x3ab0e51cc psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 libc++.1.dylib 0x3396df594 std::__1::condition_variable::do_timed_wait
3 TwilioConversationsClient 0x1054048dc [inlined] std::1::condition_variable::wait_for
Thread 10
0 libswiftCore.dylib 0x31647d264 getCache
1 libswiftCore.dylib 0x31647dbc4 [inlined] _swift_getGenericMetadata
2 libswiftCore.dylib 0x31647dbc4 _swift_getGenericMetadata
3 libswiftCore.dylib 0x316451644 __swift_instantiateCanonicalPrespecializedGenericMetadata
4 Foundation 0x316c82f34 _ArrayBuffer._consumeAndCreateNew
5 Foundation 0x316c823a0 Array._createNewBuffer
6 Foundation 0x316c82868 JSONDecoderImpl.KeyedContainer.allKeys.getter
7 libswiftCore.dylib 0x316129448 _KeyedDecodingContainerBox.allKeys.getter
8 libswiftCore.dylib 0x31611d090 KeyedDecodingContainer.allKeys.getter
9 TwilioCommonLib 0x103f095dc KeyedDecodingContainer.decode (AnyCodable.swift:53)
10 TwilioCommonLib 0x103f1954c [inlined] StringMultiMap.__allocating_init (StringMultiMap.swift:85)
11 TwilioCommonLib 0x103f1954c StringMultiMap (
Thread 11
0 libsystem_malloc.dylib 0x3392a92f4 _nanov2_free
1 libswiftCore.dylib 0x316473368 [inlined] _swift_release_dealloc
2 libswiftCore.dylib 0x316473368 _swift_release_dealloc
3 libswiftCore.dylib 0x316474484 swift::RefCounts
Thread 12 0 libz.1.dylib 0x44c2b37e8 deflateResetKeep 1 libz.1.dylib 0x44c2ad878 deflateEnd 2 libz.1.dylib 0x44c2b156c deflate 3 Network 0x319c91c04 nw_ws_parse_output_block_invoke 4 Network 0x319c9ba74 __nw_framer_parse_array_block_invoke 5 Network 0x319c9b274 nw_framer_parse_array 6 Network 0x319c9e738 nw_framer_parse_output 7 Network 0x319c905fc nw_protocol_copy_ws_definition_block_invoke.29 8 Network 0x319caee70 __nw_framer_protocol_finalize_output_frames_block_invoke_2 9 Network 0x319cae3d0 nw_framer_protocol_finalize_output_frames 10 Network 0x3199e93c8 nw_flow_service_writes 11 Network 0x3199e7ad8 nw_endpoint_handler_service_writes 12 Network 0x319a02e04 nw_connection_add_write_request_on_queue 13 libdispatch.dylib 0x328cc6138 _dispatch_call_block_and_release 14 libdispatch.dylib 0x328cc7dd0 _dispatch_client_callout 15 libdispatch.dylib 0x328ccf3fc _dispatch_lane_serial_drain 16 libdispatch.dylib 0x328ccff60 _dispatch_lane_invoke 17 libdispatch.dylib 0x328cd1280 _dispatch_workloop_invoke 18 libdispatch.dylib 0x328cdacb0 _dispatch_root_queue_drain_deferred_wlh 19 libdispatch.dylib 0x328cda524 _dispatch_workloop_worker_thread 20 libsystem_pthread.dylib 0x3d2c2a930 _pthread_wqthread
Thread 13 Crashed: 0 CoreFoundation 0x318efdf20 exceptionPreprocess 1 libobjc.A.dylib 0x308cc6014 objc_exception_throw 2 CoreFoundation 0x31900747c -[NSObject(NSObject) doesNotRecognizeSelector:] 3 CoreFoundation 0x318e9afb0 __forwarding 4 CoreFoundation 0x318e9a8cc forwarding_prep_0__ 5 TwilioConversationsClient 0x1052f2eb8 ZN3rtd8twilsock8Twilsock4initEv_block_invoke_2.73 6 TwilioConversationsClient 0x1052f80cc -[TCHTwilsockListener onDisconnected:] 7 TwilioTwilsockLib 0x103e3ea04 TwilsockObserverWrapper.onDisconnected 8 TwilioTwilsockLib 0x103e4d970 closure in TwilsockStateMachine.defaultOnDisconnect (TwilsockStates.swift:187) 9 TwilioTwilsockLib 0x103e50f6c closure in TwilsockStateMachine.defaultOnDisconnect 10 TwilioTwilsockLib 0x103e1ef04 [inlined] closure in Twilsock.init (Twilsock.swift:142) 11 TwilioTwilsockLib 0x103e1ef04 [inlined] Sequence.forEach 12 TwilioTwilsockLib 0x103e1ef04 closure in Twilsock.init (Twilsock.swift:142) 13 TwilioTwilsockLib 0x103e1345c thunk for closure 14 libdispatch.dylib 0x328cc6138 _dispatch_call_block_and_release 15 libdispatch.dylib 0x328cc7dd0 _dispatch_client_callout 16 libdispatch.dylib 0x328ccf3fc _dispatch_lane_serial_drain 17 libdispatch.dylib 0x328ccff2c _dispatch_lane_invoke 18 libdispatch.dylib 0x328cdacb0 _dispatch_root_queue_drain_deferred_wlh 19 libdispatch.dylib 0x328cda524 _dispatch_workloop_worker_thread 20 libsystem_pthread.dylib 0x3d2c2a930 _pthread_wqthread 21 libsystem_pthread.dylib 0x3d2c270c8 start_wqthread
Thread 14 0 libsystem_kernel.dylib 0x3ab0df808 mach_msg2_trap 1 libsystem_kernel.dylib 0x3ab0e3004 mach_msg2_internal 2 libsystem_kernel.dylib 0x3ab0e2f1c mach_msg_overwrite 3 libsystem_kernel.dylib 0x3ab0e2d5c mach_msg 4 CoreFoundation 0x318ecdf58 CFRunLoopServiceMachPort 5 CoreFoundation 0x318ecd5fc CFRunLoopRun 6 CoreFoundation 0x318ecccd4 CFRunLoopRunSpecific 7 Foundation 0x316c99e48 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 8 Foundation 0x316c99d1c -[NSRunLoop(NSRunLoop) run] 9 SwiftUI 0x320f43f14 OUTLINED_FUNCTION_283 10 SwiftUI 0x320f43c0c OUTLINED_FUNCTION_283 11 Foundation 0x316cb0714 NSThreadstart__ 12 libsystem_pthread.dylib 0x3d2c2c068 _pthread_start
Thread 15 0 libsystem_kernel.dylib 0x3ab0df590 __workq_kernreturn 1 libsystem_pthread.dylib 0x3d2c2a97c _pthread_wqthread
Thread 16
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 17
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 18
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 19
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 20
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 21
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 22
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 23
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 24
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 25
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 26
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 27
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 28
0 libsystem_kernel.dylib 0x3ab0e6608 kevent
1 TwilioConversationsClient 0x1052e3c84 boost::asio::detail::kqueue_reactor::run
2 TwilioConversationsClient 0x1052e3a64 boost::asio::detail::scheduler::do_run_one
3 TwilioConversationsClient 0x1052e3824 boost::asio::detail::scheduler::run
4 TwilioConversationsClient 0x1052e242c rtd::executors::ThreadedExecutor::Impl::process_events
5 TwilioConversationsClient 0x1052e9bb0 std::1::thread_proxy
Thread 29
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 30
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 31
0 libsystem_kernel.dylib 0x3ab0e51cc __psynch_cvwait
1 libsystem_pthread.dylib 0x3d2c296e0 _pthread_cond_wait
2 TwilioConversationsClient 0x1052e4314 boost::asio::detail::posix_event::wait
Thread 32 0 libsystem_kernel.dylib 0x3ab0df590 __workq_kernreturn 1 libsystem_pthread.dylib 0x3d2c2a97c _pthread_wqthread
EOF`
I believe the crash detailed here is due to the Conversations SDK updating to twilsock version 2.1.1.
My project is on Conversations v3.1.0 and after forcing the twilsock version back to 2.0.4 the crash stopped happening. I will see if I can get more concrete details about the crash.