Skip to content

Instantly share code, notes, and snippets.

@Ashton-W
Created March 3, 2015 08:10
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 Ashton-W/9622ad5b8cb3ab570dd5 to your computer and use it in GitHub Desktop.
Save Ashton-W/9622ad5b8cb3ab570dd5 to your computer and use it in GitHub Desktop.
patched xctool crash with KIF
1) -[FAILED_BEFORE TESTS_RAN] (UI Tests.xctest)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Test did not run: the test bundle stopped running or crashed before the test suite started.
2015-03-03 19:07:35.874 LinkedStoryboards[43486:23529036] KIFTester loaded
CRASH REPORT: LinkedStoryboards_2015-03-03-190737_Ashton.crash
Process: LinkedStoryboards [43486]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/E330D0BB-C864-4F9A-9E65-3C6306C6A001/data/Containers/Bundle/Application/9AF432F6-C2F8-455E-B37D-5176716BFAC3/LinkedStoryboards.app/LinkedStoryboards
Identifier: LinkedStoryboards
Version: 1.0 (1.0)
Code Type: X86 (Native)
Parent Process: launchd_sim [42272]
Responsible: launchd_sim [42272]
User ID: 501
Date/Time: 2015-03-03 19:07:36.301 +1100
OS Version: Mac OS X 10.10.2 (14C109)
Report Version: 11
Anonymous UUID: 4BB54316-597E-2566-9BF2-FF74807C8D9E
Sleep/Wake UUID: 6C7F097C-0116-4CA1-8BCE-2DE238CA7FF8
Time Awake Since Boot: 420000 seconds
Time Since Wake: 850 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000065736f70
VM Regions Near 0x65736f70:
__LINKEDIT 0000000020130000-0000000020142000 [ 72K] r--/rwx SM=COW /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/XCTest
-->
MALLOC_TINY 000000007a600000-000000007a800000 [ 2048K] rw-/rwx SM=COW
Application Specific Information:
CoreSimulator 110.4 - Device: iPhone 4s - Runtime: iOS 8.1 (12B411) - DeviceType: iPhone 4s
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_sim_c.dylib 0x066fad00 strlen + 16
1 com.apple.CoreFoundation 0x01cec5f5 _CFStringCreateWithFormatAndArgumentsAux2 + 245
2 com.apple.CoreFoundation 0x01bf3a5a CFStringCreateWithFormat + 58
3 com.apple.CoreFoundation 0x01c5d0df +[NSObject(NSObject) description] + 63
4 libobjc.A.dylib 0x019ae724 -[NSObject performSelector:] + 62
5 otest-shim-ios.dylib 0x00130f15 TestCase_nameOrDescription + 72 (DuplicateTestNameFix.m:56)
6 otest-shim-ios.dylib 0x00132881 XCTestLog_testCaseDidStart + 53 (otest-shim.m:225)
7 com.apple.dt.XCTest 0x20111319 -[XCTestObservationCenter _testCaseDidStart:] + 240
8 com.apple.dt.XCTest 0x201064c2 -[XCTestCaseRun start] + 96
9 com.apple.dt.XCTest 0x20108ba0 -[XCTestCase performTest:] + 159
10 otest-shim-ios.dylib 0x00132c2e XCPerformTestWithSuppressedExpectedAssertionFailures + 172 (otest-shim.m:356)
11 otest-shim-ios.dylib 0x00132b7c XCTestCase_performTest + 31 (otest-shim.m:370)
12 com.robertbrown.UI-Tests 0x0b01ebb5 +[KIFTestCase performSetupTearDownWithSelector:] + 149 (KIFTestCase.m:87)
13 com.robertbrown.UI-Tests 0x0b01ead7 +[KIFTestCase setUp] + 55 (KIFTestCase.m:74)
14 com.apple.dt.XCTest 0x201067a6 -[XCTestCaseSuite setUp] + 42
15 com.apple.dt.XCTest 0x201074fd -[XCTestSuite performTest:] + 251
16 com.apple.dt.XCTest 0x20114162 -[XCTest run] + 314
17 com.apple.dt.XCTest 0x20107598 -[XCTestSuite performTest:] + 406
18 com.apple.dt.XCTest 0x20114162 -[XCTest run] + 314
19 com.apple.dt.XCTest 0x20107598 -[XCTestSuite performTest:] + 406
20 com.apple.dt.XCTest 0x20114162 -[XCTest run] + 314
21 com.apple.dt.XCTest 0x20117929 __24+[XCTestProbe runTests:]_block_invoke189 + 56
22 com.apple.dt.XCTest 0x20110c82 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 184
23 com.apple.dt.XCTest 0x201177f7 +[XCTestProbe runTests:] + 371
24 com.apple.Foundation 0x01387b57 __NSFireDelayedPerform + 423
25 com.apple.CoreFoundation 0x01c698d6 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
26 com.apple.CoreFoundation 0x01c6925d __CFRunLoopDoTimer + 1309
27 com.apple.CoreFoundation 0x01c286ba __CFRunLoopRun + 2090
28 com.apple.CoreFoundation 0x01c27bcb CFRunLoopRunSpecific + 443
29 com.apple.CoreFoundation 0x01c279fb CFRunLoopRunInMode + 123
30 com.apple.GraphicsServices 0x02f9524f GSEventRunModal + 192
31 com.apple.GraphicsServices 0x02f9508c GSEventRun + 104
32 com.apple.UIKit 0x0015b8b6 UIApplicationMain + 1526
33 com.RobertBrown.LinkedStoryboards 0x000c189d main + 141 (main.m:16)
34 libdyld.dylib 0x066adac9 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x069b18ce kevent64 + 10
1 libdispatch.dylib 0x066763be _dispatch_mgr_invoke + 245
2 libdispatch.dylib 0x06676116 _dispatch_mgr_thread + 60
Thread 2:
0 libsystem_kernel.dylib 0x069b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x069dd2b1 _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x069dae2e start_wqthread + 30
Thread 3:
0 libsystem_kernel.dylib 0x069b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x069dd2b1 _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x069dae2e start_wqthread + 30
Thread 4:
0 libsystem_kernel.dylib 0x069b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x069dd2b1 _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x069dae2e start_wqthread + 30
Thread 5:
0 libsystem_kernel.dylib 0x069b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x069dd2b1 _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x069dae2e start_wqthread + 30
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0xffffffff ebx: 0x00000000 ecx: 0x65736f70 edx: 0x65736f70
edi: 0x65736f70 esi: 0xbff3bf48 ebp: 0xbff3ca18 esp: 0xbff3b47c
ss: 0x00000023 efl: 0x00010286 eip: 0x066fad00 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x65736f70
Logical CPU: 6
Error Code: 0x00000004
Trap Number: 14
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2) -[LSUITests testNavigation] (UI Tests.xctest)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Test did not run: the test bundle stopped running or crashed before the test suite started.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
** TEST FAILED: 0 passed, 0 failed, 3 errored, 3 total ** (9280 ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment