Xcode crash when opening file in assistant editor

Recently, a crash occurs when I try to open a file in the assistant Editor.


XCode 10.1 ß3 or XCode 10 GM

A file is opened in the left window

2 files are opened in the right window (code and / or xib)

Then, I option click on any file name, select the + to open one more pane

Then I get the rotating ball forever. Need to force quitting.


I tried with different projects, same issue.

I sent the crash report.


--------------------------------------


Here is the initial part of crash log


Date/Time: 2019-03-11 19:24:53 +0100

OS Version: Mac OS X 10.13.6 (Build 17G5019)

Architecture: x86_64h

Report Version: 26



Data Source: Stackshots



Command: Xcode

Path: /Applications/Xcode 10.1-beta3.app/Contents/MacOS/Xcode

Identifier: com.apple.dt.Xcode

Version: 10.1 (14460.43.1)

Build Version: 5

Product Build Version: 10O45e

Project Name: IDEFrameworks_Fall2018

Source Version: 14460043001000000

Parent: launchd [1]

PID: 1456



Event: hang

Duration: 1.10s (process was unresponsive for 209 seconds before sampling)

Steps: 11 (100ms sampling interval)



Hardware model: iMac17,1

Active cpus: 4



Time Awake Since Boot: 10000s

Time Since Wake: 950s



Fan speed: 1201 rpm



--------------------------------------------------

Timeline format: stacks are sorted chronologically

Use -i and -heavy to re-report with count sorting

--------------------------------------------------



Heaviest stack for the main thread of the target process:

11 start + 1 (libdyld.dylib + 4117) [0x7fff7371f015]

11 main + 574 (Xcode + 6190) [0x10879682e]

11 NSApplicationMain + 804 (AppKit + 23154) [0x7fff48d48a72]

11 -[NSApplication run] + 812 (AppKit + 223413) [0x7fff48d798b5]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1926703) [0x10b64862f]

11 -[NSApplication(NSEvent) sendEvent:] + 2462 (AppKit + 8217142) [0x7fff49519236]

11 -[NSWindow(NSEventRouting) sendEvent:] + 497 (AppKit + 9915504) [0x7fff496b7c70]

11 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1961 (AppKit + 9918518) [0x7fff496b8836]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 5067452) [0x10b9472bc]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 5056408) [0x10b944798]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 4958107) [0x10b92c79b]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 4959206) [0x10b92cbe6]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1146182) [0x10b589d46]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1179963) [0x10b59213b]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1179429) [0x10b591f25]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1148511) [0x10b58a65f]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1164263) [0x10b58e3e7]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1163369) [0x10b58e069]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1164540) [0x10b58e4fc]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1260817) [0x10b5a5d11]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1702631) [0x10b611ae7]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 732807) [0x10b524e87]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 731483) [0x10b52495b]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 785482) [0x10b531c4a]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 716802) [0x10b521002]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 833991) [0x10b53d9c7]

11 ??? (<12AF498A-053D-3445-ACDB-13BE28E857A3> + 1685162) [0x10893d6aa]

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 834988) [0x10b53ddac]

11 -[NSView cacheDisplayInRect:toBitmapImageRep:] + 61 (AppKit + 3666279) [0x7fff490c2167]

11 -[NSView cacheDisplayInRect:toBitmapImageRep:includeSubviews:] + 185 (AppKit + 3666470) [0x7fff490c2226]

11 -[NSBitmapImageRep _captureDrawing:] + 167 (AppKit + 3666650) [0x7fff490c22da]

11 __36-[NSBitmapImageRep _captureDrawing:]_block_invoke + 514 (AppKit + 3667311) [0x7fff490c256f]

11 __62-[NSView cacheDisplayInRect:toBitmapImageRep:includeSubviews:]_block_invoke + 445 (AppKit + 3667956) [0x7fff490c27f4]

11 -[NSView displayRectIgnoringOpacity:inContext:] + 1109 (AppKit + 2673155) [0x7fff48fcfa03]

11 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:] + 56 (AppKit + 9423764) [0x7fff4963fb94]

11 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:shouldChangeFontReferenceColor:] + 1173 (AppKit + 9424943) [0x7fff4964002f]

