OS X10.8.5下安装XCode3.2.5重启导致系统崩溃

最近尝试做mac下的软件自动打包发布的工作,需要采用命令行方式编译程序。由于遗留代码是在OS X10.6系统上开发的,所以,希望能在OS X10.8系统上安装XCode3.2及其SDK。结果在完成XCode安装,重启电脑时系统崩溃。系统日志记录在附件中。

问题原因:CHUDKernLib
CHUD(Computer and Hardware Understanding Diagnosis Tools),此人Sjazbec解释地非常好。

修复步骤:
1. 长按shift进入安全模式;
2. 命令行删除CHUD相关文件

> sudo mount -uw /
> sudo rm -Rf /System/Library/Extensions/CHUD*

3. 命令行重启系统

reboot

此外,有不少方法是在OS X10.7版本上安装XCode3.2的文章,比如此篇,但无法解决为试图在OS X10.8上安装XCode3.2的需求,在此备注。

系统崩溃日志:

Interval Since Last Panic Report: 9685432 sec
Panics Since Last Report: 2
Anonymous UUID: 9BD28238-A256-B2F3-A27F-B54A954FA916

Wed Sep 9 11:00:49 2015
panic(cpu 3 caller 0xffffff8006ab8945): Kernel trap at 0xffffff7f8846525d, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0xffffff8000002020, CR3: 0x0000000008547000, CR4: 0x00000000001606e0
RAX: 0xffffff8006f41ca4, RBX: 0xffffff8014470800, RCX: 0x0000000001510000, RDX: 0xffffff8010774dc0
RSP: 0xffffff8084963e10, RBP: 0xffffff8084963e40, RSI: 0x0000000000010001, RDI: 0xffffff8010774dc0
R8: 0xffffff8084963c6b, R9: 0x0000000000000000, R10: 0xffffff8010da8c80, R11: 0x0000000000000000
R12: 0xffffff80144a5b00, R13: 0xffffff80120fe000, R14: 0xffffff8010772c00, R15: 0x0000000000000001
RFL: 0x0000000000010202, RIP: 0xffffff7f8846525d, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0xffffff8000002020, Error code: 0x0000000000000000, Fault CPU: 0x3

Backtrace (CPU 3), Frame : Return Address
0xffffff8084963ab0 : 0xffffff8006a1d636
0xffffff8084963b20 : 0xffffff8006ab8945
0xffffff8084963cf0 : 0xffffff8006acebfd
0xffffff8084963d10 : 0xffffff7f8846525d
0xffffff8084963e40 : 0xffffff7f884651cd
0xffffff8084963e60 : 0xffffff8006e3a05b
0xffffff8084963ea0 : 0xffffff8006e39b7e
0xffffff8084963f30 : 0xffffff8006e35b10
0xffffff8084963f70 : 0xffffff8006e3a6d9
0xffffff8084963fb0 : 0xffffff8006ab3257
Kernel Extensions in backtrace:
com.apple.iokit.CHUDKernLib(365.0)[69E5BA01-104E-8691-8915-902998D3ABCD]@0xffffff7f88464000->0xffffff7f8846bfff

BSD process name corresponding to current thread: kernel_task

Mac OS version:
12F45

Kernel version:
Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64
Kernel UUID: EA38B02E-2B88-309F-BA68-1DE29F605DD8
Kernel slide: 0x0000000006800000
Kernel text base: 0xffffff8006a00000
System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)

