Mac 异常死机,多次发生.

2022-11-29 14:05:21 +08:00
 hay313955795

先说一下设备情况:17 款的 macbook pro.

描述一下情况.

电脑插电使用,经常用着用着就死机,鼠标不能动,再隔一段时间就会自动重启,然后再次使用隔一段时间又会重复之前的死机.

个人猜测:

之前以为是公司的电流不稳才会导致这个问题,后来有一天在家里插电用的时候也会发生这个情况.

然后观察了几次发现,当笔记本电池电量不足的时候电脑会有一定几率的情况死机.如果插上电源让电脑电量充到一定程度,大概率就不会发生死机的情况

不知道还有没有 xd 遇到和我一样的情况.印象里再发生这个情况之前也没有进行系统升级的操作.

想问下这个情况要怎么解决???有时间写代码的时候突然死机,就很恼火.
1917 次点击
所在节点    macOS
8 条回复
yuanmomo
2022-11-29 14:15:28 +08:00
mac 有个系统日志,如果你是程序员,应该很容易看懂。

曾经通过看 mac 日志解决了好几个问题:使用中无故重启,timemachine 不能备份,开盖后总是会自动重启
hay313955795
2022-11-29 14:20:28 +08:00
@yuanmomo 也看过,但是看不太懂..
justin2018
2022-11-29 17:34:52 +08:00
开了文件保险柜?
zhaoxin
2022-11-30 07:24:13 +08:00
@hay313955795 看不懂可以截图贴上来啊。
TakaObsid
2022-12-02 13:30:09 +08:00
同样有这个问题,我是 20 款 pro ,从之前 Big Sur 的时候就出现了时不时登出的情况。最近每天中午看网课直播都会固定登出一次。
刚才又重启了,我立刻看了一下 system.log ,登出前后日志如下:
```
Dec 2 12:59:30 LeyLines AMPDevicesAgent[30882]: Entered:_AMMuxedVersion2DeviceConnected, mux-device:527
Dec 2 12:59:30 LeyLines MobileDeviceUpdater[92050]: Entered:_AMMuxedVersion2DeviceConnected, mux-device:527
Dec 2 12:59:30 LeyLines AMPDeviceDiscoveryAgent[92076]: Entered:_AMMuxedVersion2DeviceConnected, mux-device:527
Dec 2 13:07:04 LeyLines syslogd[129]: ASL Sender Statistics
Dec 2 13:08:42 LeyLines sessionlogoutd[76624]: DEAD_PROCESS: 91914 console
Dec 2 13:08:55 LeyLines loginwindow[76628]: USER_PROCESS: 76628 console
```
但是 logoutd 前后的日志和重启这件事情似乎并无关联,不知道怎么继续排查。
hay313955795
2022-12-08 10:27:50 +08:00
panic(cpu 2 caller 0xffffff80213449ad): userspace watchdog timeout: no successful checkins from WindowServer in 120 seconds
service: logd, total successful checkins since load (870 seconds ago): 88, last successful checkin: 0 seconds ago
service: WindowServer, total successful checkins since load (840 seconds ago): 72, last successful checkin: 120 seconds ago
service: opendirectoryd, total successful checkins since load (870 seconds ago): 87, last successful checkin: 0 seconds ago

Panicked task 0xffffff8b7f34a700: 3 threads: pid 113: watchdogd
Backtrace (CPU 2), panicked thread: 0xffffff86b315a000, Frame : Return Address
0xffffffd099843670 : 0xffffff801de83e1d
0xffffffd0998436c0 : 0xffffff801dfe3ca6
0xffffffd099843700 : 0xffffff801dfd34fd
0xffffffd099843750 : 0xffffff801de23a60
0xffffffd099843770 : 0xffffff801de841ed
0xffffffd099843890 : 0xffffff801de839a6
0xffffffd0998438f0 : 0xffffff801e716563
0xffffffd0998439e0 : 0xffffff80213449ad
0xffffffd0998439f0 : 0xffffff8021344600
0xffffffd099843a10 : 0xffffff80213439c7
0xffffffd099843b40 : 0xffffff801e6848bc
0xffffffd099843ca0 : 0xffffff801df8a196
0xffffffd099843db0 : 0xffffff801de8a6cb
0xffffffd099843e10 : 0xffffff801de5ecf3
0xffffffd099843e60 : 0xffffff801de75249
0xffffffd099843ef0 : 0xffffff801dfb6198
0xffffffd099843fa0 : 0xffffff801de24246
Kernel Extensions in backtrace:
com.apple.driver.watchdog(1.0)[01A90A91-CE41-37C4-A5C0-BBD735087472]@0xffffff8021342000->0xffffff8021344fff