11 -[NSView(NSInternal) _renderLayerInContext:] + 73 (AppKit + 9421885) [0x7fff4963f43d]

11 CA::Layer::layout_if_needed(CA::Transaction*) + 401 (QuartzCore + 72323) [0x7fff56b5da83]

11 _NSBackingLayerLayoutSublayers + 157 (AppKit + 1610919) [0x7fff48ecc4a7]

11 -[CALayer layoutSublayers] + 234 (QuartzCore + 118414) [0x7fff56b68e8e]

11 ??? (<AB457F76-3B21-33EE-AF89-93C18D2D01B8> + 531780) [0x122c18d44]

8 ??? (<AB457F76-3B21-33EE-AF89-93C18D2D01B8> + 2897661) [0x122e5a6fd]

4 ??? (<AB457F76-3B21-33EE-AF89-93C18D2D01B8> + 2927001) [0x122e61999]

4 ??? (<AB457F76-3B21-33EE-AF89-93C18D2D01B8> + 421065) [0x122bfdcc9]

4 ??? (<AB457F76-3B21-33EE-AF89-93C18D2D01B8> + 483749) [0x122c0d1a5]

4 ??? (<AB457F76-3B21-33EE-AF89-93C18D2D01B8> + 389480) [0x122bf6168]

4 -[NSView scrollPoint:] + 37 (AppKit + 1399414) [0x7fff48e98a76]

4 -[NSClipView _scrollPoint:fromView:] + 88 (AppKit + 1399541) [0x7fff48e98af5]

3 -[NSClipView _scrollTo:animateScroll:flashScrollerKnobs:] + 1273 (AppKit + 1050921) [0x7fff48e43929]

3 -[NSScrollView scrollClipView:toPoint:] + 75 (AppKit + 1399679) [0x7fff48e98b7f]

3 -[NSClipView scrollToPoint:] + 232 (AppKit + 1155239) [0x7fff48e5d0a7]

3 -[NSClipView _immediateScrollToPoint:] + 536 (AppKit + 1155971) [0x7fff48e5d383]

2 -[NSView translateOriginToPoint:] + 261 (AppKit + 1157096) [0x7fff48e5d7e8]

2 -[NSView _postBoundsChangeNotification] + 103 (AppKit + 1157305) [0x7fff48e5d8b9]

1 ??? (<12AF498A-053D-3445-ACDB-13BE28E857A3> + 2280292) [0x1089ceb64]

1 -[__NSCFString hasPrefix:] + 107 (CoreFoundation + 386811) [0x7fff4b7c36fb]

1 CFStringHasPrefix + 55 (CoreFoundation + 66007) [0x7fff4b7751d7]

1 CFStringFindWithOptionsAndLocale + 2071 (CoreFoundation + 68103) [0x7fff4b775a07] (running)





Process: Xcode [1456]

Path: /Applications/Xcode 10.1-beta3.app/Contents/MacOS/Xcode

Architecture: x86_64

Parent: launchd [1]

UID: 501

Task size: 2465.40 MB (+9796 KB)

CPU Time: 1.006s (3.7G cycles, 2.7G instructions, 1.37c/i)

Note: Unresponsive for 209 seconds before sampling

Note: 2 idle work queue threads omitted



Thread 0x72894 DispatchQueue 1 11 samples (1-11) priority 47 (base 47) cpu time 1.000s (3.7G cycles, 2.7G instructions, 1.37c/i)

<process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [214], IO tier 0>

11 start + 1 (libdyld.dylib + 4117) [0x7fff7371f015] 1-11

11 main + 574 (Xcode + 6190) [0x10879682e] 1-11

11 NSApplicationMain + 804 (AppKit + 23154) [0x7fff48d48a72] 1-11

11 -[NSApplication run] + 812 (AppKit + 223413) [0x7fff48d798b5] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1926703) [0x10b64862f] 1-11

11 -[NSApplication(NSEvent) sendEvent:] + 2462 (AppKit + 8217142) [0x7fff49519236] 1-11

11 -[NSWindow(NSEventRouting) sendEvent:] + 497 (AppKit + 9915504) [0x7fff496b7c70] 1-11