System uptime in nanoseconds: 57938259368
last loaded kext at 57862995923: com.apple.iokit.IOUserEthernet 1.0.0d1 (addr 0xffffff7f88571000, size 40960)
loaded kexts:
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.driver.AudioAUUC 1.60
com.apple.iokit.IOBluetoothSerialManager 4.1.7f2
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AGPM 100.13.12
com.apple.driver.ApplePlatformEnabler 2.0.7d2
com.apple.driver.X86PlatformShim 1.0.0
com.apple.iokit.CHUDUtils 364
com.apple.driver.AppleUpstreamUserClient 3.5.12
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.iokit.CHUDProf 366
com.apple.driver.AppleHDAHardwareConfigDriver 2.4.7fc4
com.apple.driver.AppleIntelHD4000Graphics 8.1.6
com.apple.iokit.IOBluetoothUSBDFU 4.1.7f2
com.apple.driver.AppleMikeyDriver 2.4.7fc4
com.apple.driver.AppleHDA 2.4.7fc4
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleBacklight 170.3.5
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.1.7f4
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.iokit.AppleBCM5701Ethernet 3.6.2b4
com.apple.driver.AirPort.Brcm4331 615.20.17
com.apple.driver.AppleMuxControl 3.4.5
com.apple.driver.ApplePolicyControl 3.4.5
com.apple.driver.AppleSMCLMU 2.0.3d0
com.apple.driver.AppleSMBusPCI 1.0.11d1
com.apple.driver.AppleLPC 1.6.3
com.apple.driver.AppleIntelFramebufferCapri 8.1.6
com.apple.driver.SMCMotionSensor 3.0.3d1
com.apple.driver.AppleMCCSControl 1.1.11
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleUSBTCButtons 237.1
com.apple.driver.AppleUSBTCKeyEventDriver 237.1
com.apple.driver.AppleUSBTCKeyboard 237.1
com.apple.driver.AppleIRController 320.15
com.apple.driver.CoreStorageFsck 296.18.2
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.iokit.SCSITaskUserClient 3.5.6
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.3.5
com.apple.driver.AppleSDXC 1.4.3
com.apple.driver.AppleUSBHub 635.4.0
com.apple.driver.AppleFWOHCI 4.9.9
com.apple.driver.AppleAHCIPort 2.6.6
com.apple.driver.AppleUSBEHCI 621.4.6
com.apple.driver.AppleUSBXHCI 635.4.0
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 1.8
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.8
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 214.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2.1
com.apple.driver.AppleIntelCPUPowerManagement 214.0.0
com.apple.iokit.IOSurface 86.0.4
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.iokit.IOBluetoothFamily 4.1.7f2
com.apple.iokit.IOAcceleratorFamily 74.15
com.apple.iokit.CHUDKernLib 365
com.apple.driver.DspFuncLib 2.4.7fc4
com.apple.iokit.IOAudioFamily 1.9.2fc7
com.apple.kext.OSvKernDSPLib 1.12
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.1.7f2
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.iokit.IO80211Family 530.5
com.apple.iokit.IONetworkingFamily 3.0
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleGraphicsControl 3.4.5
com.apple.iokit.IONDRVSupport 2.3.7
com.apple.driver.AppleHDAController 2.4.7fc4
com.apple.iokit.IOHDAFamily 2.4.7fc4
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.4.1d13
com.apple.driver.AppleThunderboltEDMSink 1.2.0
com.apple.driver.AppleThunderboltDPOutAdapter 2.5.0
com.apple.driver.AppleSMC 3.1.5d4
com.apple.driver.AppleSMBusController 1.0.11d1
com.apple.iokit.IOGraphicsFamily 2.3.7
com.apple.kext.triggers 1.0
com.apple.driver.AppleUSBMultitouch 237.3
com.apple.driver.AppleThunderboltDPInAdapter 2.5.0
com.apple.driver.AppleThunderboltDPAdapterFamily 2.5.0
com.apple.driver.AppleThunderboltPCIDownAdapter 1.3.2
com.apple.iokit.IOUSBHIDDriver 623.4.0
com.apple.driver.AppleUSBMergeNub 621.4.6
com.apple.driver.AppleUSBComposite 621.4.0
com.apple.driver.CoreStorage 296.18.2
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.6
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.5.5
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.6
com.apple.driver.AppleThunderboltNHI 1.9.2
com.apple.iokit.IOThunderboltFamily 2.7.7
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOUSBUserClient 630.4.4
com.apple.iokit.IOAHCIFamily 2.5.1
com.apple.iokit.IOUSBFamily 635.4.0
com.apple.driver.AppleEFINVRAM 2.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 1.8.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220.3
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 345
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.21
com.apple.driver.AppleACPIPlatform 1.8
com.apple.iokit.IOPCIFamily 2.8
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Model: MacBookPro9,2, BootROM MBP91.00D3.B08, 2 processors, Intel Core i5, 2.5 GHz, 4 GB, SMC 2.2f41
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 512 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (5.106.98.100.17)
Bluetooth: Version 4.1.7f2 12718, 3 service, 13 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE HDD HTS547550A9E384, 500.11 GB
Serial ATA Device: MATSHITADVD-R UJ-8A8
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1a100000 / 2
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0x1a110000 / 3
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1d100000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0x1d180000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0252, 0x1d183000 / 6
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x1d182000 / 5
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x1d181000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821d, 0x1d181300 / 7
USB Device: USB Optical Mouse, 0x04ca (Lite-On Technology Corp.), 0x0061, 0x14100000 / 1

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值