Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave (#18107)

Discussions related to using VirtualBox on Mac OS X hosts.

Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave (#18107)

Postby acs87 » 9. Feb 2019, 00:20


ModEdit; related ticket: #18107: OSX Majove host panic reboots

I reproducibly experience kernel panics under the following conditions:

Systems: iMac 2015 and MacBook Pro 15" 2017 (occurs on both hosts), bluetooth keyboard and trackpad, host OS Mac OS X 10.14.3 (Mojave), VirtualBox 5.2.26 and 6.0.4 (occurs in both), Windows XP and 7 guest OS (occurs in both)

To provoke the kernel panic:
    - Start any virtual machine, and make sure it is the active window
    - Switch bluetooth keyboard and trackpad off and back on

I have a 100% success rate reproducing the kernel panic by doing this. It also occurs sometimes if I just wait long enough.

Has anyone else experienced this (or can anyone reproduce this)? Is there a fix in progress for this?

Reports are below. The BSD process name corresponding to current thread is always VirtualBoxVM, and the kernel extensions in backtrace are always com.apple.driver.IOBluetoothHIDDriver and org.virtualbox.kext.VBoxDrv. The only thing that changes is the CPU#.

iMac 2015
Code: Select all   Expand viewCollapse view
Anonymous UUID:       E4C1D2B6-1052-0AB9-E973-F538C43A3503

Fri Feb  8 16:57:21 2019

*** Panic Report ***
panic(cpu 0 caller 0xffffff801a2599d6): "invalid commandSleep while not holding the gate"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4903.241.1/iokit/Kernel/IOCommandGate.cpp:303
Backtrace (CPU 0), Frame : Return Address
0xffffff9231dfb5f0 : 0xffffff8019baeb0d
0xffffff9231dfb640 : 0xffffff8019ce8653
0xffffff9231dfb680 : 0xffffff8019cda07a
0xffffff9231dfb6f0 : 0xffffff8019b5bca0
0xffffff9231dfb710 : 0xffffff8019bae527
0xffffff9231dfb830 : 0xffffff8019bae373
0xffffff9231dfb8a0 : 0xffffff801a2599d6
0xffffff9231dfb8d0 : 0xffffff7f9cc1fe47
0xffffff9231dfb930 : 0xffffff7f9cc216dc
0xffffff9231dfb980 : 0xffffff7fa0776d31
0xffffff9231dfb9c0 : 0xffffff7fa0766715
0xffffff9231dfba50 : 0xffffff7fa0765390
0xffffff9231dfba90 : 0xffffff7fa07776ff
0xffffff9231dfbb50 : 0xffffff8019e38dfa
0xffffff9231dfbb80 : 0xffffff8019e2d58f
0xffffff9231dfbc00 : 0xffffff8019e1f2cb
0xffffff9231dfbe00 : 0xffffff801a0990ab
0xffffff9231dfbe30 : 0xffffff801a0eefac
0xffffff9231dfbf40 : 0xffffff801a1b62bb
0xffffff9231dfbfa0 : 0xffffff8019b5c466
      Kernel Extensions in backtrace:
         com.apple.driver.IOBluetoothHIDDriver(6.0.10f1)[FC4E8BB4-8A0D-3A50-83FC-448EC33B9C7A]@0xffffff7f9cc1b000->0xffffff7f9cc34fff
            dependency: com.apple.iokit.IOHIDFamily(2.0.0)[7379360B-DC22-3783-A148-2D10C62D11A8]@0xffffff7f9a9f6000
            dependency: com.apple.iokit.IOBluetoothFamily(6.0.10f1)[89233641-FD29-38DB-A84B-3176103C3B88]@0xffffff7f9cb10000
         org.virtualbox.kext.VBoxDrv(5.2.26)[C19A198C-41AD-305F-ABA0-622CD09E475A]@0xffffff7fa0763000->0xffffff7fa07c8fff

BSD process name corresponding to current thread: VirtualBoxVM

Mac OS version:
18D42

Kernel version:
Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64
Kernel UUID: 1970B070-E53F-3178-83F3-1B95FA340695
Kernel slide:     0x0000000019800000
Kernel text base: 0xffffff8019a00000
__HIB  text base: 0xffffff8019900000
System model name: iMac15,1 (Mac-42FD25EABCABB274)

System uptime in nanoseconds: 458029331947
last loaded kext at 253909600978: com.apple.filesystems.msdosfs   1.10 (addr 0xffffff7f9af06000, size 69632)
last unloaded kext at 177702998461: org.virtualbox.kext.VBoxDrv   6.0.4 (addr 0xffffff7fa0763000, size 978944)
loaded kexts:
org.virtualbox.kext.VBoxNetAdp   5.2.26
org.virtualbox.kext.VBoxNetFlt   5.2.26
org.virtualbox.kext.VBoxUSB   5.2.26
org.virtualbox.kext.VBoxDrv   5.2.26
com.sophos.kext.oas   9.7.4
com.apple.filesystems.msdosfs   1.10
com.apple.filesystems.smbfs   3.3.1
com.apple.driver.AppleBluetoothMultitouch   96
com.apple.driver.AudioAUUC   1.70
com.apple.fileutil   18.306.12
com.apple.filesystems.autofs   3.0
com.apple.driver.AppleMikeyHIDDriver   131
com.apple.driver.AppleMikeyDriver   282.10
com.apple.driver.AppleHDAHardwareConfigDriver   282.10
com.apple.driver.AppleHDA   282.10
com.apple.driver.AGPM   110.23.46
com.apple.driver.ApplePlatformEnabler   2.7.0d0
com.apple.driver.X86PlatformShim   1.0.0
com.apple.driver.AppleUpstreamUserClient   3.6.5
com.apple.kext.AMDFramebuffer   2.0.4
com.apple.kext.AMDRadeonX4000   2.0.4
com.apple.driver.AppleGraphicsDevicePolicy   3.28.4
com.apple.AGDCPluginDisplayMetrics   3.28.4
com.apple.driver.AGDCBacklightControl   3.28.4
com.apple.driver.AppleHV   1
com.apple.iokit.IOUserEthernet   1.0.1
com.apple.iokit.IOBluetoothSerialManager   6.0.10f1
com.apple.driver.AppleBacklight   170.12.11
com.apple.driver.AppleIntelHD5000Graphics   12.0.4
com.apple.driver.pmtelemetry   1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.ACPI_SMC_PlatformPlugin   1.0.0
com.apple.driver.eficheck   1
com.apple.driver.AppleIntelSlowAdaptiveClocking   4.0.0
com.apple.driver.AppleMCCSControl   1.5.6
com.apple.kext.AMD7000Controller   2.0.4
com.apple.driver.AppleIntelFramebufferAzul   12.0.4
com.apple.driver.AppleOSXWatchdog   1
com.apple.driver.AppleSMCLMU   212
com.apple.driver.AppleFIVRDriver   4.1.0
com.apple.driver.AppleLPC   3.1
com.apple.driver.AppleThunderboltIP   3.1.2
com.apple.driver.CoreStorageFsck   546.50.1
com.apple.iokit.IOBluetoothUSBDFU   6.0.10f1
com.apple.iokit.SCSITaskUserClient   408.200.1
com.apple.driver.AppleUSBStorageCoexistentDriver   456.230.1
com.apple.driver.AppleFileSystemDriver   3.0.1
com.apple.driver.AppleVirtIO   2.1.3
com.apple.filesystems.hfs.kext   407.200.4
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.filesystems.apfs   945.241.4
com.apple.driver.AppleSDXC   1.7.6
com.apple.iokit.AppleBCM5701Ethernet   10.3.3
com.apple.private.KextAudit   1.0
com.apple.driver.AirPort.BrcmNIC   1400.1.1
com.apple.driver.AppleAHCIPort   329.200.2
com.apple.driver.AppleRTC   2.0
com.apple.driver.AppleHPET   1.8
com.apple.driver.AppleACPIButtons   6.1
com.apple.driver.AppleSMBIOS   2.1
com.apple.driver.AppleACPIEC   6.1
com.apple.driver.AppleAPIC   1.7
com.apple.nke.applicationfirewall   190
com.apple.security.TMSafetyNet   8
com.apple.driver.AppleMultitouchDriver   2410.5
com.apple.driver.AppleInputDeviceSupport   2410.2
com.apple.driver.AppleBluetoothHIDKeyboard   208
com.apple.driver.IOBluetoothHIDDriver   6.0.10f1
com.apple.driver.AppleHIDKeyboard   208
com.apple.iokit.IOUSBUserClient   900.4.2
com.apple.kext.triggers   1.0
com.apple.driver.DspFuncLib   282.10
com.apple.kext.OSvKernDSPLib   527
com.apple.kext.AMDRadeonX4030HWLibs   1.0
com.apple.kext.AMDRadeonX4000HWServices   2.0.4
com.apple.driver.AppleGraphicsControl   3.28.4
com.apple.iokit.IOAVBFamily   710.1
com.apple.plugin.IOgPTPPlugin   700.7
com.apple.driver.AppleSSE   1.0
com.apple.driver.AppleBacklightExpert   1.1.0
com.apple.AppleGPUWrangler   3.28.4
com.apple.driver.AppleHDAController   282.10
com.apple.iokit.IOHDAFamily   282.10
com.apple.iokit.IONDRVSupport   530
com.apple.driver.IOPlatformPluginLegacy   1.0.0
com.apple.iokit.IOSlowAdaptiveClockingFamily   1.0.0
com.apple.driver.AppleSMBusController   1.0.18d1
com.apple.kext.AMDSupport   2.0.4
com.apple.AppleGraphicsDeviceControl   3.28.4
com.apple.iokit.IOAcceleratorFamily2   404.2.2
com.apple.iokit.IOSurface   255.1
com.apple.driver.AppleSMBusPCI   1.0.14d1
com.apple.iokit.IOGraphicsFamily   530.14
com.apple.driver.X86PlatformPlugin   1.0.0
com.apple.driver.IOPlatformPluginFamily   6.0.0d8
com.apple.driver.AppleThunderboltEDMSink   4.2.0
com.apple.driver.CoreStorage   546.50.1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport   6.0.10f1
com.apple.iokit.IOBluetoothHostControllerUSBTransport   6.0.10f1
com.apple.iokit.IOBluetoothHostControllerTransport   6.0.10f1
com.apple.iokit.IOBluetoothFamily   6.0.10f1
com.apple.driver.usb.AppleUSBHub   1.2
com.apple.iokit.IOUSBMassStorageClass   4.0.4
com.apple.driver.AppleUSBAudio   315.6
com.apple.driver.usb.IOUSBHostHIDDevice   1.2
com.apple.iokit.IOAudioFamily   206.5
com.apple.vecLib.kext   1.2.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.iokit.IOSerialFamily   11
com.apple.filesystems.hfs.encodings.kext   1
com.apple.driver.AppleUSBMergeNub   900.4.2
com.apple.driver.AppleThunderboltDPInAdapter   5.5.8
com.apple.driver.AppleThunderboltDPOutAdapter   5.5.8
com.apple.driver.AppleThunderboltDPAdapterFamily   5.5.8
com.apple.driver.AppleThunderboltPCIDownAdapter   2.1.4
com.apple.driver.AppleXsanScheme   3
com.apple.iokit.IOAHCIBlockStorage   301.200.2
com.apple.driver.AppleThunderboltNHI   4.7.6
com.apple.iokit.IOThunderboltFamily   6.8.1
com.apple.iokit.IOEthernetAVBController   1.1.0
com.apple.driver.usb.AppleUSBHostPacketFilter   1.0
com.apple.iokit.IOUSBFamily   900.4.2
com.apple.iokit.IO80211Family   1200.12.2
com.apple.driver.mDNSOffloadUserClient   1.0.1b8
com.apple.driver.corecapture   1.0.4
com.apple.iokit.IOAHCIFamily   288
com.apple.driver.AppleIntelLpssGspi   3.0.60
com.apple.driver.usb.AppleUSBXHCIPCI   1.2
com.apple.driver.usb.AppleUSBXHCI   1.2
com.apple.driver.AppleEFINVRAM   2.1
com.apple.driver.AppleEFIRuntime   2.1
com.apple.driver.AppleUSBHostMergeProperties   1.2
com.apple.iokit.IOSMBusFamily   1.1
com.apple.iokit.IOHIDFamily   2.0.0
com.apple.security.quarantine   3
com.apple.security.sandbox   300.0
com.apple.kext.AppleMatch   1.0.0d1
com.apple.driver.DiskImages   493.0.0
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleEffaceableStorage   1.0
com.apple.driver.AppleKeyStore   2
com.apple.driver.AppleUSBTDM   456.230.1
com.apple.driver.AppleMobileFileIntegrity   1.0.5
com.apple.kext.CoreTrust   1
com.apple.iokit.IOUSBMassStorageDriver   145.200.2
com.apple.iokit.IOSCSIBlockCommandsDevice   408.200.1
com.apple.iokit.IOSCSIArchitectureModelFamily   408.200.1
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   47
com.apple.iokit.IOTimeSyncFamily   700.7
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

EOF
Model: iMac15,1, BootROM 222.0.0.0.0, 4 processors, Intel Core i5, 3.3 GHz, 16 GB, SMC 2.22f16
Graphics: AMD Radeon R9 M290, AMD Radeon R9 M290, PCIe
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453220
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453220
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x142), Broadcom BCM43xx 1.0 (7.77.61.1 AirPortDriverBrcmNIC-1305.2)
Bluetooth: Version 6.0.10f1, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: APPLE SSD SM0128G, 121.33 GB
Serial ATA Device: APPLE HDD ST3000DM001, 3 TB
USB Device: USB 3.0 Bus
USB Device: My Passport 25E1
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: FaceTime HD Camera (Built-in)
Thunderbolt Bus: iMac, Apple Inc., 26.1

MacBook Pro 15" 2017
Code: Select all   Expand viewCollapse view
Anonymous UUID:       E37CE2D8-5D21-6E02-8A1A-C2273E95FBED

Thu Feb 21 05:56:48 2019

*** Panic Report ***
panic(cpu 4 caller 0xffffff80142599d6): "invalid commandSleep while not holding the gate"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4903.241.1/iokit/Kernel/IOCommandGate.cpp:303
Backtrace (CPU 4), Frame : Return Address
0xffffff820444b5d0 : 0xffffff8013baeb0d
0xffffff820444b620 : 0xffffff8013ce8653
0xffffff820444b660 : 0xffffff8013cda07a
0xffffff820444b6d0 : 0xffffff8013b5bca0
0xffffff820444b6f0 : 0xffffff8013bae527
0xffffff820444b810 : 0xffffff8013bae373
0xffffff820444b880 : 0xffffff80142599d6
0xffffff820444b8b0 : 0xffffff7f9699ce47
0xffffff820444b910 : 0xffffff7f9699e6dc
0xffffff820444b960 : 0xffffff7f9838ed31
0xffffff820444b9a0 : 0xffffff7f9837e715
0xffffff820444ba30 : 0xffffff7f9837d390
0xffffff820444ba70 : 0xffffff7f9838f6ff
0xffffff820444bb30 : 0xffffff7f9838ee89
0xffffff820444bb50 : 0xffffff8013e38dfa
0xffffff820444bb80 : 0xffffff8013e2d58f
0xffffff820444bc00 : 0xffffff8013e1f2cb
0xffffff820444be00 : 0xffffff80140990ab
0xffffff820444be30 : 0xffffff80140eefac
0xffffff820444bf40 : 0xffffff80141b62bb
0xffffff820444bfa0 : 0xffffff8013b5c466
      Kernel Extensions in backtrace:
         com.apple.driver.IOBluetoothHIDDriver(6.0.10f1)[FC4E8BB4-8A0D-3A50-83FC-448EC33B9C7A]@0xffffff7f96998000->0xffffff7f969b1fff
            dependency: com.apple.iokit.IOHIDFamily(2.0.0)[7379360B-DC22-3783-A148-2D10C62D11A8]@0xffffff7f949f6000
            dependency: com.apple.iokit.IOBluetoothFamily(6.0.10f1)[89233641-FD29-38DB-A84B-3176103C3B88]@0xffffff7f9688d000
         org.virtualbox.kext.VBoxDrv(5.2.26)[C19A198C-41AD-305F-ABA0-622CD09E475A]@0xffffff7f9837b000->0xffffff7f983e0fff

BSD process name corresponding to current thread: VirtualBoxVM

Mac OS version:
18D109

Kernel version:
Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64
Kernel UUID: 1970B070-E53F-3178-83F3-1B95FA340695
Kernel slide:     0x0000000013800000
Kernel text base: 0xffffff8013a00000
__HIB  text base: 0xffffff8013900000
System model name: MacBookPro14,3 (Mac-551B86E5744E2388)

System uptime in nanoseconds: 75654180412735
last loaded kext at 75471538086858: com.apple.driver.AppleXsanScheme   3 (addr 0xffffff7f98460000, size 32768)
last unloaded kext at 31622615527715: com.apple.driver.usb.cdc.ecm   5.0.0 (addr 0xffffff7f98459000, size 49152)
loaded kexts:
com.sophos.kext.oas   9.7.4
org.virtualbox.kext.VBoxNetAdp   5.2.26
org.virtualbox.kext.VBoxNetFlt   5.2.26
org.virtualbox.kext.VBoxUSB   5.2.26
org.virtualbox.kext.VBoxDrv   5.2.26
com.apple.iokit.SCSITaskUserClient   408.200.1
com.apple.driver.AppleBluetoothMultitouch   96
com.apple.driver.usb.AppleUSBHostBillboardDevice   1.0
com.apple.filesystems.smbfs   3.3.1
com.apple.fileutil   18.306.12
com.apple.driver.AudioAUUC   1.70
com.apple.filesystems.autofs   3.0
com.apple.driver.AGPM   110.23.46
com.apple.driver.ApplePlatformEnabler   2.7.0d0
com.apple.driver.X86PlatformShim   1.0.0
com.apple.driver.AppleUpstreamUserClient   3.6.5
com.apple.kext.AMDFramebuffer   2.0.4
com.apple.driver.AppleHDA   282.10
com.apple.kext.AMDRadeonX4000   2.0.4
com.apple.driver.AppleGraphicsDevicePolicy   3.28.4
com.apple.AGDCPluginDisplayMetrics   3.28.4
com.apple.driver.AppleHIDALSService   1
com.apple.driver.AppleHV   1
com.apple.iokit.IOUserEthernet   1.0.1
com.apple.iokit.IOBluetoothSerialManager   6.0.10f1
com.apple.driver.pmtelemetry   1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AGDCBacklightControl   3.28.4
com.apple.driver.AppleIntelKBLGraphics   12.0.4
com.apple.driver.AppleIntelSlowAdaptiveClocking   4.0.0
com.apple.driver.AppleIntelPCHPMC   2.0.1
com.apple.kext.AMD9500Controller   2.0.4
com.apple.driver.AppleGFXHDA   100.1.40
com.apple.driver.AppleMuxControl   3.28.4
com.apple.driver.AppleMCCSControl   1.5.6
com.apple.driver.SMCMotionSensor   3.0.4d1
com.apple.driver.AppleOSXWatchdog   1
com.apple.driver.AppleIntelKBLGraphicsFramebuffer   12.0.4
com.apple.driver.AppleEmbeddedOSSupportHost   1
com.apple.driver.eficheck   1
com.apple.driver.AppleThunderboltIP   3.1.2
com.apple.driver.AppleVirtIO   2.1.3
com.apple.filesystems.hfs.kext   407.200.4
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   138.2
com.apple.driver.AirPort.BrcmNIC   1400.1.1
com.apple.filesystems.apfs   945.241.4
com.apple.private.KextAudit   1.0
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   190
com.apple.security.TMSafetyNet   8
com.apple.driver.AppleXsanScheme   3
com.apple.driver.AppleUSBAudio   315.6
com.apple.driver.AppleBluetoothHIDKeyboard   208
com.apple.iokit.IOUSBUserClient   900.4.2
com.apple.kext.triggers   1.0
com.apple.driver.DspFuncLib   282.10
com.apple.kext.OSvKernDSPLib   527
com.apple.kext.AMDRadeonX4100HWLibs   1.0
com.apple.kext.AMDRadeonX4000HWServices   2.0.4
com.apple.iokit.IOAVBFamily   710.1
com.apple.plugin.IOgPTPPlugin   700.7
com.apple.iokit.IOEthernetAVBController   1.1.0
com.apple.driver.AppleSSE   1.0
com.apple.AppleGPUWrangler   3.28.4
com.apple.iokit.IOBluetoothHostControllerUARTTransport   6.0.10f1
com.apple.iokit.IOBluetoothHostControllerTransport   6.0.10f1
com.apple.iokit.IOSlowAdaptiveClockingFamily   1.0.0
com.apple.driver.AppleBacklightExpert   1.1.0
com.apple.driver.AppleHDAController   282.10
com.apple.iokit.IOHDAFamily   282.10
com.apple.iokit.IONDRVSupport   530
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.driver.AppleGraphicsControl   3.28.4
com.apple.driver.AppleSMBusController   1.0.18d1
com.apple.iokit.IOAcceleratorFamily2   404.2.2
com.apple.iokit.IOSurface   255.1
com.apple.driver.X86PlatformPlugin   1.0.0
com.apple.driver.IOPlatformPluginFamily   6.0.0d8
com.apple.kext.AMDSupport   2.0.4
com.apple.AppleGraphicsDeviceControl   3.28.4
com.apple.iokit.IOGraphicsFamily   530.14
com.apple.driver.usb.cdc.ncm   5.0.0
com.apple.driver.usb.IOUSBHostHIDDevice   1.2
com.apple.iokit.IOAudioFamily   206.5
com.apple.vecLib.kext   1.2.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.AppleUSBHostMergeProperties   1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice   1.2
com.apple.iokit.IOSerialFamily   11
com.apple.filesystems.hfs.encodings.kext   1
com.apple.driver.AppleActuatorDriver   2410.5
com.apple.driver.AppleHIDKeyboard   208
com.apple.driver.AppleHSBluetoothDriver   138.2
com.apple.driver.IOBluetoothHIDDriver   6.0.10f1
com.apple.iokit.IOBluetoothFamily   6.0.10f1
com.apple.driver.AppleMultitouchDriver   2410.5
com.apple.driver.AppleInputDeviceSupport   2410.2
com.apple.driver.AppleHSSPIHIDDriver   55
com.apple.driver.AppleHSSPISupport   55
com.apple.driver.AppleIntelLpssSpiController   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.driver.AppleThunderboltDPInAdapter   5.5.8
com.apple.driver.AppleThunderboltDPAdapterFamily   5.5.8
com.apple.driver.AppleThunderboltPCIDownAdapter   2.1.4
com.apple.iokit.IONVMeFamily   2.1.0
com.apple.driver.AppleThunderboltNHI   4.7.6
com.apple.driver.AppleHPM   3.3.0
com.apple.iokit.IOThunderboltFamily   6.8.1
com.apple.driver.AppleIntelLpssI2CController   3.0.60
com.apple.driver.AppleIntelLpssDmac   3.0.60
com.apple.driver.AppleIntelLpssGspi   3.0.60
com.apple.driver.AppleIntelLpssI2C   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.2
com.apple.driver.AppleEFINVRAM   2.1
com.apple.driver.AppleEFIRuntime   2.1
com.apple.iokit.IOSMBusFamily   1.1
com.apple.iokit.IOHIDFamily   2.0.0
com.apple.security.quarantine   3
com.apple.security.sandbox   300.0
com.apple.kext.AppleMatch   1.0.0d1
com.apple.driver.DiskImages   493.0.0
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleEffaceableStorage   1.0
com.apple.driver.AppleKeyStore   2
com.apple.driver.AppleUSBTDM   456.230.1
com.apple.driver.AppleMobileFileIntegrity   1.0.5
com.apple.kext.CoreTrust   1
com.apple.iokit.IOUSBMassStorageDriver   145.200.2
com.apple.iokit.IOSCSIBlockCommandsDevice   408.200.1
com.apple.iokit.IOSCSIArchitectureModelFamily   408.200.1
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   47
com.apple.iokit.IOTimeSyncFamily   700.7
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

EOF
Model: MacBookPro14,3, BootROM 185.0.0.0.0, 4 processors, Intel Core i7, 3.1 GHz, 16 GB, SMC 2.45f0
Graphics: Intel HD Graphics 630, Intel HD Graphics 630, Built-In
Graphics: Radeon Pro 560, Radeon Pro 560, PCIe
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x173), Broadcom BCM43xx 1.0 (7.77.61.1 AirPortDriverBrcmNIC-1305.2)
Bluetooth: Version 6.0.10f1, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
USB Device: Cable Matters USB-C Video Cable
USB Device: iBridge
Thunderbolt Bus: MacBook Pro, Apple Inc., 39.2
Thunderbolt Bus: MacBook Pro, Apple Inc., 39.2
Last edited by acs87 on 21. Feb 2019, 13:05, edited 2 times in total.
acs87
 