11 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1961 (AppKit + 9918518) [0x7fff496b8836] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 5067452) [0x10b9472bc] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 5056408) [0x10b944798] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 4958107) [0x10b92c79b] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 4959206) [0x10b92cbe6] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1146182) [0x10b589d46] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1179963) [0x10b59213b] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1179429) [0x10b591f25] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1148511) [0x10b58a65f] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1164263) [0x10b58e3e7] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1163369) [0x10b58e069] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1164540) [0x10b58e4fc] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1260817) [0x10b5a5d11] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 1702631) [0x10b611ae7] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 732807) [0x10b524e87] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 731483) [0x10b52495b] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 785482) [0x10b531c4a] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 716802) [0x10b521002] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 833991) [0x10b53d9c7] 1-11

11 ??? (<12AF498A-053D-3445-ACDB-13BE28E857A3> + 1685162) [0x10893d6aa] 1-11

11 ??? (<1D9CA12E-4AD8-3CCD-A469-D899FC6C4A0C> + 834988) [0x10b53ddac] 1-11

11 -[NSView cacheDisplayInRect:toBitmapImageRep:] + 61 (AppKit + 3666279) [0x7fff490c2167] 1-11

11 -[NSView cacheDisplayInRect:toBitmapImageRep:includeSubviews:] + 185 (AppKit + 3666470) [0x7fff490c2226] 1-11

11 -[NSBitmapImageRep _captureDrawing:] + 167 (AppKit + 3666650) [0x7fff490c22da] 1-11

11 __36-[NSBitmapImageRep _captureDrawing:]_block_invoke + 514 (AppKit + 3667311) [0x7fff490c256f] 1-11

11 __62-[NSView cacheDisplayInRect:toBitmapImageRep:includeSubviews:]_block_invoke + 445 (AppKit + 3667956) [0x7fff490c27f4] 1-11

11 -[NSView displayRectIgnoringOpacity:inContext:] + 1109 (AppKit + 2673155) [0x7fff48fcfa03] 1-11

11 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:] + 56 (AppKit + 9423764) [0x7fff4963fb94] 1-11

11 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:shouldChangeFontReferenceColor:] + 1173 (AppKit + 9424943) [0x7fff4964002f] 1-11

11 -[NSView(NSInternal) _renderLayerInContext:] + 73 (AppKit + 9421885) [0x7fff4963f43d] 1-11

11 CA::Layer::layout_if_needed(CA::Transaction*) + 401 (QuartzCore + 72323) [0x7fff56b5da83] 1-11

11 _NSBackingLayerLayoutSublayers + 157 (AppKit + 1610919) [0x7fff48ecc4a7] 1-11

11 -[CALayer layoutSublayers] + 234 (QuartzCore + 118414) [0x7fff56b68e8e] 1-11

11 ??? (<AB457F76-3B21-33EE-AF89-93C18D2D01B8> + 531780) [0x122c18d44] 1-11

2 ??? (<AB457F76-3B21-33EE-AF89-93C18D2D01B8> + 2897661) [0x122e5a6fd] 1-2

2 ??? (<AB457F76-3B21-33EE-AF89-93C18D2D01B8> + 2925982) [0x122e6159e] 1-2

1 ??? (<AB457F76-3B21-33EE-AF89-93C18D2D01B8> + 1175817) [0x122cb6109] 1

1 ??? (<AB457F76-3B21-33EE-AF89-93C18D2D01B8> + 1175487) [0x122cb5fbf] 1

1 ??? (<AB457F76-3B21-33EE-AF89-93C18D2D01B8> + 1262969) [0x122ccb579] 1

1 CA::Layer::set_sublayers(__CFArray const*) + 248 (QuartzCore + 128642)

Answered by Claude31 in 355716022

I just read release notes of XCode 10.2


Fixed a crash that occurred when showing three assistant editors. (45230485)


That seems to be it.

Accepted Answer

I just read release notes of XCode 10.2


Fixed a crash that occurred when showing three assistant editors. (45230485)


That seems to be it.

Xcode crash when opening file in assistant editor
 
 
Q