Open blueswhen opened 3 years ago
I could not reproduce it on Xcode 13.1, macOS 11.6 M1 mac. let me know how to reproduce crash when you know and crash report log.
I could not reproduce it on Xcode 13.1, macOS 11.6 M1 mac. let me know how to reproduce crash when you know and crash report log.
Process: Xcode [30104] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 13.1 (19466) Build Info: IDEFrameworks-19466000000000000~20 (13A1030d) App Item ID: 497799835 App External ID: 844664792 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [30104] User ID: 501
Date/Time: 2021-11-28 17:23:31.004 +0800 OS Version: macOS 11.6.1 (20G224) Report Version: 12 Bridge OS Version: 6.0 (19P548) Anonymous UUID: A584382A-012B-76AC-2873-0327D6B132EC
Sleep/Wake UUID: E91A5FF9-379D-4FAD-A463-DDB7F1E04DE4
Time Awake Since Boot: 1300000 seconds Time Since Wake: 28000 seconds
System Integrity Protection: disabled
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: ProductBuildVersion: 13A1030d abort() called Xcode(30104,0x101a1ce00) malloc: *** error for object 0x7f8af627f871: pointer being freed was not allocated
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff2045992e pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff204885bd pthread_kill + 263 2 libsystem_c.dylib 0x00007fff203dd406 abort + 125 3 libsystem_malloc.dylib 0x00007fff202bd165 malloc_vreport + 548 4 libsystem_malloc.dylib 0x00007fff202c02aa malloc_report + 151 5 ??? 000000000000000000 0 + 0 6 com.apple.dt.SourceEditor 0x0000000139597254 SourceEditorView.scrollTo(range:anchorToStart:placement:offset:onlyVertically:animated:) + 916 7 com.apple.dt.SourceEditor 0x0000000139596cec SourceEditorView.scrollToSelection(scrollPlacement:alwaysScroll:) + 668 8 com.apple.dt.SourceEditor 0x00000001395b511b partial apply for closure #1 in SourceEditorView.queueScrollToSelection(scrollPlacement:alwaysScroll:) + 91 9 com.apple.dt.SourceEditor 0x0000000139814e61 partial apply for thunk for @escaping @callee_guaranteed () -> () + 17 10 com.apple.dt.SourceEditor 0x00000001398175e9 thunk for @escaping @calleeguaranteed () -> ()partial apply + 9 11 com.apple.dt.SourceEditor 0x0000000139814a78 specialized Continuation.run() + 24 12 com.apple.dt.SourceEditor 0x0000000139815ed4 ContinuationScheduler.runScheduledContinuations() + 260 13 com.apple.dt.SourceEditor 0x000000013959eaee SourceEditorView.layoutManager(:didFinishLayoutInContentView:) + 142 14 com.apple.dt.SourceEditor 0x00000001398aaafc SourceEditorLayoutManager.didLayoutVisibleLinesInContentView(:) + 1644 15 com.apple.dt.SourceEditor 0x000000013989bd1f SourceEditorLayoutManager.layoutContentView(:) + 927 16 com.apple.dt.SourceEditor 0x00000001395c0ba4 @objc SourceEditorContentView.layoutSublayers(of:) + 84 17 com.apple.QuartzCore 0x00007fff26d0f373 -[CALayer layoutSublayers] + 326 18 com.apple.AppKit 0x00007fff23000f68 -[_NSBackingLayer layoutSublayers] + 145 19 com.apple.AppKit 0x00007fff23000ead -[_NSViewBackingLayer layoutSublayers] + 109 20 com.apple.QuartzCore 0x00007fff26d0ecd9 CA::Layer::layout_if_needed(CA::Transaction) + 619 21 com.apple.QuartzCore 0x00007fff26e5abe3 CA::Context::commit_transaction(CA::Transaction, double, double*) + 655 22 com.apple.QuartzCore 0x00007fff26cf0b6f CA::Transaction::commit() + 713 23 com.apple.AppKit 0x00007fff22f0b86c 62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 285 24 com.apple.AppKit 0x00007fff23661332 _NSRunLoopObserverCreateWithHandler_block_invoke + 41 25 com.apple.CoreFoundation 0x00007fff2057f671 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23 26 com.apple.CoreFoundation 0x00007fff2057f505 CFRunLoopDoObservers + 543 27 com.apple.CoreFoundation 0x00007fff2057e998 __CFRunLoopRun + 841 28 com.apple.CoreFoundation 0x00007fff2057df8c CFRunLoopRunSpecific + 563 29 com.apple.HIToolbox 0x00007fff287c5a83 RunCurrentEventLoopInMode + 292 30 com.apple.HIToolbox 0x00007fff287c56b6 ReceiveNextEventCommon + 284 31 com.apple.HIToolbox 0x00007fff287c5583 _BlockUntilNextEventMatchingListInModeWithFilter + 70 32 com.apple.AppKit 0x00007fff22d87172 _DPSNextEvent + 864 33 com.apple.AppKit 0x00007fff22d85945 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364 34 com.apple.dt.DVTKit 0x0000000101585374 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 368 35 com.apple.AppKit 0x00007fff22d77c69 -[NSApplication run] + 586 36 com.apple.dt.DVTKit 0x00000001015845f4 -[DVTApplication run] + 54 37 com.apple.AppKit 0x00007fff22d4be6c NSApplicationMain + 816 38 libdyld.dylib 0x00007fff204a3f3d start + 1
Thread 1: 0 libsystem_pthread.dylib 0x00007fff20484420 start_wqthread + 0
Thread 2: 0 libsystem_kernel.dylib 0x00007fff204532ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff2045362c mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff2058049f CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x00007fff2057eb7f CFRunLoopRun + 1328 4 com.apple.CoreFoundation 0x00007fff2057df8c CFRunLoopRunSpecific + 563 5 com.apple.Foundation 0x00007fff2130f607 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 6 com.apple.DTDeviceKitBase 0x000000012061faff +[DTDKRemoteDeviceConnection startServiceBrowsers] + 188 7 com.apple.Foundation 0x00007fff21308437 NSThreadstart__ + 1068 8 libsystem_pthread.dylib 0x00007fff204888fc _pthread_start + 224 9 libsystem_pthread.dylib 0x00007fff20484443 thread_start + 15
Thread 3: 0 libsystem_kernel.dylib 0x00007fff204532ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff2045362c mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff2058049f CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x00007fff2057eb7f CFRunLoopRun + 1328 4 com.apple.CoreFoundation 0x00007fff2057df8c CFRunLoopRunSpecific + 563 5 com.apple.Foundation 0x00007fff2130f607 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 6 com.apple.DTDeviceKitBase 0x000000012062d6f0 -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 242 7 com.apple.Foundation 0x00007fff21308437 NSThreadstart__ + 1068 8 libsystem_pthread.dylib 0x00007fff204888fc _pthread_start + 224 9 libsystem_pthread.dylib 0x00007fff20484443 thread_start + 15
Thread 4:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff2045b656 select + 10 1 com.apple.CoreFoundation 0x00007fff205a6a03 CFSocketManager + 630 2 libsystem_pthread.dylib 0x00007fff204888fc _pthread_start + 224 3 libsystem_pthread.dylib 0x00007fff20484443 thread_start + 15
Thread 5:: JavaScriptCore bmalloc scavenger
0 libsystem_kernel.dylib 0x00007fff20455cde psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff20488e49 _pthread_cond_wait + 1298
2 libc++.1.dylib 0x00007fff203f1d72 std::__1::condition_variable::wait(std::1::unique_lock
Thread 6:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff204532ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff2045362c mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff2058049f CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x00007fff2057eb7f CFRunLoopRun + 1328 4 com.apple.CoreFoundation 0x00007fff2057df8c CFRunLoopRunSpecific + 563 5 com.apple.AppKit 0x00007fff22f0d23a _NSEventThread + 124 6 libsystem_pthread.dylib 0x00007fff204888fc _pthread_start + 224 7 libsystem_pthread.dylib 0x00007fff20484443 thread_start + 15
Thread 7:: DYMobileDeviceManager 0 libsystem_kernel.dylib 0x00007fff204532ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff2045362c mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff2058049f CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x00007fff2057eb7f CFRunLoopRun + 1328 4 com.apple.CoreFoundation 0x00007fff2057df8c CFRunLoopRunSpecific + 563 5 com.apple.Foundation 0x00007fff2130f607 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 6 com.apple.Foundation 0x00007fff2139d4d1 -[NSRunLoop(NSRunLoop) run] + 76 7 com.apple.GPUToolsMobileFoundation 0x000000013dbc15e5 -[DYMobileDeviceManager _deviceNotificationThread:] + 127 8 com.apple.Foundation 0x00007fff21308437 NSThreadstart__ + 1068 9 libsystem_pthread.dylib 0x00007fff204888fc _pthread_start + 224 10 libsystem_pthread.dylib 0x00007fff20484443 thread_start + 15
Thread 8: 0 libsystem_kernel.dylib 0x00007fff204532ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff2045362c mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff2058049f CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x00007fff2057eb7f CFRunLoopRun + 1328 4 com.apple.CoreFoundation 0x00007fff2057df8c CFRunLoopRunSpecific + 563 5 com.apple.CoreFoundation 0x00007fff206048b2 CFRunLoopRun + 40 6 com.apple.dt.IDE.SwiftPM 0x00000001438c09ee closure #1 in FSEventStream.start() + 254 7 com.apple.dt.IDE.SwiftPM 0x000000014388bada closure #1 in Thread.init(task:) + 106 8 com.apple.dt.IDE.SwiftPM 0x000000014388bbfe thunk for @escaping @callee_guaranteed () -> () + 14 9 com.apple.dt.IDE.SwiftPM 0x000000014388bbd6 @objc ThreadImpl.main() + 38 10 com.apple.Foundation 0x00007fff21308437 NSThreadstart__ + 1068 11 libsystem_pthread.dylib 0x00007fff204888fc _pthread_start + 224 12 libsystem_pthread.dylib 0x00007fff20484443 thread_start + 15
Thread 9: 0 libsystem_pthread.dylib 0x00007fff20484420 start_wqthread + 0
Thread 10: 0 libsystem_pthread.dylib 0x00007fff20484420 start_wqthread + 0
Thread 11: 0 libsystem_pthread.dylib 0x00007fff20484420 start_wqthread + 0
Thread 12: 0 libsystem_pthread.dylib 0x00007fff20484420 start_wqthread + 0
Thread 13: 0 libsystem_pthread.dylib 0x00007fff20484420 start_wqthread + 0
Thread 14: 0 libsystem_pthread.dylib 0x00007fff20484420 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000000101a1ce00 rcx: 0x00007ffeef0b6ec0 rdx: 0x0000000000000000 rdi: 0x0000000000000103 rsi: 0x0000000000000006 rbp: 0x00007ffeef0b6ee8 rsp: 0x00007ffeef0b6ec0 r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000246 r12: 0x0000000000000103 r13: 0x0000000000000050 r14: 0x0000000000000006 r15: 0x0000000000000016 rip: 0x00007fff2045992e rfl: 0x0000000000000246 cr2: 0x00000001342be000
Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133
Thread 0 instruction stream not available.
Thread 0 last branch register state not available.
Binary Images:
0x100b45000 - 0x100b48fff com.apple.dt.Xcode (13.1 - 19466) <2A2102D0-8568-3C00-A315-190106CC08C3> /Applications/Xcode.app/Contents/MacOS/Xcode
0x100b59000 - 0x100b88fff com.apple.dt.DVTCocoaAdditionsKit (13.1 - 19457) <75FCEA41-DC17-3515-AB6A-3275C498EF58> /Applications/Xcode.app/Contents/SharedFrameworks/DVTCocoaAdditionsKit.framework/Versions/A/DVTCocoaAdditionsKit
0x100bbe000 - 0x10121dfff com.apple.dt.DVTFoundation (13.1 - 19457) <8E13E1D1-E349-3456-912F-A7810BE0098E> /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
0x10156e000 - 0x1016f5fff com.apple.dt.DVTKit (13.1 - 19457)
use ctrl+v, then push "J" button will result in crash in the xcode 13.1 of the macOS Big Sur 11.6.1 in the macbook pro 2019. Not every time but often. Many thanks if you can fix the crash.