Closing editor crash Xcode 11.2 on OSX 10.14.6

1. Open project created by prior Xcode version

1. Changing editor orientation to "Below"

2. File->New Editor Below

... the Editor appears below

3. Closing the Editor above

Crash.


Bug exist in Xcode 11.2.0 and 11.2.1:


Process: Xcode [2848]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 11.2.1 (15526.1)
Build Info: IDEFrameworks-15526001000000000~2
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2848]
User ID: 502


Date/Time: 2019-11-10 10:34:17.280 +0100
OS Version: Mac OS X 10.14.6 (18G103)
Report Version: 12
Anonymous UUID: D37BDC44-B14B-D06F-3A79-594167CDCA94



Time Awake Since Boot: 10000 seconds


System Integrity Protection: enabled


Crashed Thread: 0 Dispatch queue: com.apple.main-thread


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


Application Specific Information:

Sending removeSplitAction: to IDEEditorSplittingController from <DVTGradientImageButton: 0x7fc79c7b7d90>

ProductBuildVersion: 11B53

ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-15526.1/IDEKit/Editor/IDEEditorArea.m:607

Details: (navigationTargetedEditorContext) should not be nil.

Object: <IDEEditorArea: 0x7fc79c6938a0>

Method: -_updateNavigationTargetedEditorContextIsValidObservingToken

Thread: <NSThread: 0x7fc79841c640>{number = 1, name = main}

Hints:

0: Sending removeSplitAction: to IDEEditorSplittingController from <DVTGradientImageButton: 0x7fc79c7b7d90>

Backtrace:

0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)

1 _DVTAssertionHandler (in DVTFoundation)

2 _DVTAssertionFailureHandler (in DVTFoundation)

3 __76-[IDEEditorArea _updateNavigationTargetedEditorContextIsValidObservingToken]_block_invoke (in IDEKit)

4 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)

5 NSKeyValueNotifyObserver (in Foundation)

6 NSKeyValueWillChange (in Foundation)

7 NSKeyValueWillChangeWithPerThreadPendingNotifications.llvm.7538459074364299148 (in Foundation)

8 DVTInvalidationCoreInvalidate (in DVTFoundation)






Replies

Sorry, can't tell if you're asking a question or trying to file a bug...

XCode 11.3 Beta just out. Could test there…

Ran into this issue in 11.2.1 as well. Same error, same exact ASSERTION FAILURE.