Details of failure 9c7296c2-cf86-41c8-bdcd-808bcd734510

Upload ID
44c92b7c-66ba-4380-8866-f1cdeda5dabb
Test case ID
ac44f09c-f521-4bfc-a3d7-58d4f7428c74
Message
Crash: xctest (93216): Namespace SIGNAL, Code 0x4 (#CharacterRangeLen=0)

Crash reports

316eb029-b4f2-49b3-a7bc-13983f472e4d (Download)

Original filename
xctest_2022-05-08-231825_B7BC64A3-1B58-45DA-9A10-82243A1B46CC.crash
Process:               xctest [93216]
Path:                  /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/xctest
Identifier:            xctest
Version:               17501
Code Type:             X86-64 (Native)
Parent Process:        launchd_sim [92730]
Responsible:           SimulatorTrampoline [3384]
User ID:               501

Date/Time:             2022-05-08 23:18:25.730 +0000
OS Version:            Mac OS X 10.15.7 (19H1824)
Report Version:        12
Anonymous UUID:        28C488D7-2871-0137-7EA3-2D329D89124C


Time Awake Since Boot: 21000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [93216]

Application Specific Information:
CoreSimulator 732.18.6 - Device: iPhone 12 (EBADA239-8E89-45A9-BA56-2390CD066751) - Runtime: iOS 14.4 (18D46) - DeviceType: iPhone 12
Fatal error: Index out of range: file Swift/ContiguousArrayBuffer.swift, line 444
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libswiftCore.dylib            	0x0000000112524f34 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 484
1   libswiftCore.dylib            	0x0000000112524a87 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 87
2   libswiftCore.dylib            	0x0000000112524763 closure #1 in _assertionFailure(_:_:file:line:flags:) + 99
3   libswiftCore.dylib            	0x00000001125243e1 _assertionFailure(_:_:file:line:flags:) + 513
4   libswiftCore.dylib            	0x0000000112506669 _ArrayBuffer._checkInoutAndNativeTypeCheckedBounds(_:wasNativeTypeChecked:) + 249
5   libswiftCore.dylib            	0x000000011250b2ee Array.subscript.getter + 78
6   io.ably.Ably-iOS-Tests        	0x00000001111d401d RealtimeClientPresenceTests.test__032__Presence__enter__entering_without_an_explicit_PresenceMessage_clientId_should_implicitly_use_the_clientId_of_the_current_connection() + 3613 (RealtimeClientPresenceTests.swift:1086)
7   io.ably.Ably-iOS-Tests        	0x00000001111d57fb @objc RealtimeClientPresenceTests.test__032__Presence__enter__entering_without_an_explicit_PresenceMessage_clientId_should_implicitly_use_the_clientId_of_the_current_connection() + 43
8   com.apple.CoreFoundation      	0x00007fff204282fc __invoking___ + 140
9   com.apple.CoreFoundation      	0x00007fff204257b6 -[NSInvocation invoke] + 303
10  com.apple.dt.XCTest           	0x000000010eada605 __24-[XCTestCase invokeTest]_block_invoke_2 + 52
11  com.apple.dt.XCTest           	0x000000010eada5b1 __24-[XCTestCase invokeTest]_block_invoke.239 + 320
12  com.apple.dt.XCTest           	0x000000010eb35d67 -[XCTestCase(XCTIssueHandling) _caughtUnhandledDeveloperExceptionPermittingControlFlowInterruptions:caughtInterruptionException:whileExecutingBlock:] + 183
13  com.apple.dt.XCTest           	0x000000010eada013 -[XCTestCase invokeTest] + 1069
14  com.apple.dt.XCTest           	0x000000010eadb8d3 __26-[XCTestCase performTest:]_block_invoke_2 + 43
15  com.apple.dt.XCTest           	0x000000010eb35d67 -[XCTestCase(XCTIssueHandling) _caughtUnhandledDeveloperExceptionPermittingControlFlowInterruptions:caughtInterruptionException:whileExecutingBlock:] + 183
16  com.apple.dt.XCTest           	0x000000010eadb80a __26-[XCTestCase performTest:]_block_invoke.365 + 86
17  com.apple.dt.XCTest           	0x000000010eb49d57 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
18  com.apple.dt.XCTest           	0x000000010eadb087 -[XCTestCase performTest:] + 695
19  com.apple.dt.XCTest           	0x000000010eb20b83 -[XCTest runTest] + 57
20  com.apple.dt.XCTest           	0x000000010ead47b9 __27-[XCTestSuite performTest:]_block_invoke + 354
21  com.apple.dt.XCTest           	0x000000010ead3f8e __59-[XCTestSuite _performProtectedSectionForTest:testSection:]_block_invoke + 24
22  com.apple.dt.XCTest           	0x000000010eb49d57 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
23  com.apple.dt.XCTest           	0x000000010eb49c68 +[XCTContext runInContextForTestCase:block:] + 52
24  com.apple.dt.XCTest           	0x000000010ead3f45 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 148
25  com.apple.dt.XCTest           	0x000000010ead4277 -[XCTestSuite performTest:] + 281
26  com.apple.dt.XCTest           	0x000000010eb20b83 -[XCTest runTest] + 57
27  com.apple.dt.XCTest           	0x000000010ead47b9 __27-[XCTestSuite performTest:]_block_invoke + 354
28  com.apple.dt.XCTest           	0x000000010ead3f8e __59-[XCTestSuite _performProtectedSectionForTest:testSection:]_block_invoke + 24
29  com.apple.dt.XCTest           	0x000000010eb49d57 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
30  com.apple.dt.XCTest           	0x000000010eb49c68 +[XCTContext runInContextForTestCase:block:] + 52
31  com.apple.dt.XCTest           	0x000000010ead3f45 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 148
32  com.apple.dt.XCTest           	0x000000010ead4277 -[XCTestSuite performTest:] + 281
33  com.apple.dt.XCTest           	0x000000010eb20b83 -[XCTest runTest] + 57
34  com.apple.dt.XCTest           	0x000000010ead47b9 __27-[XCTestSuite performTest:]_block_invoke + 354
35  com.apple.dt.XCTest           	0x000000010ead3f8e __59-[XCTestSuite _performProtectedSectionForTest:testSection:]_block_invoke + 24
36  com.apple.dt.XCTest           	0x000000010eb49d57 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
37  com.apple.dt.XCTest           	0x000000010eb49c68 +[XCTContext runInContextForTestCase:block:] + 52
38  com.apple.dt.XCTest           	0x000000010ead3f45 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 148
39  com.apple.dt.XCTest           	0x000000010ead4277 -[XCTestSuite performTest:] + 281
40  com.apple.dt.XCTest           	0x000000010eb20b83 -[XCTest runTest] + 57
41  com.apple.dt.XCTest           	0x000000010eb5a696 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke_2 + 148
42  com.apple.dt.XCTest           	0x000000010eb49d57 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
43  com.apple.dt.XCTest           	0x000000010eb49c68 +[XCTContext runInContextForTestCase:block:] + 52
44  com.apple.dt.XCTest           	0x000000010eb5a5fb __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 111
45  com.apple.dt.XCTest           	0x000000010eb5a77c __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.99 + 96
46  com.apple.dt.XCTest           	0x000000010eaef253 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 325
47  com.apple.dt.XCTest           	0x000000010eb5a3c2 -[XCTTestRunSession runTestsAndReturnError:] + 615
48  com.apple.dt.XCTest           	0x000000010eab89ae -[XCTestDriver _runTests] + 470
49  com.apple.dt.XCTest           	0x000000010eb45c28 _XCTestMain + 108
50  xctest                        	0x000000010e80fec5 main + 189
51  libdyld.dylib                 	0x00007fff2025a3e9 start + 1

Thread 1:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib        	0x00007fff6112adea mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff6112b160 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff2038f9bc __CFRunLoopServiceMachPort + 316
3   com.apple.CoreFoundation      	0x00007fff2038a0c5 __CFRunLoopRun + 1284
4   com.apple.CoreFoundation      	0x00007fff203896d6 CFRunLoopRunSpecific + 567
5   com.apple.CFNetwork           	0x00007fff2373e5be 0x7fff23513000 + 2274750
6   com.apple.Foundation          	0x00007fff20858e68 __NSThread__start__ + 1042
7   libsystem_pthread.dylib       	0x00007fff61167109 _pthread_start + 148
8   libsystem_pthread.dylib       	0x00007fff61162b8b thread_start + 15

Thread 2:: io.ably.socketrocket.NetworkThread
0   libsystem_kernel.dylib        	0x00007fff6112adea mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff6112b160 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff2038f9bc __CFRunLoopServiceMachPort + 316
3   com.apple.CoreFoundation      	0x00007fff2038a0c5 __CFRunLoopRun + 1284
4   com.apple.CoreFoundation      	0x00007fff203896d6 CFRunLoopRunSpecific + 567
5   com.apple.Foundation          	0x00007fff208307b9 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 209
6   io.ably.Ably                  	0x0000000112312329 -[ARTSRRunLoopThread main] + 313 (ARTSRRunLoopThread.m:70)
7   com.apple.Foundation          	0x00007fff20858e68 __NSThread__start__ + 1042
8   libsystem_pthread.dylib       	0x00007fff61167109 _pthread_start + 148
9   libsystem_pthread.dylib       	0x00007fff61162b8b thread_start + 15

Thread 3:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	0x00007fff611330ee __select + 10
1   com.apple.CoreFoundation      	0x00007fff203a46e4 __CFSocketManager + 644
2   libsystem_pthread.dylib       	0x00007fff61167109 _pthread_start + 148
3   libsystem_pthread.dylib       	0x00007fff61162b8b thread_start + 15

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

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

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

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

Thread 8:
0   libsystem_pthread.dylib       	0x00007fff61162b68 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x000000000037e520  rdx: 0x0000000000000303
  rdi: 0x000000010ed14e00  rsi: 0x0000000000000303  rbp: 0x00007ffee13eefd0  rsp: 0x00007ffee13eefc0
   r8: 0x0000000000002eea   r9: 0x0000000000000007  r10: 0x00007fefb1200000  r11: 0x0000000000000000
  r12: 0x0000000000000001  r13: 0x000000000000000b  r14: 0x00000001128acae4  r15: 0x00000001128ace20
  rip: 0x0000000112524f34  rfl: 0x0000000000010206  cr2: 0x00007fb1b7174000
  
Logical CPU:     1
Error Code:      0x00000000
Trap Number:     6


Binary Images:
       0x10e80d000 -        0x10e810ffb +xctest (17501) <9996D75D-4B3E-37BB-981A-6D23BEB583B0> /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/xctest
       0x10e81d000 -        0x10e87550f +dyld_sim (828.5) <F69E1BD4-331D-3EFD-97B5-ECE3294C7FE7> /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
       0x10e8c7000 -        0x10e8f2ff7 +libMainThreadChecker.dylib (64541.4.1) <92344424-1C4D-31A8-88CE-FE6F44C8DA0B> /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib
       0x10e9fd000 -        0x10ea40fff  com.apple.dt.XCTAutomationSupport (1.0 - 17501) <247BADC8-F70D-3702-8E71-AD86724A4309> /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework/XCTAutomationSupport
       0x10eab1000 -        0x10ebb8fff  com.apple.dt.XCTest (1.0 - 17501) <CF64FF39-C59E-3E8C-96EF-30BD7620E3F3> /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/XCTest
       0x10ec89000 -        0x10ecb2fff  com.apple.dt.instruments.DTXConnectionServices (12.2 - 64542.4.1) <4AB7250D-810B-32D0-A0E5-5E499AA84525> /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTXConnectionServices.framework/DTXConnectionServices
       0x10eda2000 -        0x10edc1fff +com.swiftyjson.SwiftyJSON (1.0 - 1) <98C00238-87D6-3088-A363-11074B1CDE1E> /Users/USER/*/SwiftyJSON.framework/SwiftyJSON
       0x110fde000 -        0x1116fdff7 +io.ably.Ably-iOS-Tes