Post

Replies

Boosts

Views

Activity

Reply to Xcode 11.4 crash
11.4 is also crashing for me soon after I open the workspace for my app project. It occurs just after indexing starts. Since I updated to 11.4, I've not been able to successfully open this project, though other, smaller projects and playgrounds open fine.I've tried:* doing a cmd-opt-shift-K clean before the indexing starts; the clean succeeds but then Xcode still crashes when the indexing starts;* deleting the Derived Data folder while Xcode isn't running, but it still crashes the same way when it starts;* `pod install`, no luck.My crash logs all look like the following snippet. Do yours?```Application Specific Information:ProductBuildVersion: 11E146ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-16126/DVTUserInterfaceKit/CustomUI/DVTTableCellView.m:178Details: Assertion failed: invalidatableObject.validObject: <DVTTableCellViewOneLine: 0x7fde6a1724f0>Method: -_startObservingAutoPropertiesThread: <NSThread: 0x7fde6ed1b720>{number = 1, name = main}Open FDs: 70/9472Hints: 0: Creation Backtrace for Notification Token: 0 -[_DVTNotificationReceiver initWithBlock:queue:] (in DVTFoundation) 1 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) dvt_addObserverForName:object:queue:usingBlock:] (in DVTFoundation) 2 -[_IDENavigatorOutlineViewDataSource setRootItems:] (in IDEKit) 3 -[IDENavigatorOutlineView _updateRootItems:sortDescriptors:] (in IDEKit) 4 -[IDENavigatorOutlineView setRootItems:] (in IDEKit) 5 -[IDENavigatorOutlineView _updateBoundContentArrayOrSet] (in IDEKit) 6 -[IDENavigatorOutlineView updateBoundContentArray] (in IDEKit) 7 -[NSObject(DVTBindingUtilities) dvt_updateBoundValueForBinding:] (in DVTUserInterfaceKit) 8 -[DVTBindingHelper observeValueForKeyPath:ofObject:change:context:] (in DVTUserInterfaceKit) 9 NSKeyValueNotifyObserver (in Foundation)10 NSKeyValueDidChange (in Foundation)11 NSKeyValueDidChangeWithPerThreadPendingNotifications (in Foundation)12 -[NSKeyValueObservance observeValueForKeyPath:ofObject:change:context:] (in Foundation)13 NSKeyValueNotifyObserver (in Foundation)14 NSKeyValueDidChange (in Foundation)15 NSKeyValueDidChangeWithPerThreadPendingNotifications (in Foundation)16 -[IDENavigableItem(IDENavigableItemSubclasserExtensions) invalidateChildItems] (in IDEKit)17 -[IDEKeyDrivenNavigableItem invalidateChildItems] (in IDEKit)18 +[IDEKeyDrivenNavigableItem observeValueForKeyPath:ofObject:change:context:] (in IDEKit)19 NSKeyValueNotifyObserver (in Foundation)20 NSKeyValueDidChange (in Foundation)21 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] (in Foundation)22 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] (in Foundation)23 _NSSetObjectValueAndNotify (in Foundation)24 closure #1 in SourceControlWorkspaceHolder.loadWorkingCopies() (in IDESourceControlUI)25 closure #1 in closure #1 in SourceControlWorkingCopyHolder.performTreeBuild(_:) (in IDESourceControlUI)26 thunk for @escaping @callee_guaranteed () -> () (in IDESourceControlUI)27 -[DVTModelGraphTransactionScope performTransaction:] (in DVTFoundation)28 closure #1 in SourceControlWorkingCopyHolder.performTreeBuild(_:) (in IDESourceControlUI)29 thunk for @escaping @callee_guaranteed () -> () (in DVTFoundation)30 ___DVTCachedTimeSlicedMainThreadBlockProcessingQueueForKey_block_invoke_2 (in DVTFoundation)31 -[_DVTTimeSlicedMainThreadUnorderedNonUniquingWorkQueue _processWorkItemsWithDeadline:] (in DVTFoundation)32 -[DVTTimeSlicedMainThreadWorkQueue _processWithDeadline:] (in DVTFoundation)33 -[_DVTTimeSlicedMainThreadActiveWorkQueues _processWorkQueuesOnDeadline] (in DVTFoundation)34 __NSFireDelayedPerform (in Foundation)35 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)36 __CFRunLoopDoTimer (in CoreFoundation)37 __CFRunLoopDoTimers (in CoreFoundation)38 __CFRunLoopRun (in CoreFoundation)39 CFRunLoopRunSpecific (in CoreFoundation)40 RunCurrentEventLoopInMode (in HIToolbox)41 ReceiveNextEventCommon (in HIToolbox)42 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)43 _DPSNextEvent (in AppKit)44 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)45 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)46 -[NSApplication run] (in AppKit)47 NSApplicationMain (in AppKit)48 main (in Xcode)49 start (in libdyld.dylib)Backtrace: 0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit) 1 _DVTAssertionHandler (in DVTFoundation) 2 _DVTAssertionFailureHandler (in DVTFoundation) 3 _DVTAssertionFailureHandler (in DVTFoundation) 4 -[DVTTableCellView _startObservingAutoProperties] (in DVTUserInterfaceKit) 5 -[DVTTableCellView setObjectValue:] (in DVTUserInterfaceKit) 6 specialized SourceControlNavigator.outlineView(_:viewFor:item:) (in IDESourceControlUI) 7 @objc SourceControlNavigator.outlineView(_:viewFor:item:) (in IDESourceControlUI) 8 -[NSTableView(NSTableViewViewBased) makeViewForTableColumn:row:] (in AppKit) 9 -[NSTableRowData _addViewToRowView:atColumn:row:] (in AppKit)10 -[NSTableRowData _addViewsToRowView:atRow:] (in AppKit)11 -[NSTableRowData _initializeRowView:atRow:] (in AppKit)12 -[NSTableRowData _preparedRowViewForRow:storageHandler:] (in AppKit)13 -[NSTableRowData _addRowViewForVisibleRow:withPriorView:] (in AppKit)14 -[NSTableRowData _updateVisibleViewsBasedOnUpdateItems] (in AppKit)15 -[NSTableRowData _updateVisibleViewsBasedOnUpdateItemsAnimated] (in AppKit)16 -[NSTableRowData _doWorkAfterEndUpdates] (in AppKit)17 -[NSOutlineView reloadItem:reloadChildren:] (in AppKit)18 -[DVTOutlineView reloadItem:reloadChildren:] (in DVTUserInterfaceKit)19 -[IDENavigatorOutlineView reloadItem:reloadChildren:] (in IDEKit)20 __83-[_IDENavigatorOutlineViewDataSource _processNavigableItemGraphChangeNotification:]_block_invoke_2 (in IDEKit)21 +[NSAnimationContext(DVTNSAnimationContextAdditions) dvt_runWithAnimationEnabled:block:] (in DVTCocoaAdditionsKit)22 -[IDENavigatorOutlineView suspendEditingWhilePerformingBlock:] (in IDEKit)23 -[_IDENavigatorOutlineViewDataSource _processNavigableItemGraphChangeNotification:] (in IDEKit)24 __51-[_IDENavigatorOutlineViewDataSource setRootItems:]_block_invoke (in IDEKit)25 DVTInvokeWithLazyFailureHint (in DVTFoundation)26 __99+[_DVTNotificationReceiver _recieveNotification:queue:creationBacktrace:createHintGenerator:block:]_block_invoke (in DVTFoundation)27 +[_DVTNotificationReceiver _recieveNotification:queue:creationBacktrace:createHintGenerator:block:] (in DVTFoundation)28 -[_DVTNotificationReceiver receiveNotification:] (in DVTFoundation)29 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)30 ___CFXRegistrationPost1_block_invoke (in CoreFoundation)31 _CFXRegistrationPost1 (in CoreFoundation)32 ___CFXNotificationPost_block_invoke (in CoreFoundation)33 -[_CFXNotificationRegistrar find:object:observer:enumerator:] (in CoreFoundation)34 _CFXNotificationPost (in CoreFoundation)35 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)36 -[NSNotificationCenter(DVTNSNotificationCenterAdditions_MRR) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)37 -[IDENavigableItemCoordinator _postNotificationNamed:forChangedItems:] (in IDEKit)38 -[IDENavigableItemCoordinator _delayedPostGraphAndPropertyChangeNotifications] (in IDEKit)39 __48-[DVTDelayedInvocation initWithTarget:selector:]_block_invoke (in DVTFoundation)40 -[DVTDelayedInvocation runBlock:] (in DVTFoundation)41 -[DVTDelayedInvocation invokeIfNeeded] (in DVTFoundation)42 -[IDENavigableItemCoordinator processPendingChanges] (in IDEKit)43 -[IDEOutlineBasedNavigator revertState] (in IDEKit)44 closure #3 in closure #1 in SourceControlNavigator.configureNavigator() (in IDESourceControlUI)45 closure #1 in closure #1 in SourceControlWorkingCopyHolder.performTreeBuild(_:) (in IDESourceControlUI)46 thunk for @escaping @callee_guaranteed () -> () (in IDESourceControlUI)47 -[DVTModelGraphTransactionScope performTransaction:] (in DVTFoundation)48 closure #1 in SourceControlWorkingCopyHolder.performTreeBuild(_:) (in IDESourceControlUI)49 thunk for @escaping @callee_guaranteed () -> () (in DVTFoundation)50 ___DVTCachedTimeSlicedMainThreadBlockProcessingQueueForKey_block_invoke_2 (in DVTFoundation)51 -[_DVTTimeSlicedMainThreadUnorderedNonUniquingWorkQueue _processWorkItemsWithDeadline:] (in DVTFoundation)52 -[DVTTimeSlicedMainThreadWorkQueue _processWithDeadline:] (in DVTFoundation)53 -[_DVTTimeSlicedMainThreadActiveWorkQueues _processWorkQueuesOnDeadline] (in DVTFoundation)54 __NSFireDelayedPerform (in Foundation)55 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)56 __CFRunLoopDoTimer (in CoreFoundation)57 __CFRunLoopDoTimers (in CoreFoundation)58 __CFRunLoopRun (in CoreFoundation)59 CFRunLoopRunSpecific (in CoreFoundation)60 RunCurrentEventLoopInMode (in HIToolbox)61 ReceiveNextEventCommon (in HIToolbox)62 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)63 _DPSNextEvent (in AppKit)64 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)65 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)66 -[NSApplication run] (in AppKit)67 NSApplicationMain (in AppKit)68 main (in Xcode)69 start (in libdyld.dylib)abort() calledApplication Specific Signatures:invalidatableObject.valid```
Mar ’20
Reply to Xcode 11.4 crash
Thanks degennar. Looks like your crash is in the same general area (DVTFrameworks), but a different assertion failure in a different file.Mine:```ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-16126/DVTUserInterfaceKit/CustomUI/DVTTableCellView.m:178Details: Assertion failed: invalidatableObject.validObject: <DVTTableCellViewOneLine: 0x7fde6a1724f0>Method: -_startObservingAutoProperties```Yours:```ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-16126/DVTFoundation/Protocols/DVTInvalidation.m:439Details: DVTInvalidationCorePrimitiveInvalidate called twice during -invalidate: <0x7fd3d11708e0 IDEWelcomeWindowController>.Function: void DVTInvalidationCorePrimitiveInvalidate(NSObject<DVTInvalidation> * _Nonnull __strong)```So maybe they're related?
Mar ’20