Xcode assert crash during indexing

Originator:kelan
Number:rdar://12010789 Date Originated:2012-08-01
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode v4.3.3 (4E3002)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:

I have an Xcode project structure that is generated using gyp[1].  It works fine
in most cases.  However, I just tried to set the 'SDKROOT' to 'iphoneos' in the
xcconfig file, and Xcode will crash a few seconds later:
    UNCAUGHT EXCEPTION (NSInternalInconsistencyException): ASSERTION FAILURE in
    /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-1198/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/Target.subproj/PBXTargetBuildContext.m:1890
    Details:  Assertion failed: [filePath isAbsolutePath]


Steps to Reproduce:

1. Start with the Xcode project structure I have been using succesfully for a
   while.  Most of the build settings come from an xcconfig file, which all
   projects are based on.

2. Set 'SDKROOT' to 'iphoneos' in that xcconfig file, and save it.


Expected Results:

All targets should now build using the iOS SDK.  Admittedly, not all targets
make sense to build with the iOS SDK, but I just won't build those targets with
this Configuration.  Regardless, this shouldn't crash Xcode.


Actual Results:

Xcode crashes (with the attached crash report) a few seconds later.  It crashes
again every time if I try to re-open it (a few seconds after opening).



Here are a few workarounds that I've found:

1. If I remove all "Command line Executable" and "Aggregate" targets from the
   project, it won't crash.

2. If I set the SDKROOT value at the Project or Target leven from within the
   Xcode GUI (instead of from the .xcconfig file), it doesn't crash.  Even if I
   manually add the SDKROOT setting to the Aggregate targets.

Neither of these are suitable long-term solutions for me.


Other Notes:

The project structure is generated using gyp, but has worked fine in all other
cases until this issue.  I tried to create a fresh project to repro this (with
an Aggregate target, a Command Line Executable target, and the SDKROOT set in an
xcconfig file), but it didn't have the same problem.  So, I'm not exactly sure
what the trigger is.  But, the fact that my gyp-generated structure has worked
well in all other cases leads me to believe that it's not simply that.

I can include the offending gyp-generated project structure, if that would be
useful.


References:

[1]:  http://code.google.com/p/gyp/


Crash report contents:

    Process:         Xcode [78428]
    Path:            /Applications/Xcode.app/Contents/MacOS/Xcode
    Identifier:      com.apple.dt.Xcode
    Version:         4.3.3 (1178)
    Build Info:      IDEApplication-1178000000000000~3
    App Item ID:     497799835
    App External ID: 8553856
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [139]

    Date/Time:       2012-08-01 15:14:28.679 -0700
    OS Version:      Mac OS X 10.7.4 (11E53)
    Report Version:  9

    Crashed Thread:  6

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

    Application Specific Information:
    ProductBuildVersion: 4E3002
    UNCAUGHT EXCEPTION (NSInternalInconsistencyException): ASSERTION FAILURE in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-1198/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/Target.subproj/PBXTargetBuildContext.m:1890
    Details:  Assertion failed: [filePath isAbsolutePath]
    Object:   <PBXTargetBuildContext: 0x407534ee0>
    Method:   -setHeadermapToolInvocation:forFilePath:
    Thread:   <NSThread: 0x402f71e60>{name = (null), num = 20}
    Backtrace:
      0  0x00000001070f3c8f -[PBXTargetBuildContext(DependencyGraphEvents) handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore)
      1  0x000000010379b5d5 _DVTAssertionFailureHandler (in DVTFoundation)
      2  0x00000001070eb248 -[PBXTargetBuildContext setHeadermapToolInvocation:forFilePath:] (in DevToolsCore)
      3  0x000000010713be52 -[XCCompilerSpecification computeDependenciesForFilePath:ofType:outputDirectory:inTargetBuildContext:] (in DevToolsCore)
      4  0x00000001071d684e -[XCBuildRuleDGSnapshot(DependencyGraphCreation) computeDependenciesForFilePath:ofType:forBuildFileReference:withOutputDirectory:additionalProperties:inTargetBuildContext:] (in DevToolsCore)
      5  0x00000001071cf647 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) _computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:processedPaths:] (in DevToolsCore)
      6  0x00000001071cfd25 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:] (in DevToolsCore)
      7  0x00000001071d02c3 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:inTargetBuildContext:] (in DevToolsCore)
      8  0x00000001071c4c0c -[XCBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] (in DevToolsCore)
      9  0x00000001071d1ab0 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] (in DevToolsCore)
     10  0x00000001071d2450 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] (in DevToolsCore)
     11  0x000000010713f11e -[XCProductTypeSpecification computeDependenciesInTargetBuildContext:] (in DevToolsCore)
     12  0x00000001071c04d3 -[XCNativeTargetDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] (in DevToolsCore)
     13  0x00000001070e2f81 -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] (in DevToolsCore)
     14  0x00000001070f4c15 -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] (in DevToolsCore)
     15  0x00007fff8ae50efc __invoking___ (in CoreFoundation)
     16  0x00007fff8ae50d94 -[NSInvocation invoke] (in CoreFoundation)
     17  0x00000001070f4010 -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] (in DevToolsCore)
     18  0x00007fff8ae50efc __invoking___ (in CoreFoundation)
     19  0x00007fff8ae50d94 -[NSInvocation invoke] (in CoreFoundation)
     20  0x00000001071377e1 -[XCInvocationQueue _processNextInvocationInThreadSlotNumber:] (in DevToolsCore)
     21  0x0000000107137c48 -[XCInvocationQueue _processInvocationsInThreadSlotNumber:] (in DevToolsCore)
     22  0x00007fff8cc2f72a -[NSThread main] (in Foundation)
     23  0x00007fff8cc2f6a2 __NSThread__main__ (in Foundation)
     24  0x00007fff888f38bf _pthread_start (in libsystem_c.dylib)
     25  0x00007fff888f6b75 thread_start (in libsystem_c.dylib)
     
    UserInfo: (null)
    Hints: None
    Backtrace:
      0  0x00007fff8ae5ef3a __exceptionPreprocess (in CoreFoundation)
      1  0x00007fff8a71ad5e objc_exception_throw (in libobjc.A.dylib)
      2  0x00007fff8aee91b9 -[NSException raise] (in CoreFoundation)
      3  0x000000010379b5d5 _DVTAssertionFailureHandler (in DVTFoundation)
      4  0x00000001070eb248 -[PBXTargetBuildContext setHeadermapToolInvocation:forFilePath:] (in DevToolsCore)
      5  0x000000010713be52 -[XCCompilerSpecification computeDependenciesForFilePath:ofType:outputDirectory:inTargetBuildContext:] (in DevToolsCore)
      6  0x00000001071d684e -[XCBuildRuleDGSnapshot(DependencyGraphCreation) computeDependenciesForFilePath:ofType:forBuildFileReference:withOutputDirectory:additionalProperties:inTargetBuildContext:] (in DevToolsCore)
      7  0x00000001071cf647 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) _computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:processedPaths:] (in DevToolsCore)
      8  0x00000001071cfd25 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:] (in DevToolsCore)
      9  0x00000001071d02c3 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:inTargetBuildContext:] (in DevToolsCore)
     10  0x00000001071c4c0c -[XCBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] (in DevToolsCore)
     11  0x00000001071d1ab0 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] (in DevToolsCore)
     12  0x00000001071d2450 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] (in DevToolsCore)
     13  0x000000010713f11e -[XCProductTypeSpecification computeDependenciesInTargetBuildContext:] (in DevToolsCore)
     14  0x00000001071c04d3 -[XCNativeTargetDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] (in DevToolsCore)
     15  0x00000001070e2f81 -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] (in DevToolsCore)
     16  0x00000001070f4c15 -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] (in DevToolsCore)
     17  0x00007fff8ae50efc __invoking___ (in CoreFoundation)
     18  0x00007fff8ae50d94 -[NSInvocation invoke] (in CoreFoundation)
     19  0x00000001070f4010 -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] (in DevToolsCore)
     20  0x00007fff8ae50efc __invoking___ (in CoreFoundation)
     21  0x00007fff8ae50d94 -[NSInvocation invoke] (in CoreFoundation)
     22  0x00000001071377e1 -[XCInvocationQueue _processNextInvocationInThreadSlotNumber:] (in DevToolsCore)
     23  0x0000000107137c48 -[XCInvocationQueue _processInvocationsInThreadSlotNumber:] (in DevToolsCore)
     24  0x00007fff8cc2f72a -[NSThread main] (in Foundation)
     25  0x00007fff8cc2f6a2 __NSThread__main__ (in Foundation)
     26  0x00007fff888f38bf _pthread_start (in libsystem_c.dylib)
     27  0x00007fff888f6b75 thread_start (in libsystem_c.dylib)
     
    objc[78428]: garbage collection is ON
    abort() called

    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib          0x00007fff877b467a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fff877b3d71 mach_msg + 73
    2   com.apple.CoreFoundation        0x00007fff8adeb50c __CFRunLoopServiceMachPort + 188
    3   com.apple.CoreFoundation        0x00007fff8adf3c74 __CFRunLoopRun + 1204
    4   com.apple.CoreFoundation        0x00007fff8adf3486 CFRunLoopRunSpecific + 230
    5   com.apple.HIToolbox             0x00007fff851a24d3 RunCurrentEventLoopInMode + 277
    6   com.apple.HIToolbox             0x00007fff851a9781 ReceiveNextEventCommon + 355
    7   com.apple.HIToolbox             0x00007fff851a960e BlockUntilNextEventMatchingListInMode + 62
    8   com.apple.AppKit                0x00007fff832dce31 _DPSNextEvent + 659
    9   com.apple.AppKit                0x00007fff832dc735 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
    10  com.apple.AppKit                0x00007fff832d9071 -[NSApplication run] + 470
    11  com.apple.AppKit                0x00007fff83555244 NSApplicationMain + 867
    12  com.apple.dt.Xcode              0x0000000103711eec 0x103711000 + 3820

    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib          0x00007fff877b67e6 kevent + 10
    1   libdispatch.dylib               0x00007fff8778178a _dispatch_mgr_invoke + 923
    2   libdispatch.dylib               0x00007fff8778031a _dispatch_mgr_thread + 54

    Thread 2:: com.apple.NSURLConnectionLoader
    0   libsystem_kernel.dylib          0x00007fff877b467a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fff877b3d71 mach_msg + 73
    2   com.apple.CoreFoundation        0x00007fff8adeb50c __CFRunLoopServiceMachPort + 188
    3   com.apple.CoreFoundation        0x00007fff8adf3c74 __CFRunLoopRun + 1204
    4   com.apple.CoreFoundation        0x00007fff8adf3486 CFRunLoopRunSpecific + 230
    5   com.apple.Foundation            0x00007fff8cc3afd7 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 335
    6   com.apple.Foundation            0x00007fff8cc2f72a -[NSThread main] + 68
    7   com.apple.Foundation            0x00007fff8cc2f6a2 __NSThread__main__ + 1575
    8   libsystem_c.dylib               0x00007fff888f38bf _pthread_start + 335
    9   libsystem_c.dylib               0x00007fff888f6b75 thread_start + 13

    Thread 3:
    0   libsystem_kernel.dylib          0x00007fff877b467a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fff877b3d71 mach_msg + 73
    2   com.apple.CoreFoundation        0x00007fff8adeb50c __CFRunLoopServiceMachPort + 188
    3   com.apple.CoreFoundation        0x00007fff8adf3c74 __CFRunLoopRun + 1204
    4   com.apple.CoreFoundation        0x00007fff8adf3486 CFRunLoopRunSpecific + 230
    5   com.apple.DTDeviceKit           0x000000010bbc1ee8 -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 298
    6   com.apple.Foundation            0x00007fff8cc2f72a -[NSThread main] + 68
    7   com.apple.Foundation            0x00007fff8cc2f6a2 __NSThread__main__ + 1575
    8   libsystem_c.dylib               0x00007fff888f38bf _pthread_start + 335
    9   libsystem_c.dylib               0x00007fff888f6b75 thread_start + 13

    Thread 4:: com.apple.CFSocket.private
    0   libsystem_kernel.dylib          0x00007fff877b5df2 __select + 10
    1   com.apple.CoreFoundation        0x00007fff8ae3cc8b __CFSocketManager + 1355
    2   libsystem_c.dylib               0x00007fff888f38bf _pthread_start + 335
    3   libsystem_c.dylib               0x00007fff888f6b75 thread_start + 13

    Thread 5:: DYMobileDeviceManager
    0   libsystem_kernel.dylib          0x00007fff877b467a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fff877b3d71 mach_msg + 73
    2   com.apple.CoreFoundation        0x00007fff8adeb50c __CFRunLoopServiceMachPort + 188
    3   com.apple.CoreFoundation        0x00007fff8adf3c74 __CFRunLoopRun + 1204
    4   com.apple.CoreFoundation        0x00007fff8adf3486 CFRunLoopRunSpecific + 230
    5   com.apple.Foundation            0x00007fff8cbe0f7b -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
    6   com.apple.Foundation            0x00007fff8cbe0e67 -[NSRunLoop(NSRunLoop) run] + 62
    7   com.apple.Foundation            0x00007fff8cc2f72a -[NSThread main] + 68
    8   com.apple.Foundation            0x00007fff8cc2f6a2 __NSThread__main__ + 1575
    9   libsystem_c.dylib               0x00007fff888f38bf _pthread_start + 335
    10  libsystem_c.dylib               0x00007fff888f6b75 thread_start + 13

    Thread 6 Crashed:
    0   libsystem_kernel.dylib          0x00007fff877b5ce2 __pthread_kill + 10
    1   libsystem_c.dylib               0x00007fff888f57d2 pthread_kill + 95
    2   libsystem_c.dylib               0x00007fff888e6a7a abort + 143
    3   com.apple.dt.IDEKit             0x00000001042e860e +[IDEAssertionHandler _handleAssertionWithLogString:] + 506
    4   com.apple.dt.IDEKit             0x00000001042e9280 -[IDEAssertionHandler handleUncaughtException:] + 603
    5   com.apple.CoreFoundation        0x00007fff8aee92e6 __handleUncaughtException + 70
    6   libobjc.A.dylib                 0x00007fff8a71b1b0 _objc_terminate + 85
    7   libc++abi.dylib                 0x00007fff899ea001 safe_handler_caller(void (*)()) + 11
    8   libc++abi.dylib                 0x00007fff899ea05c std::terminate() + 16
    9   libc++abi.dylib                 0x00007fff899eb152 __cxa_throw + 114
    10  libobjc.A.dylib                 0x00007fff8a71ae7a objc_exception_throw + 327
    11  com.apple.CoreFoundation        0x00007fff8aee91b9 -[NSException raise] + 9
    12  com.apple.dt.DVTFoundation      0x000000010379b5d5 _DVTAssertionFailureHandler + 128
    13  com.apple.Xcode.DevToolsCore    0x00000001070eb248 -[PBXTargetBuildContext setHeadermapToolInvocation:forFilePath:] + 100
    14  com.apple.Xcode.DevToolsCore    0x000000010713be52 -[XCCompilerSpecification computeDependenciesForFilePath:ofType:outputDirectory:inTargetBuildContext:] + 1079
    15  com.apple.Xcode.DevToolsCore    0x00000001071d684e -[XCBuildRuleDGSnapshot(DependencyGraphCreation) computeDependenciesForFilePath:ofType:forBuildFileReference:withOutputDirectory:additionalProperties:inTargetBuildContext:] + 7008
    16  com.apple.Xcode.DevToolsCore    0x00000001071cf647 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) _computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:processedPaths:] + 2323
    17  com.apple.Xcode.DevToolsCore    0x00000001071cfd25 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:] + 110
    18  com.apple.Xcode.DevToolsCore    0x00000001071d02c3 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:inTargetBuildContext:] + 1423
    19  com.apple.Xcode.DevToolsCore    0x00000001071c4c0c -[XCBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] + 1948
    20  com.apple.Xcode.DevToolsCore    0x00000001071d1ab0 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] + 51
    21  com.apple.Xcode.DevToolsCore    0x00000001071d2450 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] + 2436
    22  com.apple.Xcode.DevToolsCore    0x000000010713f11e -[XCProductTypeSpecification computeDependenciesInTargetBuildContext:] + 958
    23  com.apple.Xcode.DevToolsCore    0x00000001071c04d3 -[XCNativeTargetDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] + 3800
    24  com.apple.Xcode.DevToolsCore    0x00000001070e2f81 -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] + 4226
    25  com.apple.Xcode.DevToolsCore    0x00000001070f4c15 -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] + 482
    26  com.apple.CoreFoundation        0x00007fff8ae50efc __invoking___ + 140
    27  com.apple.CoreFoundation        0x00007fff8ae50d94 -[NSInvocation invoke] + 132
    28  com.apple.Xcode.DevToolsCore    0x00000001070f4010 -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] + 414
    29  com.apple.CoreFoundation        0x00007fff8ae50efc __invoking___ + 140
    30  com.apple.CoreFoundation        0x00007fff8ae50d94 -[NSInvocation invoke] + 132
    31  com.apple.Xcode.DevToolsCore    0x00000001071377e1 -[XCInvocationQueue _processNextInvocationInThreadSlotNumber:] + 429
    32  com.apple.Xcode.DevToolsCore    0x0000000107137c48 -[XCInvocationQueue _processInvocationsInThreadSlotNumber:] + 604
    33  com.apple.Foundation            0x00007fff8cc2f72a -[NSThread main] + 68
    34  com.apple.Foundation            0x00007fff8cc2f6a2 __NSThread__main__ + 1575
    35  libsystem_c.dylib               0x00007fff888f38bf _pthread_start + 335
    36  libsystem_c.dylib               0x00007fff888f6b75 thread_start + 13

    Thread 7:: CVDisplayLink
    0   libsystem_kernel.dylib          0x00007fff877b5bca __psynch_cvwait + 10
    1   libsystem_c.dylib               0x00007fff888f72a6 _pthread_cond_wait + 890
    2   com.apple.CoreVideo             0x00007fff850fa1cb CVDisplayLink::waitUntil(unsigned long long) + 279
    3   com.apple.CoreVideo             0x00007fff850f9631 CVDisplayLink::runIOThread() + 559
    4   com.apple.CoreVideo             0x00007fff850f93e9 _ZL13startIOThreadPv + 148
    5   libsystem_c.dylib               0x00007fff888f38bf _pthread_start + 335
    6   libsystem_c.dylib               0x00007fff888f6b75 thread_start + 13

    Thread 8:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 9:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 10:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 11:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 12:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 13:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 14:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 15:: Dispatch queue: com.apple.root.low-priority
    0   libsystem_kernel.dylib          0x00007fff877b46b6 semaphore_wait_trap + 10
    1   libdispatch.dylib               0x00007fff8778320a _dispatch_semaphore_wait_slow + 109
    2   com.apple.dt.IDEFoundation      0x0000000103dc745f -[IDEIndex _waitForSettingsFromObject:] + 523
    3   com.apple.dt.IDEFoundation      0x0000000103dc722c -[IDEIndex _waitForSettingsForFile:object:] + 25
    4   com.apple.dt.IDEFoundation      0x0000000103dd9fd7 +[IDEIndexingEngine runFileJob:] + 92
    5   com.apple.dt.IDEFoundation      0x0000000103dd9b95 -[IDEIndexingJob run] + 99
    6   com.apple.dt.IDEFoundation      0x0000000103ee217f __40-[IDEIndexingJobScheduler _scheduleJobs]_block_invoke_0 + 31
    7   com.apple.dt.DVTFoundation      0x00000001037bc460 __DVTDispatchAsync_block_invoke_0 + 16
    8   libdispatch.dylib               0x00007fff8777fa86 _dispatch_call_block_and_release + 18
    9   libdispatch.dylib               0x00007fff87780965 _dispatch_worker_thread2 + 255
    10  libsystem_c.dylib               0x00007fff888f53da _pthread_wqthread + 316
    11  libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 16:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 17:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 18:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 19:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 20:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 21:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 22:
    0   libsystem_kernel.dylib          0x00007fff877b6192 __workq_kernreturn + 10
    1   libsystem_c.dylib               0x00007fff888f5594 _pthread_wqthread + 758
    2   libsystem_c.dylib               0x00007fff888f6b85 start_wqthread + 13

    Thread 23:
    0   libsystem_kernel.dylib          0x00007fff877b467a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fff877b3d71 mach_msg + 73
    2   com.apple.CoreFoundation        0x00007fff8adeb50c __CFRunLoopServiceMachPort + 188
    3   com.apple.CoreFoundation        0x00007fff8adf3c74 __CFRunLoopRun + 1204
    4   com.apple.CoreFoundation        0x00007fff8adf3486 CFRunLoopRunSpecific + 230
    5   com.apple.DebugSymbols          0x00007fff89dc92f2 _ZL20SpotlightQueryThreadPv + 434
    6   libsystem_c.dylib               0x00007fff888f38bf _pthread_start + 335
    7   libsystem_c.dylib               0x00007fff888f6b75 thread_start + 13

    Thread 24:
    0   libsystem_kernel.dylib          0x00007fff877b5e42 __semwait_signal + 10
    1   libsystem_c.dylib               0x00007fff888a9dea nanosleep + 164
    2   com.apple.CoreSymbolication     0x00007fff8c5733bb cleaner_thread_main(void*) + 42
    3   libsystem_c.dylib               0x00007fff888f38bf _pthread_start + 335
    4   libsystem_c.dylib               0x00007fff888f6b75 thread_start + 13

    Thread 6 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x000000010b1f2b28  rdx: 0x0000000000000000
      rdi: 0x0000000000017707  rsi: 0x0000000000000006  rbp: 0x000000010b1f2b50  rsp: 0x000000010b1f2b28
       r8: 0x00007fff7304bfb8   r9: 0x00007f9da3805480  r10: 0x00007fff877b5d0a  r11: 0xffffff80002da8d0
      r12: 0x00000004028cfd80  r13: 0x00007fff733d2de0  r14: 0x000000010b1f6000  r15: 0x000000010b1f2c58
      rip: 0x00007fff877b5ce2  rfl: 0x0000000000000246  cr2: 0x000000010c8da000
    Logical CPU: 0

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!