Posts: 10
Joined: 9. Feb 2019, 00:09
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WinXP, Win7, Debian, Ubuntu

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave

Postby wndkk » 20. Feb 2019, 16:06

I have the exact same problem.
Any news?
wndkk
 
Posts: 11
Joined: 20. Feb 2019, 16:05

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave

Postby socratis » 20. Feb 2019, 17:31

Any clues as to why on earth you would be cutting off the keyboard and mouse of your host? Are you trying to make it fail on purpose? Why disconnect them, what's the purpose of that?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 26877
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave

Postby wndkk » 20. Feb 2019, 17:36

If the battery is low. Also, it happens randomly sometimes.
wndkk
 
Posts: 11
Joined: 20. Feb 2019, 16:05

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave

Postby acs87 » 20. Feb 2019, 17:38

socratis wrote:Any clues as to why on earth you would be cutting off the keyboard and mouse of your host? Are you trying to make it fail on purpose? Why disconnect them, what's the purpose of that?


Yes, this is the way to reproduce the bug. You must cause the bluetooth keyboard to disconnect in order to induce the kernel panic. I provided this information to help the developers, or anyone else who wants to work on this bug, reproduce the problematic behavior.

But the bluetooth keyboard does not go to sleep or disconnect/reconnect only when the user intends it to; it sometimes sleeps or disconnects/reconnects or just alters its connectivity on its own, unpredictably and (usually) in the background, and causes the kernel panic without the user inducing it. In my experience over the past several weeks, this occurs about every ~15-20 minutes. This is why this is a problem.

