安装系统更新后,我的Mac mini根本无法启动,或者也许只有在停留在启动屏幕上几个小时后才能启动。
我在/var/log/system.log中找到了以下内容(重复很多时间):
Nov 8 08:30:03 mac com.apple.xpc.launchd[1] (com.apple.lsd[65134]): Service exited due to signal: Segmentation fault: 11 sent by exc handler[0]
Nov 8 08:30:03 mac logd[79]: metadata shared cached uuid is null (using logd's shared cache info) lsd (65135)
Nov 8 08:30:03 mac logd[79]: Failed to harvest strings for pathless uuid '00000000-0000-0000-0000-000000000000'
Nov 8 08:30:03 mac ReportCrash[65063]: Saved crash report for lsd[65134] version 775.8.2 to /Library/Logs/DiagnosticReports/lsd_2016-11-08-083003_mac.crash
Nov 8 08:30:04 mac logd[79]: metadata shared cached uuid is null (using logd's shared cache info) logKextDaemon (65136)
Nov 8 08:30:04 mac logd[79]: Failed to harvest strings for pathless uuid '00000000-0000-0000-0000-000000000000'
Nov 8 08:30:04 mac com.apple.xpc.launchd[1] (com.apple.lsd[65135]): Service exited due to signal: Segmentation fault: 11 sent by exc handler[0]
Nov 8 08:30:05 mac logd[79]: metadata shared cached uuid is null (using logd's shared cache info) lsd (65137)
Nov 8 08:30:05 mac logd[79]: Failed to harvest strings for pathless uuid '00000000-0000-0000-0000-000000000000'
Nov 8 08:30:05 mac com.apple.xpc.launchd[1] (com.fsb.logKext[65136]): Service exited with abnormal code: 1
Nov 8 08:30:05 mac com.apple.xpc.launchd[1] (com.fsb.logKext): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 8 08:30:05 mac ReportCrash[65063]: Saved crash report for lsd[65135] version 775.8.2 to /Library/Logs/DiagnosticReports/
lsd_2016-11-08-083005_mac.crash
lsd的崩溃报告包含以下堆栈跟踪:
Thread 12 Crashed:: Dispatch queue: com.apple.lsd.database
0 com.apple.LaunchServices 0x000000011126ab81 _UTTypeRemove + 76
1 com.apple.LaunchServices 0x0000000111218fe3 _LSBundleRemove + 500
2 com.apple.LaunchServices 0x0000000111241565 _LSServerItemInfoRegistration + 1765
3 com.apple.LaunchServices 0x0000000111243615 ___ZL23_LSDispatchRegistrationP9LSContextPKcPK18LSRegistrationInfoPK8__CFDataS8_PK7__CFURLPK14__CFDictionaryPjPPK9__CFArrayPh_block_invoke + 188
4 com.apple.LaunchServices 0x000000011123c5ab _LSDispatchRegistration(LSContext*, char const*, LSRegistrationInfo const*, __CFData const*, __CFData const*, __CFURL const*, __CFDictionary const*, unsigned int*, __CFArray const**, unsigned char*) + 470
5 com.apple.LaunchServices 0x000000011123b248 _LSRegisterLibrary + 918
6 com.apple.LaunchServices 0x0000000111229f2d _LSRegisterLibraryBundle + 54
7 com.apple.LaunchServices 0x00000001111f0ccb -[LSDatabaseBuilder registerLibraries] + 271
8 libdispatch.dylib 0x0000000112381f5f _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x0000000112379128 _dispatch_client_callout + 8
10 libdispatch.dylib 0x0000000112391413 _dispatch_queue_concurrent_drain + 1423
11 libdispatch.dylib 0x0000000112381d5a _dispatch_queue_invoke + 1071
12 libdispatch.dylib 0x0000000112388158 _dispatch_queue_override_invoke + 369
13 libdispatch.dylib 0x000000011237aee0 _dispatch_root_queue_drain + 476
14 libdispatch.dylib 0x000000011237acb7 _dispatch_worker_thread3 + 99
15 libsystem_pthread.dylib 0x0000000112732736 _pthread_wqthread + 1299
16 libsystem_pthread.dylib 0x0000000112732211 start_wqthread + 13
有人知道如何解决此问题吗?
大海捞针-但您可以尝试将“ / private / var / db / lsd /”目录重命名为其他目录,并查看它是否可以在下次重新启动时重建文件而不会出错。
—
jksoegaard,2016年
@jksoegaard我的系统上没有这样的目录
—
iosdude
您是否找到/ private / var / db目录?-也就是说,您到底错过了哪一部分?
—
jksoegaard,2016年
我找到了@jksoegaard,
—
iosdude
/private/var/db
但是那里没有lsd
目录。我想我会删除此问题,因为我已经擦除了整个磁盘,现在重新安装系统。无论如何,谢谢您的帮助!