Xcode Version 15.2 (15C500b) 崩溃必

2024-03-11  本文已影响0人  zackzheng

发现 Xcode 有个必现的崩溃,先输入 # ,再在 # 前面输入 . 就会 Crash。
起因是在蓝湖复制了色值 #3D3D3D,粘贴到 Xcode,然后在前面输入 UIColor,再继续输入 . 就崩溃了。

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Xcode [28362]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               15.2 (22503)
Build Info:            IDEApplication-22503000000000000~3 (15C500b)
App Item ID:           497799835
App External ID:       862131722
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               502

Date/Time:             2024-03-12 11:47:03.5177 +0800
OS Version:            macOS 13.6.3 (22G436)
Report Version:        12
Anonymous UUID:        0210AABC-F128-EAB6-93DA-57C853A6EB42


Time Awake Since Boot: 90000 seconds

System Integrity Protection: enabled

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

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

Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   Xcode [28362]

Application Specific Information:
abort() called


Application Specific Signatures:
cursorLocation >= wordStartLocation

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x7ff80114c1e2 __pthread_kill + 10
1   libsystem_pthread.dylib             0x7ff801183ee6 pthread_kill + 263
2   libsystem_c.dylib                   0x7ff8010aab45 abort + 123
3   IDEKit                                 0x1125b3bbb +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1178
4   IDEKit                                 0x1125b40b7 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 1060
5   DVTFoundation                          0x10ddee527 _DVTAssertionHandler + 463
6   DVTFoundation                          0x10ddee737 _DVTAssertionFailureHandler + 306
7   DVTFoundation                          0x10ddee770 _DVTAssertionFailureHandler + 363
8   DVTKit                                 0x10e66ed98 -[DVTTextCompletionSession initWithTextView:atLocation:cursorLocation:] + 603
9   DVTKit                                 0x10e6c1d2d -[DVTTextCompletionController _showCompletionsAtCursorLocationExplicitly:] + 520
10  DVTKit                                 0x10e6c2779 -[DVTTextCompletionController textViewDidInsertText] + 255
11  IDESourceEditor                        0x122535110 IDESourceEditorView.insertText(_:replacementRange:) + 256
12  IDESourceEditor                        0x122535174 @objc IDESourceEditorView.insertText(_:replacementRange:) + 84
13  AppKit                              0x7ff8044f7b1e -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 172
14  AppKit                              0x7ff804d99d02 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.352 + 102
15  AppKit                              0x7ff8044f7a61 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 105
16  AppKit                              0x7ff8044f7928 -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 310
17  AppKit                              0x7ff804d993cf __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.308 + 2010
18  AppKit                              0x7ff8044f7570 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 74
19  AppKit                              0x7ff8044f74f5 -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 87
20  AppKit                              0x7ff8044f6b87 -[NSTextInputContext handleTSMEvent:completionHandler:] + 1821
21  AppKit                              0x7ff8044f63f8 _NSTSMEventHandler + 299
22  HIToolbox                           0x7ff80acbad3f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1381
23  HIToolbox                           0x7ff80acba188 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 333
24  HIToolbox                           0x7ff80acba02f SendEventToEventTargetWithOptions + 45
25  HIToolbox                           0x7ff80ad136f8 SendTSMEvent_WithCompletionHandler + 381
26  HIToolbox                           0x7ff80ad13ba7 __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 393
27  HIToolbox                           0x7ff80ad139f9 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 182
28  HIToolbox                           0x7ff80ad13746 SendTSMEvent_WithCompletionHandler + 459
29  HIToolbox                           0x7ff80ad1354e SendFilterTextEvent_WithCompletionHandler + 219
30  HIToolbox                           0x7ff80ad13228 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 274
31  HIToolbox                           0x7ff80ad12fd1 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 281
32  HIToolbox                           0x7ff80ad12e2f __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 362
33  HIToolbox                           0x7ff80ad12c7f TSMKeyEvent_WithCompletionHandler + 575
34  HIToolbox                           0x7ff80ad12a25 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 250
35  HIToolbox                           0x7ff80ad128a4 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 257
36  HIToolbox                           0x7ff80ad12670 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 285
37  HIToolbox                           0x7ff80ad12420 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 277
38  HIToolbox                           0x7ff80ad00f49 TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 2320
39  AppKit                              0x7ff804d9d6ab __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_3.836 + 110
40  AppKit                              0x7ff804d9d3fa __204-[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:]_block_invoke.797 + 120
41  AppKit                              0x7ff8044f4ef6 -[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:] + 245
42  AppKit                              0x7ff8044f490d -[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:] + 1419
43  AppKit                              0x7ff8044f4347 -[NSTextInputContext _handleEvent:allowingSyntheticEvent:] + 105
44  SourceEditor                           0x1217162e6 SourceEditorView.keyDown(with:) + 470
45  SourceEditor                           0x12171634f @objc SourceEditorView.keyDown(with:) + 47
46  AppKit                              0x7ff80445f7fb -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 520
47  AppKit                              0x7ff80445f3d7 -[NSWindow(NSEventRouting) sendEvent:] + 345
48  IDEKit                                 0x10fb815fe -[IDEWorkspaceWindow sendEvent:] + 158
49  AppKit                              0x7ff80445ddb1 -[NSApplication(NSEvent) sendEvent:] + 345
50  IDEKit                                 0x10fbc07df -[IDEApplication sendEvent:] + 831
51  AppKit                              0x7ff8047186fe -[NSApplication _handleEvent:] + 65
52  AppKit                              0x7ff8042ed75d -[NSApplication run] + 623
53  DVTKit                                 0x10bbf72ef -[DVTApplication run] + 54
54  AppKit                              0x7ff8042c1951 NSApplicationMain + 817
55  dyld                                0x7ff800e2a41f start + 1903
......

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007ff844861780  rcx: 0x00007ff7b257dd98  rdx: 0x0000000000000000
  rdi: 0x0000000000000103  rsi: 0x0000000000000006  rbp: 0x00007ff7b257ddc0  rsp: 0x00007ff7b257dd98
   r8: 0x00007ffffffffff8   r9: 0x0000000112ef99e1  r10: 0x0000000000000000  r11: 0x0000000000000246
  r12: 0x0000000000000103  r13: 0x00007ff820132088  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007ff80114c1e2  rfl: 0x0000000000000246  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x02000148 
Trap Number:     133
......
上一篇下一篇

猜你喜欢

热点阅读