Details of failure b7664a86-c043-46a2-b38f-c04992860122

Upload ID
714f2f3c-b893-4e7c-8041-129ad4769609
Test case ID
4f837671-6233-41f1-94e8-01174d1da7b8
Message
Crash: xctest (13475): Namespace SIGNAL, Code 0x4 (#CharacterRangeLen=0)

Crash reports

14768abb-77e0-479a-83f4-d809b8425952 (Download)

Original filename
xctest_2022-05-07-201755_CC9C500C-FEF0-4052-B252-A5509FD41E36.crash
Process:               xctest [13475]
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 [12789]
Responsible:           SimulatorTrampoline [3650]
User ID:               501

Date/Time:             2022-05-07 20:17:55.491 +0000
OS Version:            Mac OS X 10.15.7 (19H1824)
Report Version:        12
Anonymous UUID:        28C488D7-2871-0137-7EA3-2D329D89124C


Time Awake Since Boot: 22000 seconds

System Integrity Protection: enabled

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

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 [13475]

Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: lock not owned by current thread
CoreSimulator 732.18.6 - Device: iPhone 12 (EBADA239-8E89-45A9-BA56-2390CD066751) - Runtime: iOS 14.4 (18D46) - DeviceType: iPhone 12

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff6112de26 writev + 10
1   libsystem_trace.dylib         	0x00007fff2004673f _os_trace_writev + 84
2   libsystem_trace.dylib         	0x00007fff20044745 _os_log_impl_mirror_to_stderr + 531
3   libsystem_trace.dylib         	0x00007fff20043e45 _os_log_impl_flatten_and_send + 7895
4   libsystem_trace.dylib         	0x00007fff200454b6 _os_log_with_args_impl + 460
5   com.apple.CoreFoundation      	0x00007fff203feb89 _CFLogvEx3 + 190
6   com.apple.Foundation          	0x00007fff20805cf9 _NSLogv + 102
7   com.apple.Foundation          	0x00007fff20805d91 NSLog + 132
8   io.ably.Ably                  	0x000000010cdf8bef +[NSObject(ARTArchive) art_unarchiveFromData:] + 383 (ARTTypes.m:407)
9   io.ably.Ably                  	0x000000010ce175e2 -[ARTPushActivationStateMachine initWithRest:delegate:] + 418 (ARTPushActivationStateMachine.m:40)
10  io.ably.Ably                  	0x000000010ce289ab -[ARTPushInternal createActivationStateMachineWithDelegate:] + 171
11  io.ably.Ably-iOS-Tests        	0x000000010bb7f727 PushTests.setUp() + 2743 (PushTests.swift:37)
12  io.ably.Ably-iOS-Tests        	0x000000010bb7f7cb @objc PushTests.setUp() + 43
13  com.apple.dt.XCTest           	0x000000010b471c40 __70-[XCTestCase _shouldContinueAfterPerformingSetUpSequenceWithSelector:]_block_invoke_2 + 515
14  com.apple.dt.XCTest           	0x000000010b4cbd67 -[XCTestCase(XCTIssueHandling) _caughtUnhandledDeveloperExceptionPermittingControlFlowInterruptions:caughtInterruptionException:whileExecutingBlock:] + 183
15  com.apple.dt.XCTest           	0x000000010b471a12 __70-[XCTestCase _shouldContinueAfterPerformingSetUpSequenceWithSelector:]_block_invoke + 130
16  com.apple.dt.XCTest           	0x000000010b4df6ba -[XCTContext _runActivityNamed:type:block:] + 304
17  com.apple.dt.XCTest           	0x000000010b47a887 -[XCTestCase startActivityWithTitle:type:block:] + 186
18  com.apple.dt.XCTest           	0x000000010b47a9b9 -[XCTestCase startActivityWithTitle:block:] + 60
19  com.apple.dt.XCTest           	0x000000010b4703d0 -[XCTestCase _shouldContinueAfterPerformingSetUpSequenceWithSelector:] + 159
20  com.apple.dt.XCTest           	0x000000010b46fe92 -[XCTestCase invokeTest] + 684
21  com.apple.dt.XCTest           	0x000000010b4718d3 __26-[XCTestCase performTest:]_block_invoke_2 + 43
22  com.apple.dt.XCTest           	0x000000010b4cbd67 -[XCTestCase(XCTIssueHandling) _caughtUnhandledDeveloperExceptionPermittingControlFlowInterruptions:caughtInterruptionException:whileExecutingBlock:] + 183
23  com.apple.dt.XCTest           	0x000000010b47180a __26-[XCTestCase performTest:]_block_invoke.365 + 86
24  com.apple.dt.XCTest           	0x000000010b4dfd57 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
25  com.apple.dt.XCTest           	0x000000010b471087 -[XCTestCase performTest:] + 695
26  com.apple.dt.XCTest           	0x000000010b4b6b83 -[XCTest runTest] + 57
27  com.apple.dt.XCTest           	0x000000010b46a7b9 __27-[XCTestSuite performTest:]_block_invoke + 354
28  com.apple.dt.XCTest           	0x000000010b469f8e __59-[XCTestSuite _performProtectedSectionForTest:testSection:]_block_invoke + 24
29  com.apple.dt.XCTest           	0x000000010b4dfd57 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
30  com.apple.dt.XCTest           	0x000000010b4dfc68 +[XCTContext runInContextForTestCase:block:] + 52
31  com.apple.dt.XCTest           	0x000000010b469f45 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 148
32  com.apple.dt.XCTest           	0x000000010b46a277 -[XCTestSuite performTest:] + 281
33  com.apple.dt.XCTest           	0x000000010b4b6b83 -[XCTest runTest] + 57
34  com.apple.dt.XCTest           	0x000000010b46a7b9 __27-[XCTestSuite performTest:]_block_invoke + 354
35  com.apple.dt.XCTest           	0x000000010b469f8e __59-[XCTestSuite _performProtectedSectionForTest:testSection:]_block_invoke + 24
36  com.apple.dt.XCTest           	0x000000010b4dfd57 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
37  com.apple.dt.XCTest           	0x000000010b4dfc68 +[XCTContext runInContextForTestCase:block:] + 52
38  com.apple.dt.XCTest           	0x000000010b469f45 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 148
39  com.apple.dt.XCTest           	0x000000010b46a277 -[XCTestSuite performTest:] + 281
40  com.apple.dt.XCTest           	0x000000010b4b6b83 -[XCTest runTest] + 57
41  com.apple.dt.XCTest           	0x000000010b46a7b9 __27-[XCTestSuite performTest:]_block_invoke + 354
42  com.apple.dt.XCTest           	0x000000010b469f8e __59-[XCTestSuite _performProtectedSectionForTest:testSection:]_block_invoke + 24
43  com.apple.dt.XCTest           	0x000000010b4dfd57 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
44  com.apple.dt.XCTest           	0x000000010b4dfc68 +[XCTContext runInContextForTestCase:block:] + 52
45  com.apple.dt.XCTest           	0x000000010b469f45 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 148
46  com.apple.dt.XCTest           	0x000000010b46a277 -[XCTestSuite performTest:] + 281
47  com.apple.dt.XCTest           	0x000000010b4b6b83 -[XCTest runTest] + 57
48  com.apple.dt.XCTest           	0x000000010b4f0696 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke_2 + 148
49  com.apple.dt.XCTest           	0x000000010b4dfd57 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
50  com.apple.dt.XCTest           	0x000000010b4dfc68 +[XCTContext runInContextForTestCase:block:] + 52
51  com.apple.dt.XCTest           	0x000000010b4f05fb __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 111
52  com.apple.dt.XCTest           	0x000000010b4f077c __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.99 + 96
53  com.apple.dt.XCTest           	0x000000010b485253 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 325
54  com.apple.dt.XCTest           	0x000000010b4f03c2 -[XCTTestRunSession runTestsAndReturnError:] + 615
55  com.apple.dt.XCTest           	0x000000010b44e9ae -[XCTestDriver _runTests] + 470
56  com.apple.dt.XCTest           	0x000000010b4dbc28 _XCTestMain + 108
57  xctest                        	0x000000010b1a5ec5 main + 189
58  libdyld.dylib                 	0x00007fff2025a3e9 start + 1

Thread 1:
0   libsystem_platform.dylib      	0x00007fff61162b68 start_wqthread + 0

Thread 2:: 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_platform.dylib      	0x00007fff61167109 _pthread_start + 148
8   libsystem_platform.dylib      	0x00007fff61162b8b thread_start + 15

Thread 3:: 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                  	0x000000010cdc7329 -[ARTSRRunLoopThread main] + 313 (ARTSRRunLoopThread.m:70)
7   com.apple.Foundation          	0x00007fff20858e68 __NSThread__start__ + 1042
8   libsystem_platform.dylib      	0x00007fff61167109 _pthread_start + 148
9   libsystem_platform.dylib      	0x00007fff61162b8b thread_start + 15

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

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

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

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

Thread 8 Crashed:: Dispatch queue: io.ably.main
0   libdispatch.dylib             	0x00007fff2013424a _dispatch_gate_broadcast_slow.cold.1 + 23
1   libdispatch.dylib             	0x00007fff20106cd1 _dispatch_gate_broadcast_slow + 56
2   io.ably.Ably                  	0x000000010cdd1ebe -[ARTRestInternal device_nosync] + 174 (ARTRest.m:742)
3   io.ably.Ably                  	0x000000010ce28da5 +[ARTPushInternal didRegisterForRemoteNotificationsWithDeviceToken:restInternal:] + 661 (ARTPush.m:188)
4   io.ably.Ably                  	0x000000010ce292a9 __73+[ARTPushInternal didRegisterForRemoteNotificationsWithDeviceToken:rest:]_block_invoke + 105 (ARTPush.m:203)
5   io.ably.Ably                  	0x000000010cdc8f08 __25-[ARTRest internalAsync:]_block_invoke + 40 (ARTRest.m:49)
6   libdispatch.dylib             	0x00007fff2010532f _dispatch_call_block_and_release + 12
7   libdispatch.dylib             	0x00007fff20106508 _dispatch_client_callout + 8
8   libdispatch.dylib             	0x00007fff2010c3f9 _dispatch_lane_serial_drain + 715
9   libdispatch.dylib             	0x00007fff2010cf74 _dispatch_lane_invoke + 403
10  libdispatch.dylib             	0x00007fff20117577 _dispatch_workloop_worker_thread + 782
11  libsystem_platform.dylib      	0x00007fff61163a3d _pthread_wqthread + 290
12  libsystem_platform.dylib      	0x00007fff61162b77 start_wqthread + 15

Thread 9:
0   libsystem_platform.dylib      	0x00007fff61162b68 start_wqthread + 0

Thread 8 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000010ce9ab60  rcx: 0x00007fff2013a41c  rdx: 0x0000000000002923
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x000070000bcd9700  rsp: 0x000070000bcd96e8
   r8: 0x00007f8c8b9b21b0   r9: 0x00000000000000ff  r10: 0x0000000000000002  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000030002  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x00007fff2013424a  rfl: 0x0000000000010212  cr2: 0x00007fff20134233
  
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     6


Binary Images:
       0x10b1a3000 -        0x10b1a6ffb +xctest (17501) <9996D75D-4B3E-37BB-981A-6D23BEB583B0> /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/xctest
       0x10b1b3000 -        0x10b20b50f +dyld_sim (828.5) <F69E1BD4-331D-3EFD-97B5-ECE3294C7FE7> /