Process name corresponding to current thread (0xffffff86b315a000): watchdogd

Mac OS version:
21E230

Kernel version:
Darwin Kernel Version 21.4.0: Mon Feb 21 20:34:37 PST 2022; root:xnu-8020.101.4~2/RELEASE_X86_64
Kernel UUID: 9619904E-EA6D-3D08-89C4-B1C0451D39B8
KernelCache slide: 0x000000001dc00000
KernelCache base: 0xffffff801de00000
Kernel slide: 0x000000001dc10000
Kernel text base: 0xffffff801de10000
__HIB text base: 0xffffff801dd00000
System model name: MacBookPro14,3 (Mac-551B86E5744E2388)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 890416007374
Last Sleep: absolute base_tsc base_nano
Uptime : 0x000000cf50ee1149
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x0000000414364f19 0x0000000000000000
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
Foreign : 0xffffff8033ead000 - 0xffffff8033ebb000
Native : 0xffffff804c0e0000 - 0xffffffa04c0e0000
Readonly: 0xffffff8518dac000 - 0xffffff86b2745000
Metadata: 0xffffffeeef73e000 - 0xffffffef0f8c1000
Bitmaps : 0xffffffef0f8c1000 - 0xffffffef158c1000

last started kext at 113205175032: @filesystems.smbfs 4.0 (addr 0xffffff7fb733a000, size 483328)
last stopped kext at 261985895536: >!AThunderboltEDMSink 5.0.3 (addr 0xffffff7fb6bc5000, size 32768)
loaded kexts:
com.intel.kext.intelhaxm 7.6.5
@filesystems.smbfs 4.0
>!AMikeyHIDDriver 131
>AudioAUUC 1.70
>!APlatformEnabler 2.7.0d0
>AGPM 127
>X86PlatformShim 1.0.0
@filesystems.autofs 3.0
>!AHIDALSService 1
@kext.AMDFramebuffer 4.0.8
@kext.AMDRadeonX4000 4.0.8
@kext.AMDRadeonServiceManager 4.0.8
>!AUpstreamUserClient 3.6.9
>eficheck 1
>!A!IPCHPMC 2.0.1
>!AGraphicsDevicePolicy 6.5.4
@AGDCPluginDisplayMetrics 6.5.4
>pmtelemetry 1
|IOUserEthernet 1.0.1
>usb.!UUserHCI 1
>!AHDA 340.2
>!AHV 1
>!AMuxControl 6.5.4
>!AGFXHDA 140.3
>!ADiskImages2 126.100.13
@kext.AMD9500!C 4.0.8
>!A!IKBLGraphics 18.0.5
>!A!ISlowAdaptiveClocking 4.0.0
>AGDCBacklightControl 6.5.4
>SMCMotionSensor 3.0.4d1
>!AMCCSControl 1.15
>!A!IKBLGraphicsFramebuffer 18.0.5
>!AEmbeddedOSSupportHost 1
>!AThunderboltIP 4.0.3
>!AFileSystemDriver 3.0.1
@filesystems.tmpfs 1
@filesystems.lifs 1
@filesystems.hfs.kext 583.100.10
@BootCache 40
@!AFSCompression.!AFSCompressionTypeZlib 1.0.0
@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
>!ATopCaseHIDEventDriver 5440.11
@filesystems.apfs 1934.101.3
>AirPort.BrcmNIC 1400.1.1
@private.KextAudit 1.0
>!ASmartBatteryManager 161.0.0
>!AACPIButtons 6.1
>!ARTC 2.0.1
>!ASMBIOS 2.1
>!AACPIEC 6.1
>!AAPIC 1.7
@!ASystemPolicy 2.0.0
@nke.applicationfirewall 402
|IOKitRegistryCompatibility 1
|EndpointSecurity 1
@Dont_Steal_Mac_OS_X 7.0.0
@kec.!AEncryptedArchive 1
@kext.triggers 1.0
@kext.AMDRadeonX4100HWLibs 1.0
@kext.AMDRadeonX4000HWServices 4.0.8
>usb.IOUSBHostHIDDevice 1.2
>DspFuncLib 340.2
@kext.OSvKernDSPLib 529
|IO!BSerialManager 9.0.0
|IO!BPacketLogger 9.0.0
|IO!BHost!CUSBTransport 9.0.0
|IO!BHost!CUARTTransport 9.0.0
|IO!BHost!CTransport 9.0.0
>IO!BHost!CPCIeTransport 9.0.0
|IOAVB!F 1040.6
@plugin.IOgPTPPlugin 1040.3
|IOEthernetAVB!C 1.1.0
|CSR!BHost!CUSBTransport 9.0.0
|Broadcom!BHost!CUSBTransport 9.0.0
|Broadcom!B20703USBTransport 9.0.0
>!AIPAppender 1.0
>!AGraphicsControl 6.5.4
@kext.AMDSupport 4.0.8
>!AHDA!C 340.2
|IOHDA!F 340.2
|IOAudio!F 340.2
@vecLib.kext 1.2.0
@!AGPUWrangler 6.5.4
|IOSlowAdaptiveClocking!F 1.0.0
>!ABacklightExpert 1.1.0
|IONDRVSupport 594
>!ASMBus!C 1.0.18d1
>X86PlatformPlugin 1.0.0
>IOPlatformPlugin!F 6.0.0d8
|IOAccelerator!F2 462.8
@!AGraphicsDeviceControl 6.5.4
|IOGraphics!F 594
>!A!ILpssUARTv1 3.0.60
>!A!ILpssUARTCommon 3.0.60
>!AOnboardSerial 1.0
|IOSerial!F 11
>!AThunderboltDPOutAdapter 8.5.1
>usb.cdc.ncm 5.0.0
>usb.cdc.ecm 5.0.0
>usb.!UiBridge 1.0
>usb.cdc 5.0.0
>usb.networking 5.0.0
>usb.!UHostCompositeDevice 1.2
>!AThunderboltDPInAdapter 8.5.1
>!AThunderboltDPAdapter!F 8.5.1
>!AThunderboltPCIDownAdapter 4.1.1
>!ABSDKextStarter 3
|IOSurface 302.14
@filesystems.hfs.encodings.kext 1
>!AActuatorDriver 5440.11
>!AHIDKeyboard 228.1
>!AMultitouchDriver 5440.11
>!AInputDeviceSupport 5440.6
>!AHS!BDriver 5440.11
>IO!BHIDDriver 9.0.0
>!AHSSPIHIDDriver 63
>!AXsanScheme 3
>!AThunderboltNHI 7.2.81
|IONVMe!F 2.1.0
|IO80211!FLegacy 1200.12.2b1
|IOSkywalk!F 1.0
>mDNSOffloadUserClient 1.0.1b8
>corecapture 1.0.4
>!AHSSPISupport 63
>!A!ILpssSpi!C 3.0.60
>!AHPM 3.4.4
|IOThunderbolt!F 9.3.3
>!A!ILpssI2C!C 3.0.60
>!A!ILpssDmac 3.0.60
>!A!ILpssI2C 3.0.60
>!A!ILpssGspi 3.0.60
>usb.!UXHCIPCI 1.2
>usb.!UXHCI 1.2
>usb.!UHostPacketFilter 1.0
|IOUSB!F 900.4.2
>!AEFINVRAM 2.1
>!AEFIRuntime 2.1
|IOSMBus!F 1.1
|IOHID!F 2.0.0
|IOTimeSync!F 1040.3
|IONetworking!F 3.4
>DiskImages 493.0.0
|IO!B!F 9.0.0
|IOReport!F 47
$quarantine 4
$sandbox 300.0
@kext.!AMatch 1.0.0d1
|CoreAnalytics!F 1
>!ASSE 1.0
>!AKeyStore 2
>!UTDM 533.100.11
|IOUSBMass!SDriver 210.101.2
|IOSCSIBlockCommandsDevice 456.100.7
|IO!S!F 2.1
|IOSCSIArchitectureModel!F 456.100.7
>!AMobileFileIntegrity 1.0.5
$!AImage4 4.2.0
@kext.CoreTrust 1
>!AFDEKeyStore 28.30
>!AEffaceable!S 1.0
>!ACredentialManager 1.0
>KernelRelayHost 1
|IOUSBHost!F 1.2
>!UHostMergeProperties 1.2
>usb.!UCommon 1.0
>!ABusPower!C 1.0
>!ASEPManager 1.0.1
>IOSlaveProcessor 1
>!AACPIPlatform 6.1
>!ASMC 3.1.9
|IOPCI!F 2.9
|IOACPI!F 1.4
>watchdog 1
@kec.pthread 1
@kec.Libm 1
@kec.corecrypto 12.0
KFCc
2022-12-13 12:05:16 +08:00
有段时间经常提示 电脑从异常关机中恢复 后来好了 现在用的 veture 完美, 18 款 Intel
xinqianbobo
2022-12-29 14:08:44 +08:00
我也遇到过,但是也遇到过不是卡着不动,而是鼠标指针只能在当前屏下移动并且鼠标指针处于左键单击状态,然后触控板其他手势失效,无法切屏,无法打开任何软件。 长时间无反应所以强制关机,关机关,风扇狂转 10-15 秒后,紫屏后重启。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/898783

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX