BLOGサブスレッドの日常
2018.08.02
新たにJOINしました
yoshida
始めまして,7月から入社しました吉田です。
入社してすぐに台風だとか,西日本豪雨で家が洪水に巻き込まれるアクシデントから始まってしまいました。
一時は,住んでる地域のインフラが,電気と携帯電話しか使えないような状況になってしました。
生活インフラが途絶えた時生活が成り立たなくなるのを実感しました。
システム開発でもインフラ周りがきちんとしていなければサービスが行えないので大事です。
開発環境で起こったインフラトラブル
VirtualBoxとMacの相性がなんか悪いらしい
現象が起きた時の環境
Mac 10.13.5 VirtualBox 5.2.14
仮想環境が高負荷時にホストOSごとクラッシュしてしまう事案
メモリーに不正なアクセスを起こしてカーネルパニックになったようなエラーでした
その時のエラーログです。
VirtualBoxを使用しているので,使用していないドライバーを無効化にしても気休めでした。高負荷にするとまたクラッシュを続けるような状態でした。
以下 クラッシュ時のエラーログです
System uptime in nanoseconds: 956889748202
last loaded kext at 244575895806: com.apple.filesystems.msdosfs 1.10 (addr 0xffffff7f98ea2000, size 69632)
last unloaded kext at 358888012137: com.apple.driver.AppleFileSystemDriver 3.0.1 (addr 0xffffff7f98a04000, size 8192)
loaded kexts:
org.virtualbox.kext.VBoxNetAdp 5.2.14
org.virtualbox.kext.VBoxNetFlt 5.2.14
org.virtualbox.kext.VBoxUSB 5.2.14
org.virtualbox.kext.VBoxDrv 5.2.14
com.apple.driver.AudioAUUC 1.70
com.apple.driver.AGPM 110.23.37
com.apple.driver.ApplePlatformEnabler 2.7.0d0
com.apple.driver.X86PlatformShim 1.0.0
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleUpstreamUserClient 3.6.5
com.apple.driver.AppleHDA 281.52
com.apple.driver.AppleHIDALSService 1
com.apple.driver.AppleGraphicsDevicePolicy 3.18.52
com.apple.AGDCPluginDisplayMetrics 3.18.52
com.apple.driver.AppleHV 1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.iokit.IOBluetoothSerialManager 6.0.6f2
com.apple.driver.pmtelemetry 1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleIntelKBLGraphics 10.3.4
com.apple.driver.eficheck 1
com.apple.driver.AppleIntelPCHPMC 2.0.1
com.apple.driver.AppleThunderboltIP 3.1.1
com.apple.driver.AppleEmbeddedOSSupportHost 1
com.apple.driver.AppleOSXWatchdog 1
com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
com.apple.driver.AppleIntelKBLGraphicsFramebuffer 10.3.4
com.apple.driver.AppleBacklight 170.12.6
com.apple.driver.AppleMCCSControl 1.5.5
com.apple.filesystems.apfs 748.51.0
com.apple.filesystems.hfs.kext 407.50.6
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.AppleSystemPolicy 1.0
com.apple.driver.AppleTopCaseHIDEventDriver 133
com.apple.driver.AirPort.BrcmNIC 1241.31.1a9
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 6.1
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 6.1
com.apple.driver.AppleAPIC 1.7
com.apple.nke.applicationfirewall 183
com.apple.security.TMSafetyNet 8
com.apple.security.quarantine 3
com.apple.driver.usb.cdc.acm 5.0.0
com.apple.iokit.IOUSBUserClient 900.4.1
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 281.52
com.apple.kext.OSvKernDSPLib 526
com.apple.driver.AppleGraphicsControl 3.18.52
com.apple.iokit.IOAVBFamily 680.2
com.apple.plugin.IOgPTPPlugin 680.15
com.apple.iokit.IOEthernetAVBController 1.1.0
com.apple.driver.AppleSSE 1.0
com.apple.driver.AppleHDAController 281.52
com.apple.iokit.IOHDAFamily 281.52
com.apple.iokit.IOAudioFamily 206.5
com.apple.vecLib.kext 1.2.0
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.iokit.IOBluetoothHostControllerUARTTransport 6.0.6f2
com.apple.iokit.IOBluetoothHostControllerTransport 6.0.6f2
com.apple.AppleGPUWrangler 3.18.52
com.apple.driver.IOPlatformPluginFamily 6.0.0d8
com.apple.driver.usb.IOUSBHostHIDDevice 1.2
com.apple.driver.AppleIntelLpssUARTv1 3.0.60
com.apple.driver.AppleIntelLpssUARTCommon 3.0.60
com.apple.driver.AppleOnboardSerial 1.0
com.apple.iokit.IOSkywalkFamily 1
com.apple.iokit.IOSerialFamily 11
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.AppleGraphicsDeviceControl 3.18.52
com.apple.iokit.IOAcceleratorFamily2 378.18.1
com.apple.iokit.IOSurface 211.12
com.apple.driver.AppleBacklightExpert 1.1.0
com.apple.iokit.IONDRVSupport 519.19
com.apple.driver.AppleSMBusController 1.0.18d1
com.apple.iokit.IOGraphicsFamily 519.19
com.apple.driver.usb.AppleUSBHub 1.2
com.apple.driver.usb.cdc.ncm 5.0.0
com.apple.driver.usb.AppleUSBiBridge 1.0
com.apple.driver.usb.cdc 5.0.0
com.apple.driver.usb.networking 5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2
com.apple.driver.AppleUSBHostMergeProperties 1.2
com.apple.filesystems.hfs.encodings.kext 1
com.apple.driver.AppleActuatorDriver 1404.4
com.apple.driver.AppleHIDKeyboard 205
com.apple.driver.AppleHSBluetoothDriver 133
com.apple.driver.IOBluetoothHIDDriver 6.0.6f2
com.apple.iokit.IOBluetoothFamily 6.0.6f2
com.apple.driver.AppleMultitouchDriver 1404.4
com.apple.driver.AppleInputDeviceSupport 1404.3
com.apple.driver.AppleHSSPIHIDDriver 53
com.apple.driver.AppleThunderboltDPInAdapter 5.5.4
com.apple.driver.AppleThunderboltDPAdapterFamily 5.5.4
com.apple.driver.AppleThunderboltPCIDownAdapter 2.1.3
com.apple.driver.AppleHPM 3.1.3
com.apple.driver.AppleIntelLpssI2CController 3.0.60
com.apple.driver.AppleHSSPISupport 53
com.apple.driver.AppleThunderboltNHI 4.7.2
com.apple.iokit.IOThunderboltFamily 6.7.8
com.apple.driver.AppleIntelLpssSpiController 3.0.60
com.apple.driver.AppleIntelLpssDmac 3.0.60
com.apple.iokit.IO80211Family 1200.12.2
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.driver.corecapture 1.0.4
com.apple.iokit.IONVMeFamily 2.1.0
com.apple.driver.AppleIntelLpssI2C 3.0.60
com.apple.driver.AppleIntelLpssGspi 3.0.60
com.apple.driver.usb.AppleUSBXHCIPCI 1.2
com.apple.driver.usb.AppleUSBXHCI 1.2
com.apple.driver.usb.AppleUSBHostPacketFilter 1.0
com.apple.iokit.IOUSBFamily 900.4.1
com.apple.driver.AppleEFINVRAM 2.1
com.apple.driver.AppleEFIRuntime 2.1
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.DiskImages 480.60.1
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleUSBTDM 439.60.2
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.iokit.IOUSBMassStorageDriver 140.50.3
com.apple.iokit.IOSCSIBlockCommandsDevice 404.30.2
com.apple.iokit.IOSCSIArchitectureModelFamily 404.30.2
com.apple.iokit.IOStorageFamily 2.1
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.KernelRelayHost 1
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.driver.AppleBusPowerController 1.0
com.apple.driver.AppleSEPManager 1.0.1
com.apple.driver.IOSlaveProcessor 1
com.apple.iokit.IOReportFamily 31
com.apple.iokit.IOTimeSyncFamily 680.15
com.apple.iokit.IONetworkingFamily 3.4
com.apple.driver.AppleACPIPlatform 6.1
com.apple.driver.AppleSMC 3.1.9
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.pthread 1
com.apple.kec.Libm 1
com.apple.kec.corecrypto 1.0
対処として
OSのアップデートがあったので記事を発見 (https://support.apple.com/ja-jp/HT208937)
メモリー管理まわりの修正がはいっているのでさくっと更新してみた
Max 10.13.5 -> 10.13.6 バージョンアップ
高負荷時でもクラッシュはしなくなりました。
アプリ側も疑ったり,ミドルウェアも疑ったり,調べて何もわからず結果ホスト側の問題だったとは思わなかったので視野は広く持てるといいなと思いました。
この記事を書いた人
yoshida