Skip to content

Instantly share code, notes, and snippets.

@chrisballinger
Created August 25, 2015 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisballinger/4c08c6eb34112a6a9ad2 to your computer and use it in GitHub Desktop.
Save chrisballinger/4c08c6eb34112a6a9ad2 to your computer and use it in GitHub Desktop.
-[GCDAsyncSocketConnectionTests testTransferFromClient]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2015-08-25 20:16:59.366 xctest[817:4024] [Server] Closed connection: (null)
2015-08-25 20:16:59.368 xctest[817:4024] [Server] Closed connection: (null)
2015-08-25 20:16:59.371 xctest[817:4024] [Server] Closed connection: (null)
2015-08-25 20:16:59.392 xctest[817:4024] [Server] Closed connection: Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo=0x7a06fea0 {NSLocalizedFailureReason=Error in connect() function, NSLocalizedDescription=Connection refused}
2015-08-25 20:17:29.367 xctest[817:4024] *** Assertion failure in -[_XCTestCaseImplementation addExpectation:], /SourceCache/XCTest_Sim/XCTest-7701/XCTestFramework/Classes/XCTestCase.m:1257
2015-08-25 20:17:29.416 xctest[817:4024] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'API violation - creating expectations while already in waiting mode.'
*** First throw call stack:
(
0 CoreFoundation 0x00e29746 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x00970a97 objc_exception_throw + 44
2 CoreFoundation 0x00e295da +[NSException raise:format:arguments:] + 138
3 Foundation 0x0016f720 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 118
4 XCTest 0x2010c27b -[_XCTestCaseImplementation addExpectation:] + 157
5 XCTest 0x2011a1f4 -[XCTestExpectation _initForTestCase:withDescription:] + 435
6 XCTest 0x20119fd3 +[XCTestExpectation expectationForTestCase:withDescription:] + 86
7 XCTest 0x20118bad -[XCTestCase(AsynchronousTesting) expectationWithDescription:] + 119
8 CocoaAsyncSocketTestsiOS 0x03677268 __55-[GCDAsyncSocketConnectionTests testTransferFromClient]_block_invoke + 200
9 XCTest 0x20118d5d -[XCTestCase(AsynchronousTesting) _completeWithResult:] + 424
10 XCTest 0x201193e3 __110-[XCTestCase(AsynchronousTesting) _configureTimeoutForInterval:forWaitAtAddress:testClassName:testMethodName:]_block_invoke_2 + 168
11 libdispatch.dylib 0x019cbd8a _dispatch_call_block_and_release + 15
12 libdispatch.dylib 0x019e8ecf _dispatch_client_callout + 14
13 libdispatch.dylib 0x019d1ee3 _dispatch_main_queue_callback_4CF + 677
14 CoreFoundation 0x00d828ee __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14
15 CoreFoundation 0x00d405f0 __CFRunLoopRun + 2256
16 CoreFoundation 0x00d3fa5b CFRunLoopRunSpecific + 443
17 CoreFoundation 0x00d3f88b CFRunLoopRunInMode + 123
18 Foundation 0x001042d8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 309
19 XCTest 0x20119a6f -[XCTestCase(AsynchronousTesting) waitForExpectationsWithTimeout:handler:] + 1190
20 CocoaAsyncSocketTestsiOS 0x03677144 -[GCDAsyncSocketConnectionTests testTransferFromClient] + 532
21 CoreFoundation 0x00d0a84d __invoking___ + 29
22 CoreFoundation 0x00d0a6f8 -[NSInvocation invoke] + 360
23 XCTest 0x201089b5 -[XCTestCase invokeTest] + 320
24 XCTest 0x20108be7 -[XCTestCase performTest:] + 175
25 otest-shim-ios.dylib 0x0008e8b7 XCPerformTestWithSuppressedExpectedAssertionFailures + 638
26 otest-shim-ios.dylib 0x0008e633 XCTestCase_performTest + 31
27 XCTest 0x20114182 -[XCTest run] + 314
28 XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
29 XCTest 0x20114182 -[XCTest run] + 314
30 XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
31 XCTest 0x20114182 -[XCTest run] + 314
32 XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
33 XCTest 0x20114182 -[XCTest run] + 314
34 XCTest 0x20117959 __24+[XCTestProbe runTests:]_block_invoke189 + 56
35 XCTest 0x20110ca2 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 184
36 XCTest 0x20117827 +[XCTestProbe runTests:] + 371
37 libobjc.A.dylib 0x0098667e +[NSObject performSelector:withObject:] + 70
38 xctest 0x0002a237 xctest + 4663
39 xctest 0x0002a4ac xctest + 5292
40 xctest 0x0002a58f xctest + 5519
41 xctest 0x00029e3d xctest + 3645
42 libdyld.dylib 0x01a0fac9 start + 1
43 ??? 0x0000000a 0x0 + 10
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Test crashed while running.
CRASH REPORT: xctest_2015-08-25-201735_Traviss-Mac-11.crash
Process: xctest [817]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/usr/bin/xctest
Identifier: xctest
Version: 6094
Code Type: X86 (Native)
Parent Process: simctl [816]
Responsible: ruby [273]
User ID: 501
Date/Time: 2015-08-25 20:17:29.601 +0000
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Anonymous UUID: 034D1F6F-A8EA-1118-4F93-F73907658178
Time Awake Since Boot: 170 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'API violation - creating expectations while already in waiting mode.'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 117.15 - Device: iPhone 4s - Runtime: iOS 8.4 (12H141) - DeviceType: iPhone 4s
Application Specific Backtrace 1:
0 CoreFoundation 0x00e29746 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x00970a97 objc_exception_throw + 44
2 CoreFoundation 0x00e295da +[NSException raise:format:arguments:] + 138
3 Foundation 0x0016f720 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 118
4 XCTest 0x2010c27b -[_XCTestCaseImplementation addExpectation:] + 157
5 XCTest 0x2011a1f4 -[XCTestExpectation _initForTestCase:withDescription:] + 435
6 XCTest 0x20119fd3 +[XCTestExpectation expectationForTestCase:withDescription:] + 86
7 XCTest 0x20118bad -[XCTestCase(AsynchronousTesting) expectationWithDescription:] + 119
8 CocoaAsyncSocketTestsiOS 0x03677268 __55-[GCDAsyncSocketConnectionTests testTransferFromClient]_block_invoke + 200
9 XCTest 0x20118d5d -[XCTestCase(AsynchronousTesting) _completeWithResult:] + 424
10 XCTest 0x201193e3 __110-[XCTestCase(AsynchronousTesting) _configureTimeoutForInterval:forWaitAtAddress:testClassName:testMethodName:]_block_invoke_2 + 168
11 libdispatch.dylib 0x019cbd8a _dispatch_call_block_and_release + 15
12 libdispatch.dylib 0x019e8ecf _dispatch_client_callout + 14
13 libdispatch.dylib 0x019d1ee3 _dispatch_main_queue_callback_4CF + 677
14 CoreFoundation 0x00d828ee __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14
15 CoreFoundation 0x00d405f0 __CFRunLoopRun + 2256
16 CoreFoundation 0x00d3fa5b CFRunLoopRunSpecific + 443
17 CoreFoundation 0x00d3f88b CFRunLoopRunInMode + 123
18 Foundation 0x001042d8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 309
19 XCTest 0x20119a6f -[XCTestCase(AsynchronousTesting) waitForExpectationsWithTimeout:handler:] + 1190
20 CocoaAsyncSocketTestsiOS 0x03677144 -[GCDAsyncSocketConnectionTests testTransferFromClient] + 532
21 CoreFoundation 0x00d0a84d __invoking___ + 29
22 CoreFoundation 0x00d0a6f8 -[NSInvocation invoke] + 360
23 XCTest 0x201089b5 -[XCTestCase invokeTest] + 320
24 XCTest 0x20108be7 -[XCTestCase performTest:] + 175
25 otest-shim-ios.dylib 0x0008e8b7 XCPerformTestWithSuppressedExpectedAssertionFailures + 638
26 otest-shim-ios.dylib 0x0008e633 XCTestCase_performTest + 31
27 XCTest 0x20114182 -[XCTest run] + 314
28 XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
29 XCTest 0x20114182 -[XCTest run] + 314
30 XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
31 XCTest 0x20114182 -[XCTest run] + 314
32 XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
33 XCTest 0x20114182 -[XCTest run] + 314
34 XCTest 0x20117959 __24+[XCTestProbe runTests:]_block_invoke189 + 56
35 XCTest 0x20110ca2 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 184
36 XCTest 0x20117827 +[XCTestProbe runTests:] + 371
37 libobjc.A.dylib 0x0098667e +[NSObject performSelector:withObject:] + 70
38 xctest 0x0002a237 xctest + 4663
39 xctest 0x0002a4ac xctest + 5292
40 xctest 0x0002a58f xctest + 5519
41 xctest 0x00029e3d xctest + 3645
42 libdyld.dylib 0x01a0fac9 start + 1
43 ??? 0x0000000a 0x0 + 10
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x01d1269a __pthread_kill + 10
1 libsystem_pthread.dylib 0x01d40f19 pthread_kill + 101
2 libsystem_sim_c.dylib 0x01ab9a5a abort + 156
3 libc++abi.dylib 0x018c8527 abort_message + 151
4 libc++abi.dylib 0x018eb64d default_terminate_handler() + 300
5 libobjc.A.dylib 0x00970d45 _objc_terminate() + 108
6 libc++abi.dylib 0x018e8cf0 std::__terminate(void (*)()) + 14
7 libc++abi.dylib 0x018e8d72 std::terminate() + 66
8 libobjc.A.dylib 0x00970caf objc_terminate + 11
9 libdispatch.dylib 0x019e8ee2 _dispatch_client_callout + 33
10 libdispatch.dylib 0x019d1ee3 _dispatch_main_queue_callback_4CF + 677
11 com.apple.CoreFoundation 0x00d828ee __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14
12 com.apple.CoreFoundation 0x00d405f0 __CFRunLoopRun + 2256
13 com.apple.CoreFoundation 0x00d3fa5b CFRunLoopRunSpecific + 443
14 com.apple.CoreFoundation 0x00d3f88b CFRunLoopRunInMode + 123
15 com.apple.Foundation 0x001042d8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 309
16 com.apple.dt.XCTest 0x20119a6f -[XCTestCase(AsynchronousTesting) waitForExpectationsWithTimeout:handler:] + 1190
17 com.chrisballinger.CocoaAsyncSocketTestsiOS 0x03677144 -[GCDAsyncSocketConnectionTests testTransferFromClient] + 532 (GCDAsyncSocketConnectionTests.m:70)
18 com.apple.CoreFoundation 0x00d0a84d __invoking___ + 29
19 com.apple.CoreFoundation 0x00d0a6f8 -[NSInvocation invoke] + 360
20 com.apple.dt.XCTest 0x201089b5 -[XCTestCase invokeTest] + 320
21 com.apple.dt.XCTest 0x20108be7 -[XCTestCase performTest:] + 175
22 otest-shim-ios.dylib 0x0008e8b7 XCPerformTestWithSuppressedExpectedAssertionFailures + 638
23 otest-shim-ios.dylib 0x0008e633 XCTestCase_performTest + 31
24 com.apple.dt.XCTest 0x20114182 -[XCTest run] + 314
25 com.apple.dt.XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
26 com.apple.dt.XCTest 0x20114182 -[XCTest run] + 314
27 com.apple.dt.XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
28 com.apple.dt.XCTest 0x20114182 -[XCTest run] + 314
29 com.apple.dt.XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
30 com.apple.dt.XCTest 0x20114182 -[XCTest run] + 314
31 com.apple.dt.XCTest 0x20117959 __24+[XCTestProbe runTests:]_block_invoke189 + 56
32 com.apple.dt.XCTest 0x20110ca2 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 184
33 com.apple.dt.XCTest 0x20117827 +[XCTestProbe runTests:] + 371
34 libobjc.A.dylib 0x0098667e +[NSObject performSelector:withObject:] + 70
35 xctest 0x0002a237 0x29000 + 4663
36 xctest 0x0002a4ac 0x29000 + 5292
37 xctest 0x0002a58f 0x29000 + 5519
38 xctest 0x00029e3d 0x29000 + 3645
39 libdyld.dylib 0x01a0fac9 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x01d138ce kevent64 + 10
1 libdispatch.dylib 0x019d7e1e _dispatch_mgr_invoke + 245
2 libdispatch.dylib 0x019d7b76 _dispatch_mgr_thread + 60
Thread 2:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x01d0c9ce mach_msg_trap + 10
1 libsystem_kernel.dylib 0x01d0ba70 mach_msg + 68
2 com.apple.CoreFoundation 0x00d40eb6 __CFRunLoopServiceMachPort + 214
3 com.apple.CoreFoundation 0x00d40298 __CFRunLoopRun + 1400
4 com.apple.CoreFoundation 0x00d3fa5b CFRunLoopRunSpecific + 443
5 com.apple.CoreFoundation 0x00d3f88b CFRunLoopRunInMode + 123
6 com.apple.CFNetwork 0x01276034 +[NSURLConnection(Loader) _resourceLoadLoop:] + 469
7 com.apple.Foundation 0x00102447 -[NSThread main] + 76
8 com.apple.Foundation 0x001023a0 __NSThread__main__ + 1326
9 libsystem_pthread.dylib 0x01d3ee13 _pthread_body + 138
10 libsystem_pthread.dylib 0x01d3ed89 _pthread_start + 162
11 libsystem_pthread.dylib 0x01d3ce52 thread_start + 34
Thread 3:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x01d1284e __select + 10
1 com.apple.CoreFoundation 0x00d8a34a __CFSocketManager + 906
2 libsystem_pthread.dylib 0x01d3ee13 _pthread_body + 138
3 libsystem_pthread.dylib 0x01d3ed89 _pthread_start + 162
4 libsystem_pthread.dylib 0x01d3ce52 thread_start + 34
Thread 4:
0 libsystem_kernel.dylib 0x01d12e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x01d3f2b1 _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x01d3ce2e start_wqthread + 30
Thread 5:
0 libsystem_kernel.dylib 0x01d12e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x01d3f2b1 _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x01d3ce2e start_wqthread + 30
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x01af46fc ecx: 0xbffd487c edx: 0x00000000
edi: 0x01d451d4 esi: 0x00000006 ebp: 0xbffd4898 esp: 0xbffd487c
ss: 0x00000023 efl: 0x00000286 eip: 0x01d1269a cs: 0x0000000b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x01ab99be
Logical CPU: 0
Error Code: 0x00080148
Trap Number: 132
━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
☂ -[GCDAsyncSocketConnectionTests testTransferFromClient] (36255 ms) (0)
-[GCDAsyncSocketConnectionTests testTransferFromServer]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2015-08-25 20:17:36.317 xctest[844:4487] didAcceptNewSocket <GCDAsyncSocket: 0x7a0a2930> <GCDAsyncSocket: 0x7a0a4b10>
2015-08-25 20:17:36.319 xctest[844:4487] didConnectToHost <GCDAsyncSocket: 0x7a0a2790> 127.0.0.1 30301
2015-08-25 20:17:36.323 xctest[844:4487] didReadData: <54686973 54657374 526f636b 73212121> withTag: 0
━━━━┳━━━━━━━���━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ -[GCDAsyncSocketConnectionTests testTransferFromServer] (61 ms)
2 passed, 0 failed, 1 errored, 3 total (37071 ms)
Failures:
0) -[GCDAsyncSocketConnectionTests testTransferFromClient] (CocoaAsyncSocketTestsiOS.xctest)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2015-08-25 20:16:59.366 xctest[817:4024] [Server] Closed connection: (null)
2015-08-25 20:16:59.368 xctest[817:4024] [Server] Closed connection: (null)
2015-08-25 20:16:59.371 xctest[817:4024] [Server] Closed connection: (null)
2015-08-25 20:16:59.392 xctest[817:4024] [Server] Closed connection: Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo=0x7a06fea0 {NSLocalizedFailureReason=Error in connect() function, NSLocalizedDescription=Connection refused}
2015-08-25 20:17:29.367 xctest[817:4024] *** Assertion failure in -[_XCTestCaseImplementation addExpectation:], /SourceCache/XCTest_Sim/XCTest-7701/XCTestFramework/Classes/XCTestCase.m:1257
2015-08-25 20:17:29.416 xctest[817:4024] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'API violation - creating expectations while already in waiting mode.'
*** First throw call stack:
(
0 CoreFoundation 0x00e29746 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x00970a97 objc_exception_throw + 44
2 CoreFoundation 0x00e295da +[NSException raise:format:arguments:] + 138
3 Foundation 0x0016f720 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 118
4 XCTest 0x2010c27b -[_XCTestCaseImplementation addExpectation:] + 157
5 XCTest 0x2011a1f4 -[XCTestExpectation _initForTestCase:withDescription:] + 435
6 XCTest 0x20119fd3 +[XCTestExpectation expectationForTestCase:withDescription:] + 86
7 XCTest 0x20118bad -[XCTestCase(AsynchronousTesting) expectationWithDescription:] + 119
8 CocoaAsyncSocketTestsiOS 0x03677268 __55-[GCDAsyncSocketConnectionTests testTransferFromClient]_block_invoke + 200
9 XCTest 0x20118d5d -[XCTestCase(AsynchronousTesting) _completeWithResult:] + 424
10 XCTest 0x201193e3 __110-[XCTestCase(AsynchronousTesting) _configureTimeoutForInterval:forWaitAtAddress:testClassName:testMethodName:]_block_invoke_2 + 168
11 libdispatch.dylib 0x019cbd8a _dispatch_call_block_and_release + 15
12 libdispatch.dylib 0x019e8ecf _dispatch_client_callout + 14
13 libdispatch.dylib 0x019d1ee3 _dispatch_main_queue_callback_4CF + 677
14 CoreFoundation 0x00d828ee __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14
15 CoreFoundation 0x00d405f0 __CFRunLoopRun + 2256
16 CoreFoundation 0x00d3fa5b CFRunLoopRunSpecific + 443
17 CoreFoundation 0x00d3f88b CFRunLoopRunInMode + 123
18 Foundation 0x001042d8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 309
19 XCTest 0x20119a6f -[XCTestCase(AsynchronousTesting) waitForExpectationsWithTimeout:handler:] + 1190
20 CocoaAsyncSocketTestsiOS 0x03677144 -[GCDAsyncSocketConnectionTests testTransferFromClient] + 532
21 CoreFoundation 0x00d0a84d __invoking___ + 29
22 CoreFoundation 0x00d0a6f8 -[NSInvocation invoke] + 360
23 XCTest 0x201089b5 -[XCTestCase invokeTest] + 320
24 XCTest 0x20108be7 -[XCTestCase performTest:] + 175
25 otest-shim-ios.dylib 0x0008e8b7 XCPerformTestWithSuppressedExpectedAssertionFailures + 638
26 otest-shim-ios.dylib 0x0008e633 XCTestCase_performTest + 31
27 XCTest 0x20114182 -[XCTest run] + 314
28 XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
29 XCTest 0x20114182 -[XCTest run] + 314
30 XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
31 XCTest 0x20114182 -[XCTest run] + 314
32 XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
33 XCTest 0x20114182 -[XCTest run] + 314
34 XCTest 0x20117959 __24+[XCTestProbe runTests:]_block_invoke189 + 56
35 XCTest 0x20110ca2 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 184
36 XCTest 0x20117827 +[XCTestProbe runTests:] + 371
37 libobjc.A.dylib 0x0098667e +[NSObject performSelector:withObject:] + 70
38 xctest 0x0002a237 xctest + 4663
39 xctest 0x0002a4ac xctest + 5292
40 xctest 0x0002a58f xctest + 5519
41 xctest 0x00029e3d xctest + 3645
42 libdyld.dylib 0x01a0fac9 start + 1
43 ??? 0x0000000a 0x0 + 10
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Test crashed while running.
CRASH REPORT: xctest_2015-08-25-201735_Traviss-Mac-11.crash
Process: xctest [817]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/usr/bin/xctest
Identifier: xctest
Version: 6094
Code Type: X86 (Native)
Parent Process: simctl [816]
Responsible: ruby [273]
User ID: 501
Date/Time: 2015-08-25 20:17:29.601 +0000
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Anonymous UUID: 034D1F6F-A8EA-1118-4F93-F73907658178
Time Awake Since Boot: 170 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'API violation - creating expectations while already in waiting mode.'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 117.15 - Device: iPhone 4s - Runtime: iOS 8.4 (12H141) - DeviceType: iPhone 4s
Application Specific Backtrace 1:
0 CoreFoundation 0x00e29746 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x00970a97 objc_exception_throw + 44
2 CoreFoundation 0x00e295da +[NSException raise:format:arguments:] + 138
3 Foundation 0x0016f720 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 118
4 XCTest 0x2010c27b -[_XCTestCaseImplementation addExpectation:] + 157
5 XCTest 0x2011a1f4 -[XCTestExpectation _initForTestCase:withDescription:] + 435
6 XCTest 0x20119fd3 +[XCTestExpectation expectationForTestCase:withDescription:] + 86
7 XCTest 0x20118bad -[XCTestCase(AsynchronousTesting) expectationWithDescription:] + 119
8 CocoaAsyncSocketTestsiOS 0x03677268 __55-[GCDAsyncSocketConnectionTests testTransferFromClient]_block_invoke + 200
9 XCTest 0x20118d5d -[XCTestCase(AsynchronousTesting) _completeWithResult:] + 424
10 XCTest 0x201193e3 __110-[XCTestCase(AsynchronousTesting) _configureTimeoutForInterval:forWaitAtAddress:testClassName:testMethodName:]_block_invoke_2 + 168
11 libdispatch.dylib 0x019cbd8a _dispatch_call_block_and_release + 15
12 libdispatch.dylib 0x019e8ecf _dispatch_client_callout + 14
13 libdispatch.dylib 0x019d1ee3 _dispatch_main_queue_callback_4CF + 677
14 CoreFoundation 0x00d828ee __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14
15 CoreFoundation 0x00d405f0 __CFRunLoopRun + 2256
16 CoreFoundation 0x00d3fa5b CFRunLoopRunSpecific + 443
17 CoreFoundation 0x00d3f88b CFRunLoopRunInMode + 123
18 Foundation 0x001042d8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 309
19 XCTest 0x20119a6f -[XCTestCase(AsynchronousTesting) waitForExpectationsWithTimeout:handler:] + 1190
20 CocoaAsyncSocketTestsiOS 0x03677144 -[GCDAsyncSocketConnectionTests testTransferFromClient] + 532
21 CoreFoundation 0x00d0a84d __invoking___ + 29
22 CoreFoundation 0x00d0a6f8 -[NSInvocation invoke] + 360
23 XCTest 0x201089b5 -[XCTestCase invokeTest] + 320
24 XCTest 0x20108be7 -[XCTestCase performTest:] + 175
25 otest-shim-ios.dylib 0x0008e8b7 XCPerformTestWithSuppressedExpectedAssertionFailures + 638
26 otest-shim-ios.dylib 0x0008e633 XCTestCase_performTest + 31
27 XCTest 0x20114182 -[XCTest run] + 314
28 XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
29 XCTest 0x20114182 -[XCTest run] + 314
30 XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
31 XCTest 0x20114182 -[XCTest run] + 314
32 XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
33 XCTest 0x20114182 -[XCTest run] + 314
34 XCTest 0x20117959 __24+[XCTestProbe runTests:]_block_invoke189 + 56
35 XCTest 0x20110ca2 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 184
36 XCTest 0x20117827 +[XCTestProbe runTests:] + 371
37 libobjc.A.dylib 0x0098667e +[NSObject performSelector:withObject:] + 70
38 xctest 0x0002a237 xctest + 4663
39 xctest 0x0002a4ac xctest + 5292
40 xctest 0x0002a58f xctest + 5519
41 xctest 0x00029e3d xctest + 3645
42 libdyld.dylib 0x01a0fac9 start + 1
43 ??? 0x0000000a 0x0 + 10
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x01d1269a __pthread_kill + 10
1 libsystem_pthread.dylib 0x01d40f19 pthread_kill + 101
2 libsystem_sim_c.dylib 0x01ab9a5a abort + 156
3 libc++abi.dylib 0x018c8527 abort_message + 151
4 libc++abi.dylib 0x018eb64d default_terminate_handler() + 300
5 libobjc.A.dylib 0x00970d45 _objc_terminate() + 108
6 libc++abi.dylib 0x018e8cf0 std::__terminate(void (*)()) + 14
7 libc++abi.dylib 0x018e8d72 std::terminate() + 66
8 libobjc.A.dylib 0x00970caf objc_terminate + 11
9 libdispatch.dylib 0x019e8ee2 _dispatch_client_callout + 33
10 libdispatch.dylib 0x019d1ee3 _dispatch_main_queue_callback_4CF + 677
11 com.apple.CoreFoundation 0x00d828ee __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14
12 com.apple.CoreFoundation 0x00d405f0 __CFRunLoopRun + 2256
13 com.apple.CoreFoundation 0x00d3fa5b CFRunLoopRunSpecific + 443
14 com.apple.CoreFoundation 0x00d3f88b CFRunLoopRunInMode + 123
15 com.apple.Foundation 0x001042d8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 309
16 com.apple.dt.XCTest 0x20119a6f -[XCTestCase(AsynchronousTesting) waitForExpectationsWithTimeout:handler:] + 1190
17 com.chrisballinger.CocoaAsyncSocketTestsiOS 0x03677144 -[GCDAsyncSocketConnectionTests testTransferFromClient] + 532 (GCDAsyncSocketConnectionTests.m:70)
18 com.apple.CoreFoundation 0x00d0a84d __invoking___ + 29
19 com.apple.CoreFoundation 0x00d0a6f8 -[NSInvocation invoke] + 360
20 com.apple.dt.XCTest 0x201089b5 -[XCTestCase invokeTest] + 320
21 com.apple.dt.XCTest 0x20108be7 -[XCTestCase performTest:] + 175
22 otest-shim-ios.dylib 0x0008e8b7 XCPerformTestWithSuppressedExpectedAssertionFailures + 638
23 otest-shim-ios.dylib 0x0008e633 XCTestCase_performTest + 31
24 com.apple.dt.XCTest 0x20114182 -[XCTest run] + 314
25 com.apple.dt.XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
26 com.apple.dt.XCTest 0x20114182 -[XCTest run] + 314
27 com.apple.dt.XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
28 com.apple.dt.XCTest 0x20114182 -[XCTest run] + 314
29 com.apple.dt.XCTest 0x201075d8 -[XCTestSuite performTest:] + 406
30 com.apple.dt.XCTest 0x20114182 -[XCTest run] + 314
31 com.apple.dt.XCTest 0x20117959 __24+[XCTestProbe runTests:]_block_invoke189 + 56
32 com.apple.dt.XCTest 0x20110ca2 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 184
33 com.apple.dt.XCTest 0x20117827 +[XCTestProbe runTests:] + 371
34 libobjc.A.dylib 0x0098667e +[NSObject performSelector:withObject:] + 70
35 xctest 0x0002a237 0x29000 + 4663
36 xctest 0x0002a4ac 0x29000 + 5292
37 xctest 0x0002a58f 0x29000 + 5519
38 xctest 0x00029e3d 0x29000 + 3645
39 libdyld.dylib 0x01a0fac9 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x01d138ce kevent64 + 10
1 libdispatch.dylib 0x019d7e1e _dispatch_mgr_invoke + 245
2 libdispatch.dylib 0x019d7b76 _dispatch_mgr_thread + 60
Thread 2:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x01d0c9ce mach_msg_trap + 10
1 libsystem_kernel.dylib 0x01d0ba70 mach_msg + 68
2 com.apple.CoreFoundation 0x00d40eb6 __CFRunLoopServiceMachPort + 214
3 com.apple.CoreFoundation 0x00d40298 __CFRunLoopRun + 1400
4 com.apple.CoreFoundation 0x00d3fa5b CFRunLoopRunSpecific + 443
5 com.apple.CoreFoundation 0x00d3f88b CFRunLoopRunInMode + 123
6 com.apple.CFNetwork 0x01276034 +[NSURLConnection(Loader) _resourceLoadLoop:] + 469
7 com.apple.Foundation 0x00102447 -[NSThread main] + 76
8 com.apple.Foundation 0x001023a0 __NSThread__main__ + 1326
9 libsystem_pthread.dylib 0x01d3ee13 _pthread_body + 138
10 libsystem_pthread.dylib 0x01d3ed89 _pthread_start + 162
11 libsystem_pthread.dylib 0x01d3ce52 thread_start + 34
Thread 3:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x01d1284e __select + 10
1 com.apple.CoreFoundation 0x00d8a34a __CFSocketManager + 906
2 libsystem_pthread.dylib 0x01d3ee13 _pthread_body + 138
3 libsystem_pthread.dylib 0x01d3ed89 _pthread_start + 162
4 libsystem_pthread.dylib 0x01d3ce52 thread_start + 34
Thread 4:
0 libsystem_kernel.dylib 0x01d12e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x01d3f2b1 _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x01d3ce2e start_wqthread + 30
Thread 5:
0 libsystem_kernel.dylib 0x01d12e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x01d3f2b1 _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x01d3ce2e start_wqthread + 30
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x01af46fc ecx: 0xbffd487c edx: 0x00000000
edi: 0x01d451d4 esi: 0x00000006 ebp: 0xbffd4898 esp: 0xbffd487c
ss: 0x00000023 efl: 0x00000286 eip: 0x01d1269a cs: 0x0000000b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x01ab99be
Logical CPU: 0
Error Code: 0x00080148
Trap Number: 132
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
** TEST FAILED: 2 passed, 0 failed, 1 errored, 3 total ** (51788 ms)
The command "xctool -workspace ./Tests/CocoaAsyncSocket.xcworkspace -scheme CocoaAsyncSocketTestsiOS -sdk iphonesimulator -arch i386 test" exited with 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment