Details of failure d7938ea6-e6bc-4ff8-acdb-bccc76c8af66

Upload ID
8bd8f354-081c-4f38-bdeb-ec388fb2ee73
Test case ID
f03a47fa-2ca3-4d5d-a1f0-b922bba53d81
Message
Crash: xctest (10102): <external symbol> (#CharacterRangeLen=0)

Crash reports

d9c12335-a13d-4003-8078-21dc99bb3919 (Download)

Original filename
xctest_2022-09-26-161620_6C446166-819C-4FBD-87EB-A85078331F78.crash
Process:               xctest [10102]
Path:                  /Applications/Xcode_12.4.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/Library/Xcode/Agents/xctest
Identifier:            xctest
Version:               17501
Code Type:             X86-64 (Native)
Parent Process:        launchd_sim [9313]
Responsible:           SimulatorTrampoline [1439]
User ID:               501

Date/Time:             2022-09-26 16:16:20.604 +0000
OS Version:            Mac OS X 10.15.7 (19H2026)
Report Version:        12
Anonymous UUID:        28C488D7-2871-0137-7EA3-2D329D89124C


Time Awake Since Boot: 4300 seconds

System Integrity Protection: enabled

Crashed Thread:        8  Dispatch queue: io.ably.tests

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString clientId]: unrecognized selector sent to instance 0x7f9d5a289440'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 732.18.6 - Device: Apple TV 4K (3476840E-2BAA-45B7-8BCE-85796C8D56A0) - Runtime: tvOS 14.3 (18K559) - DeviceType: Apple TV 4K