If you must try to reproduce the bug this way, simply open a virtual machine with a bluetooth keyboard connected to the computer and simply use it until it fails. This may take several minutes. If you want to reproduce the bug on command, you can follow the steps I listed in my original post.
acs87
 
Posts: 10
Joined: 9. Feb 2019, 00:09
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WinXP, Win7, Debian, Ubuntu

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave

Postby socratis » 20. Feb 2019, 17:51

acs87 wrote:If you must try to reproduce the bug this way, simply open a virtual machine with a bluetooth keyboard connected to the computer and simply use it until it fails.
That's part of the problem, I don't have a Bluetooth keyboard/mouse, that's why I can't reproduce the behavior. :?

But I see what you're saying... If this Bluetooth thingy shuts down to conserve energy (makes sense) and this "disconnect" causes VirtualBox to lose the ground under its feet and cause a kernel panic, then yes, it's a big, huge issue.

acs87, I saw that you posted in ticket #18107 OSX Majove host panic reboots, which does sound like the prime candidate for this problem, so I'm going to go ahead and alter the title and the first post to include the ticket information.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 26877
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave (#18107)

Postby acs87 » 20. Feb 2019, 18:10

Socratis, thank you very much for your help! I think this problem will predominantly affect Mac users, since most iMacs come with bluetooth peripherals by default, and they seem to hide their power management from the user (or at least I haven't found a way to prevent the peripherals from disconnecting).

Do you have any advice on how to more effectively bring this bug to the developers' attention?
acs87
 
Posts: 10
Joined: 9. Feb 2019, 00:09
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WinXP, Win7, Debian, Ubuntu

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave (#18107)

Postby socratis » 20. Feb 2019, 18:36

acs87 wrote:Do you have any advice on how to more effectively bring this bug to the developers' attention?

Nope, you've done your best! Well documented tickets and reports, nothing to add or remove... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 26877
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave (#18107)

Postby andyp73 » 20. Feb 2019, 18:38

I haven't upgraded my 2017 iMac to 10.14.3 yet. When I haven't got several debug sessions running and can afford the time to reboot my machine I will upgrade and see if I can replicate this.

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
andyp73
Volunteer
 
Posts: 1642
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave (#18107)

Postby socratis » 20. Feb 2019, 18:41

Andy, to the reproducibility rescue! :)

You have a Bluetooth keyboard? Take off the battery all of a sudden! See what happens... Good thing to know if this is a 10.14.x issue only...

I would suggest to close all other apps, just in case the... batteries hit the fan. ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 26877
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave (#18107)

Postby acs87 » 20. Feb 2019, 18:42

Thank you, Andy! Just a helpful hint: the kernel panic seems to occur not on the disconnect, but on the reconnect.
Last edited by acs87 on 20. Feb 2019, 18:44, edited 1 time in total.
acs87
 
Posts: 10
Joined: 9. Feb 2019, 00:09
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WinXP, Win7, Debian, Ubuntu

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave (#18107)

Postby socratis » 20. Feb 2019, 18:44

Oh! :shock:
Interesting tidbit there, thanks for the clarification!
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 26877
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave (#18107)

Postby andyp73 » 20. Feb 2019, 19:54

I've run a quick test on my macOS 10.14.2 host running VirtualBox v6.0.4. The Windows 7 guest was sat in Notepad so that I could check that the keyboard was working.

I turned the magic keyboard off with it's little power switch and macOS flashed up the image that said keyboard off. I then turned it back on again and prompted it to reconnect by pressing a key. The guest just carried on and allowed me to start typing again in Notepad where I left off.

I've tried it a couple of times and nothing unexpected happened.

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
andyp73
Volunteer
 
Posts: 1642
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave (#18107)

Postby Martin » 20. Feb 2019, 20:20

Maybe just turning off the keyboard allows it to send a proper disconnect message which doesn't happen in case of a sudden power loss.
Martin
Volunteer
 
Posts: 2254
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Linux, OS/2

Re: Kernel Panic - Bluetooth, Mac OS X 10.14.3 Mojave (#18107)

Postby socratis » 20. Feb 2019, 20:43

@Andy
Great finding! Which means that something may be different than that other users' setup... If you could repeat it with the "sudden death" (aka remove the battery, no warnings issued) experiment like Martin suggested?

@Martin
I would expect the "I'm going to sleep now to conserve energy" to send the same signal as the "Please shut down", but you never know...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 26877
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Next

Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: No registered users and 19 guests