几个星期以来,我的 MacBook Pro 会完全冻结 10-20 秒,鼠标除外。我可以自由移动鼠标,但其他所有东西都保持锁定状态。音量按钮不起作用,音乐继续播放,但从视觉上看,除了鼠标之外的所有东西都处于锁定状态。
我尝试过检查 console.app 中的系统日志,但是发生这种情况时噪音太大 - 我完全不确定如何过滤掉可能更好地了解正在发生的事情。
我确实怀疑这是否是 GPU 老化造成的,因为通常任何打开的 UI 似乎在冻结后都会刷新。Slack、chrome、outlook 或任何其他打开窗口的应用程序似乎都会在视觉上清除并重新加载窗口。
有人知道我该如何深入调查吗?我对终端很熟悉。
编辑:似乎有时发生这种情况时,某些后台帮助程序会崩溃。它并不总是同一个帮助程序,但我见过这种情况发生在任何似乎使用电子框架的程序上。例如,Skype:
Process: Skype Helper [1818]
Path: /Applications/Skype.app/Contents/Frameworks/Skype Helper.app/Contents/MacOS/Skype Helper
Identifier: Skype Helper
Version: 0
Code Type: X86-64 (Native)
Parent Process: Skype [1814]
Responsible: Skype [1814]
User ID: 778701435
Date/Time: 2019-06-04 12:10:59.346 +0100
OS Version: Mac OS X 10.14.5 (18F132)
Report Version: 12
Anonymous UUID: 8AD07C6C-3EFE-5D39-B58B-393D95473947
Sleep/Wake UUID: 2040C466-8BB3-4DE0-B29B-36AEA64EB560
Time Awake Since Boot: 240000 seconds
Time Since Wake: 9700 seconds
System Integrity Protection: enabled
Crashed Thread: 1 Watchdog
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 0000000104cd3000-0000000104cd4000 [ 4K] r-x/rwx SM=COW /Applications/Skype.app/Contents/Frameworks/Skype Helper.app/Contents/MacOS/Skype Helper
Thread 0:: CrGpuMain Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff7305222a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff7305276c mach_msg + 60
2 com.apple.framework.IOKit 0x00007fff498f4f13 io_connect_method + 374
3 com.apple.framework.IOKit 0x00007fff498f4d75 IOConnectCallMethod + 244
4 com.apple.framework.IOKit 0x00007fff498f55ab IOConnectCallStructMethod + 38
5 com.apple.IOAccelerator 0x00007fff64361cb9 IOAccelContextSubmitDataBuffersExt2 + 258
6 libGPUSupportMercury.dylib 0x00007fff620845ce gpusSubmitDataBuffers + 136
7 com.apple.AMDRadeonX4000GLDriver 0x000000010ef6843a glrATI_Hwl_SubmitPacketsWithToken + 110
8 com.github.electron.framework 0x00000001073b2d0b 0x104ce1000 + 40705291
9 com.github.electron.framework 0x0000000106b59a9d 0x104ce1000 + 31951517
10 com.github.electron.framework 0x0000000106b59fc8 0x104ce1000 + 31952840
11 com.github.electron.framework 0x0000000106b5a6d2 0x104ce1000 + 31954642
12 com.github.electron.framework 0x0000000106a8cb7b 0x104ce1000 + 31112059
13 com.github.electron.framework 0x0000000106a9ee13 0x104ce1000 + 31186451
14 com.github.electron.framework 0x0000000106ae13a8 0x104ce1000 + 31458216
15 com.github.electron.framework 0x0000000106b60677 0x104ce1000 + 31979127
16 com.github.electron.framework 0x0000000106b604ac 0x104ce1000 + 31978668
17 com.github.electron.framework 0x0000000106b5f1f3 0x104ce1000 + 31973875
18 com.github.electron.framework 0x0000000106b66a57 0x104ce1000 + 32004695
19 com.github.electron.framework 0x0000000106b64fd2 0x104ce1000 + 31997906
20 com.github.electron.framework 0x0000000106adefbb 0x104ce1000 + 31449019
21 com.github.electron.framework 0x000000010806f301 0x104ce1000 + 54059777
22 com.github.electron.framework 0x00000001080c6c2c 0x104ce1000 + 54418476
23 com.github.electron.framework 0x00000001080c7398 0x104ce1000 + 54420376
24 com.github.electron.framework 0x00000001080d764a 0x104ce1000 + 54486602
25 com.github.electron.framework 0x0000000108050f2a 0x104ce1000 + 53935914
26 com.github.electron.framework 0x00000001080d6f6f 0x104ce1000 + 54484847
27 com.apple.CoreFoundation 0x00007fff4700c083 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
28 com.apple.CoreFoundation 0x00007fff4700c029 __CFRunLoopDoSource0 + 108
29 com.apple.CoreFoundation 0x00007fff46fef9eb __CFRunLoopDoSources0 + 195
30 com.apple.CoreFoundation 0x00007fff46feefb5 __CFRunLoopRun + 1189
31 com.apple.CoreFoundation 0x00007fff46fee8be CFRunLoopRunSpecific + 455
32 com.apple.Foundation 0x00007fff492528ef -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280
33 com.github.electron.framework 0x00000001080d7b5e 0x104ce1000 + 54487902
34 com.github.electron.framework 0x00000001080d6a8e 0x104ce1000 + 54483598
35 com.github.electron.framework 0x0000000108031cc5 0x104ce1000 + 53808325
36 com.github.electron.framework 0x00000001062d2604 0x104ce1000 + 23008772
37 com.github.electron.framework 0x00000001062d5509 0x104ce1000 + 23020809
38 com.github.electron.framework 0x0000000108ab68b2 0x104ce1000 + 64837810
39 com.github.electron.framework 0x00000001062d4a54 0x104ce1000 + 23018068
40 com.github.electron.framework 0x0000000104ce2f84 AtomMain + 68
41 com.skype.skype.Helper 0x0000000104cd3f89 main + 9
42 libdyld.dylib 0x00007fff72f1d3d5 start + 1
Thread 1 Crashed:: Watchdog
0 com.github.electron.framework 0x0000000106b5bb19 0x104ce1000 + 31959833
1 com.github.electron.framework 0x000000010806f301 0x104ce1000 + 54059777
2 com.github.electron.framework 0x00000001080c6c2c 0x104ce1000 + 54418476
3 com.github.electron.framework 0x00000001080c74d6 0x104ce1000 + 54420694
4 com.github.electron.framework 0x00000001080c78dc 0x104ce1000 + 54421724
5 com.github.electron.framework 0x0000000108031cc5 0x104ce1000 + 53808325
6 com.github.electron.framework 0x0000000108063153 0x104ce1000 + 54010195
7 com.github.electron.framework 0x000000010806645d 0x104ce1000 + 54023261
8 libsystem_pthread.dylib 0x00007fff731112eb _pthread_body + 126
9 libsystem_pthread.dylib 0x00007fff73114249 _pthread_start + 66
10 libsystem_pthread.dylib 0x00007fff7311040d thread_start + 13
发生这种情况后,崩溃日志始终是同一种类型,其中包括以下详细信息:
Thread 0:: CrGpuMain Dispatch queue: com.apple.main-thread