Application Specific Backtrace 1:
0   CoreFoundation                      0x000000010798c0ba __exceptionPreprocess + 242
1   libobjc.A.dylib                     0x000000010781ce78 objc_exception_throw + 48
2   CoreFoundation                      0x000000010799ac28 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
3   CoreFoundation                      0x00000001079905fa ___forwarding___ + 1489
4   CoreFoundation                      0x0000000107992638 _CF_forwarding_prep_0 + 120
5   Ably                                0x00000001245c8909 -[ARTRealtimeChannelInternal map:shouldReenterLocalMember:] + 153
6   Ably                                0x00000001245c0256 -[ARTRealtimeChannelInternal transition:status:] + 1318
7   Ably                                0x00000001245c1cc9 -[ARTRealtimeChannelInternal setAttached:] + 2169
8   Ably                                0x00000001245c113c -[ARTRealtimeChannelInternal onChannelMessage:] + 700
9   Ably                                0x00000001245b3136 -[ARTRealtimeInternal onChannelMessage:] + 262
10  Ably                                0x00000001245b7aed -[ARTRealtimeInternal realtimeTransport:didReceiveMessage:] + 1581
11  Ably                                0x000000012455d6a3 -[ARTWebSocketTransport receive:] + 403
12  Ably-tvOS-Tests                     0x0000000123aa04f8 Ably_tvOS_Tests.TestProxyTransport.receive(__C.ARTProtocolMessage) -> () + 1176
13  Ably-tvOS-Tests                     0x0000000123aa078f @objc Ably_tvOS_Tests.TestProxyTransport.receive(__C.ARTProtocolMessage) -> () + 47
14  Ably                                0x000000012455d76e -[ARTWebSocketTransport receiveWithData:] + 158
15  Ably-tvOS-Tests                     0x0000000123aa09cf @objc Ably_tvOS_Tests.TestProxyTransport.receive(with: Foundation.Data) -> __C.ARTProtocolMessage? + 239
16  Ably                                0x0000000124560222 -[ARTWebSocketTransport webSocketMessageData:] + 306
17  Ably                                0x000000012455fdd5 -[ARTWebSocketTransport webSocket:didReceiveMessage:] + 581
18  Ably-tvOS-Tests                     0x0000000123aa0da7 Ably_tvOS_Tests.TestProxyTransport.webSocket(_: __C.ARTWebSocket, didReceiveMessage: Any?) -> () + 279
19  Ably-tvOS-Tests                     0x0000000123aa0e5d @objc Ably_tvOS_Tests.TestProxyTransport.webSocket(_: __C.ARTWebSocket, didReceiveMessage: Any?) -> () + 125
20  Ably                                0x000000012452d680 __46-[ARTSRWebSocket _handleFrameWithData:opCode:]_block_invoke.248 + 96
21  Ably                                0x000000012453f87b __48-[ARTSRDelegateController performDelegateBlock:]_block_invoke.28 + 59
22  libdispatch.dylib                   0x0000000109ad132f _dispatch_call_block_and_release + 12
23  libdispatch.dylib                   0x0000000109ad2508 _dispatch_client_callout + 8
24  libdispatch.dylib                   0x0000000109ad83f9 _dispatch_lane_serial_drain + 715
25  libdispatch.dylib                   0x0000000109ad8f74 _dispatch_lane_invoke + 403
26  libdispatch.dylib                   0x0000000109ae3577 _dispatch_workloop_worker_thread + 782
27  libsystem_pthread.dylib             0x00007fff4baa9a3d _pthread_wqthread + 290
28  libsystem_pthread.dylib             0x00007fff4baa8b77 start_wqthread + 15

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff4ba70dea mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff4ba71160 mach_msg + 60
2   com.apple.CoreFoundation      	0x00000001078fa110 __CFRunLoopServiceMachPort + 316
3   com.apple.CoreFoundation      	0x00000001078f4819 __CFRunLoopRun + 1284
4   com.apple.CoreFoundation      	0x00000001078f3e2a CFRunLoopRunSpecific + 567
5   com.apple.Foundation          	0x00000001071c5b55 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 209
6   net.jeffhui.Nimble            	0x00000001244206da specialized closure #3 in AwaitPromiseBuilder.wait(_:file:line:) + 506
7   net.jeffhui.Nimble            	0x00000001243e3e1c thunk for @callee_guaranteed () -> () + 12
8   net.jeffhui.Nimble            	0x00000001243e3e3e thunk for @escaping @callee_guaranteed () -> () + 14
9   net.jeffhui.Nimble            	0x00000001243e15c1 -[NMBExceptionCapture tryBlock:] + 35
10  net.jeffhui.Nimble            	0x0000000124420038 specialized AwaitPromiseBuilder.wait(_:file:line:) + 440
11  net.jeffhui.Nimble            	0x0000000124421488 specialized static NMBWait.throwableUntil(timeout:file:line:action:) + 360 (DSL+Wait.swift:65)
12  net.jeffhui.Nimble            	0x000000012441f28b waitUntil(timeout:file:line:action:) + 107
13  io.ably.Ably-tvOS-Tests       	0x0000000123a52f12 specialized RealtimeClientPresenceTests.test__023__Presence__Channel_state_change_side_effects__channel_enters_the_SUSPENDED_state__should_maintain_the_PresenceMap_and_any_members_present_before_and_after_the_sync_should_not_emit_presence_events() + 930 (RealtimeClientPresenceTests.swift:779)
14  com.apple.CoreFoundation      	0x00000001079928cc __invoking___ + 140
15  com.apple.CoreFoundation      	0x000000010798fd7a -[NSInvocation invoke] + 303
16  com.apple.dt.XCTest           	0x0000000107671965 __24-[XCTestCase invokeTest]_block_invoke_2 + 52
17  com.apple.dt.XCTest           	0x0000000107671911 __24-[XCTestCase invokeTest]_block_invoke.239 + 320
18  com.apple.dt.XCTest           	0x00000001076cc707 -[XCTestCase(XCTIssueHandling) _caughtUnhandledDeveloperExceptionPermittingControlFlowInterruptions:caughtInterruptionException:whileExecutingBlock:] + 183
19  com.apple.dt.XCTest           	0x0000000107671373 -[XCTestCase invokeTest] + 1069
20  com.apple.dt.XCTest           	0x0000000107672c33 __26-[XCTestCase performTest:]_block_invoke_2 + 43
21  com.apple.dt.XCTest           	0x00000001076cc707 -[XCTestCase(XCTIssueHandling) _caughtUnhandledDeveloperExceptionPermittingControlFlowInterruptions:caughtInterruptionException:whileExecutingBlock:] + 183
22  com.apple.dt.XCTest           	0x0000000107672b6a __26-[XCTestCase performTest:]_block_invoke.365 + 86
23  com.apple.dt.XCTest           	0x00000001076e0437 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
24  com.apple.dt.XCTest           	0x00000001076723e7 -[XCTestCase performTest:] + 695
25  com.apple.dt.XCTest           	0x00000001076b74b3 -[XCTest runTest] + 57
26  com.apple.dt.XCTest           	0x000000010766b509 __27-[XCTestSuite performTest:]_block_invoke + 354
27  com.apple.dt.XCTest           	0x000000010766acde __59-[XCTestSuite _performProtectedSectionForTest:testSection:]_block_invoke + 24
28  com.apple.dt.XCTest           	0x00000001076e0437 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
29  com.apple.dt.XCTest           	0x00000001076e0348 +[XCTContext runInContextForTestCase:block:] + 52
30  com.apple.dt.XCTest           	0x000000010766ac95 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 148
31  com.apple.dt.XCTest           	0x000000010766afc7 -[XCTestSuite performTest:] + 281
32  com.apple.dt.XCTest           	0x00000001076b74b3 -[XCTest runTest] + 57
33  com.apple.dt.XCTest           	0x000000010766b509 __27-[XCTestSuite performTest:]_block_invoke + 354
34  com.apple.dt.XCTest           	0x000000010766acde __59-[XCTestSuite _performProtectedSectionForTest:testSection:]_block_invoke + 24
35  com.apple.dt.XCTest           	0x00000001076e0437 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
36  com.apple.dt.XCTest           	0x00000001076e0348 +[XCTContext runInContextForTestCase:block:] + 52
37  com.apple.dt.XCTest           	0x000000010766ac95 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 148
38  com.apple.dt.XCTest           	0x000000010766afc7 -[XCTestSuite performTest:] + 281
39  com.apple.dt.XCTest           	0x00000001076b74b3 -[XCTest runTest] + 57
40  com.apple.dt.XCTest           	0x000000010766b509 __27-[XCTestSuite performTest:]_block_invoke + 354
41  com.apple.dt.XCTest           	0x000000010766acde __59-[XCTestSuite _performProtectedSectionForTest:testSection:]_block_invoke + 24
42  com.apple.dt.XCTest           	0x00000001076e0437 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
43  com.apple.dt.XCTest           	0x00000001076e0348 +[XCTContext runInContextForTestCase:block:] + 52
44  com.apple.dt.XCTest           	0x000000010766ac95 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 148
45  com.apple.dt.XCTest           	0x000000010766afc7 -[XCTestSuite performTest:] + 281
46  com.apple.dt.XCTest           	0x00000001076b74b3 -[XCTest runTest] + 57
47  com.apple.dt.XCTest           	0x00000001076efaa6 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke_2 + 148
48  com.apple.dt.XCTest           	0x00000001076e0437 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
49  com.apple.dt.XCTest           	0x00000001076e0348 +[XCTContext runInContextForTestCase:block:] + 52
50  com.apple.dt.XCTest           	0x00000001076efa0b __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 111
51  com.apple.dt.XCTest           	0x00000001076efb8c __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.99 + 96
52  com.apple.dt.XCTest           	0x00000001076865e3 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 325
53  com.apple.dt.XCTest           	0x00000001076ef7d2 -[XCTTestRunSession runTestsAndReturnError:] + 615
54  com.apple.dt.XCTest           	0x000000010764f6fe -[XCTestDriver _runTests] + 470
55  com.apple.dt.XCTest           	0x00000001076dc308 _XCTestMain + 108
56  xctest                        	0x0000000106e12ec5 main + 189
57  libdyld.dylib                 	0x0000000109b5b419 start + 1

