Sto incontrando uno strano problema su un server Web che esegue OS X Server 10.6.8. Qualsiasi app che provo ad aprire termina immediatamente in modo anomalo con un errore di segmentazione. Questo vale per le app gui come Safari o Calcolatrice, ma anche strumenti a riga di comando come xcodebuild
. Le app attualmente in esecuzione sembrano continuare a essere pubblicate, ma non è possibile avviare nuove app.
$ xcodebuild -version
Segmentation fault
Questo è il registro degli arresti anomali per xcodebuild
:
Process: xcodebuild [38950]
Path: /Developer/usr/bin/xcodebuild
Identifier: xcodebuild
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [38887]
Date/Time: 2014-09-26 10:48:45.110 -0400
OS Version: Mac OS X Server 10.6.8 (10K549)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000010f0e5400
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ...ple.CoreServices.CarbonCore 0x00007fff82f81639 _SCUniverseGetEntryAddress + 76
1 ...ple.CoreServices.CarbonCore 0x00007fff82f876d3 FileIDTree_FindVolumeRecordFromDeviceID + 41
2 ...ple.CoreServices.CarbonCore 0x00007fff82f875ff FileIDTreeGetVRefNumForDevice + 72
3 ...ple.CoreServices.CarbonCore 0x00007fff82f87547 FSMount::FSMount(unsigned int, FSMountNumberType, short*) + 73
4 ...ple.CoreServices.CarbonCore 0x00007fff82f85c19 PathGetObjectInfo(char const*, unsigned int, unsigned int, short*, unsigned int*, unsigned int*, char*, unsigned int*, unsigned char*) + 296
5 ...ple.CoreServices.CarbonCore 0x00007fff82f85a48 FSPathMakeRefInternal(unsigned char const*, unsigned int, unsigned int, FSRef*, unsigned char*) + 114
6 com.apple.Foundation 0x00007fff87799e20 -[NSFileManager directoryContentsAtPath:matchingExtension:options:keepExtension:error:] + 154
7 com.apple.Foundation 0x00007fff87799d84 -[NSFileManager contentsOfDirectoryAtPath:error:] + 35
8 com.apple.Xcode.DevToolsCore 0x000000010010002c -[XCPluginManager findAndLoadPluginsInDomain:] + 404
9 com.apple.Xcode.DevToolsCore 0x00000001000fa789 XCInitializeCoreIfNeeded + 3718
10 xcodebuild 0x000000010000a864 0x100000000 + 43108
11 xcodebuild 0x0000000100001c04 0x100000000 + 7172
Ecco un registro di crash da Calculator.app. Come puoi vedere, mostrano molte somiglianze ( _SCUniverseGetEntryAddress
, FileIDTree_FindVolumeRecordFromDeviceID
, ecc.)
Process: Calculator [39201]
Path: /Applications/Calculator.app/Contents/MacOS/Calculator
Identifier: Calculator
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [65837]
Date/Time: 2014-09-26 10:52:46.112 -0400
OS Version: Mac OS X Server 10.6.8 (10K549)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000011fb9d800
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ...ple.CoreServices.CarbonCore 0x00007fff82f81639 _SCUniverseGetEntryAddress + 76
1 ...ple.CoreServices.CarbonCore 0x00007fff82f876d3 FileIDTree_FindVolumeRecordFromDeviceID + 41
2 ...ple.CoreServices.CarbonCore 0x00007fff82f875ff FileIDTreeGetVRefNumForDevice + 72
3 ...ple.CoreServices.CarbonCore 0x00007fff82f87547 FSMount::FSMount(unsigned int, FSMountNumberType, short*) + 73
4 ...ple.CoreServices.CarbonCore 0x00007fff82f85c19 PathGetObjectInfo(char const*, unsigned int, unsigned int, short*, unsigned int*, unsigned int*, char*, unsigned int*, unsigned char*) + 296
5 ...ple.CoreServices.CarbonCore 0x00007fff82f85a48 FSPathMakeRefInternal(unsigned char const*, unsigned int, unsigned int, FSRef*, unsigned char*) + 114
6 com.apple.Foundation 0x00007fff87799e20 -[NSFileManager directoryContentsAtPath:matchingExtension:options:keepExtension:error:] + 154
7 com.apple.Foundation 0x00007fff87799d84 -[NSFileManager contentsOfDirectoryAtPath:error:] + 35
8 com.apple.AppKit 0x00007fff86701fc7 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 286
9 com.apple.AppKit 0x00007fff86701dd9 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 326
10 com.apple.AppKit 0x00007fff866ff35b NSApplicationMain + 279
11 com.apple.calculator 0x0000000100001940 0x100000000 + 6464
Quindi, cosa dà? Sono tentato di riavviare, ma con un problema così grave mi preoccupo che il sistema operativo non venga affatto ripristinato.