Thread 1:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib        	0x00007fff4ba70dea mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff4ba71160 mach_msg + 60
2   com.apple.CoreFoundation      	0x00000001078fa110 __CFRunLoopServiceMachPort + 316
3   com.apple.CoreFoundation      	0x00000001078f4819 __CFRunLoopRun + 1284
4   com.apple.CoreFoundation      	0x00000001078f3e2a CFRunLoopRunSpecific + 567
5   com.apple.CFNetwork           	0x0000000108f4384a 0x108d19000 + 2271306
6   com.apple.Foundation          	0x00000001071ee204 __NSThread__start__ + 1042
7   libsystem_pthread.dylib       	0x00007fff4baad109 _pthread_start + 148
8   libsystem_pthread.dylib       	0x00007fff4baa8b8b thread_start + 15

Thread 2:: io.ably.socketrocket.NetworkThread
0   libsystem_kernel.dylib        	0x00007fff4ba70dea mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff4ba71160 mach_msg + 60
2   com.apple.CoreFoundation      	0x00000001078fa110 __CFRunLoopServiceMachPort + 316
3   com.apple.CoreFoundation      	0x00000001078f4819 __CFRunLoopRun + 1284
4   com.apple.CoreFoundation      	0x00000001078f3e2a CFRunLoopRunSpecific + 567
5   com.apple.Foundation          	0x00000001071c5b55 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 209
6   io.ably.Ably                  	0x00000001245532c9 -[ARTSRRunLoopThread main] + 313 (ARTSRRunLoopThread.m:70)
7   com.apple.Foundation          	0x00000001071ee204 __NSThread__start__ + 1042
8   libsystem_pthread.dylib       	0x00007fff4baad109 _pthread_start + 148
9   libsystem_pthread.dylib       	0x00007fff4baa8b8b thread_start + 15

Thread 3:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	0x00007fff4ba790ee __select + 10
1   com.apple.CoreFoundation      	0x000000010790ee38 __CFSocketManager + 644
2   libsystem_pthread.dylib       	0x00007fff4baad109 _pthread_start + 148
3   libsystem_pthread.dylib       	0x00007fff4baa8b8b thread_start + 15

Thread 4:
0   libsystem_pthread.dylib       	0x00007fff4baa8b68 start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib       	0x00007fff4baa8b68 start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib       	0x00007fff4baa8b68 start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib       	0x00007fff4baa8b68 start_wqthread + 0

Thread 8 Crashed:: Dispatch queue: io.ably.tests
0   libsystem_kernel.dylib        	0x00007fff4ba7732a __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff4baace60 pthread_kill + 430
2   libsystem_c.dylib             	0x0000000109c8eb64 abort + 120
3   libc++abi.dylib               	0x0000000109387818 abort_message + 231
4   libc++abi.dylib               	0x0000000109378e7d demangling_terminate_handler() + 266
5   libobjc.A.dylib               	0x000000010781d0d1 _objc_terminate() + 96
6   libc++abi.dylib               	0x0000000109386c47 std::__terminate(void (*)()) + 8
7   libc++abi.dylib               	0x0000000109386be9 std::terminate() + 41
8   libdispatch.dylib             	0x0000000109ad251c _dispatch_client_callout + 28
9   libdispatch.dylib             	0x0000000109ad83f9 _dispatch_lane_serial_drain + 715
10  libdispatch.dylib             	0x0000000109ad8f74 _dispatch_lane_invoke + 403
11  libdispatch.dylib             	0x0000000109ae3577 _dispatch_workloop_worker_thread + 782
12  libsystem_pthread.dylib       	0x00007fff4baa9a3d _pthread_wqthread + 290
13  libsystem_pthread.dylib       	0x00007fff4baa8b77 start_wqthread + 15

Thread 8 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000070000798a000  rcx: 0x0000700007989288  rdx: 0x0000000000000000
  rdi: 0x0000000000001f47  rsi: 0x0000000000000006  rbp: 0x00007000079892b0  rsp: 0x0000700007989288
   r8: 0x0000700007989150   r9: 0x0000700007989320  r10: 0x000070000798a000  r11: 0x0000000000000246
  r12: 0x0000000000001f47  r13: 0x0000003000000008  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007fff4ba7732a  rfl: 0x0000000000000246  cr2: 0x0000000109c8eaec
  
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133


Binary Images:
       0x106e10000 -        0x106e13fff +xctest (17501) <7F497575-ED68-3244-8D8D-A2BE2F9F487A> /Applications/Xcode_12.4.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/Library/Xcode/Agents/xctest
       0x106e20000 -        0x106e7850f +dyld_sim (828.5) <29C26C3C-AB28-358B-A631-864F4B9A2939> /Applications/Xcode_12.4.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
       0x106eca000 -        0x106ef5ff7 +libMainThreadChecker.dylib (64541.4.1) <588C3EEF-7058-3B6F-BDF1-A29D91C95ABC> /Applications/Xcode_12.4.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib
       0x107000000 -        0x107043fff  com.apple.dt.XCTAutomationSupport (1.0 - 17501) <AD8AD2C8-15CB-3F4A-8796-7515BF9512C7> /Applications/Xcode_12.4.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework/XCTAutomationSupport
       0x1070b4000 -        0x10738aff6  com.apple.Foundation (6.9 - 1770.300) <E82C4A15-1DAA-3B6A-9269-92341D9B8928> /Applications/Xcode_12.4.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Devel