Page 3 of 5

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

Posted: 15. Mar 2019, 12:37
by wndkk
atkhobby wrote:I can add my voice to the "getting panic" list. Same keyboard and touchpad as the OP.
Can you post your specifications aswell?

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

Posted: 15. Mar 2019, 17:17
by atkhobby
Now it just crashed again. I had been working in the host (Win10) for the whole day without issues using external keyboard and trackpad.

I saw that the touchpad was suddenly reported disconnected (batteries are at 80%).
I tried to deliberately avoid the issue by moving to the host on another monitor (I use 2 external + the built-in screen) and wake the touchpad there.

Then I moved the cursor back to the client using the external trackpad and I believe it responded to the touchpad input but I'm not sure.
I did a three-finger swipe to check if it has "survived" but alas the Mac immediately paniced again.

Here is my full spec:
  1. Model Identifier: MacBookPro11,3
  2. OSX version: 10.14
  3. VirtualBox version(s): 5.2.22
  4. Keyboard model/type: keyboard model A1314
  5. Mouse model/type: trackpad model A1339
  6. Bluetooth: Version 6.0.8f6, 3 services, 27 devices, 1 incoming serial ports
  7. List of Bluetooth loaded kexts:
    • - com.apple.driver.AppleBluetoothMultitouch (94)
      - com.apple.iokit.IOBluetoothSerialManager (6.0.8f6)
      - com.apple.iokit.IOBluetoothUSBDFU (6.0.8f6)
      - com.apple.driver.AppleBluetoothHIDKeyboard (208)
      - com.apple.driver.IOBluetoothHIDDriver (6.0.8f6)
      - com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport (6.0.8f6)
      - com.apple.iokit.IOBluetoothHostControllerUSBTransport (6.0.8f6)
      - com.apple.iokit.IOBluetoothHostControllerTransport (6.0.8f6)
      - com.apple.iokit.IOBluetoothFamily (6.0.8f6)

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

Posted: 15. Mar 2019, 17:33
by acs87
Since your process to produce the panic is a bit different from mine, would you be able to check your panic report to see whether it's the same kernel extension (IOBluetoothHIDDriver) that's responsible?

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

Posted: 15. Mar 2019, 17:36
by wndkk
It seems what everyone with problems has in common is the A1339 Touchpad or the A1314 Keyboard.

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

Posted: 17. Mar 2019, 14:55
by DouglasGoodall
I have some additional data that might help.
Earlier this morning I was messing with the video cables to my MacBook and I accidentally unplugged the power.
Some while later the computer suddenly went dark. That is no mystery.
However, it was moments later that I started seeing the keyboard Bluetooth crash.
In fact, the first time it happened, the power was plugged back in but the adapter was still amber
and the status bar was still showing 0% battery level. The crash happened again a few minutes later when
the battery was showing 4%. My battery is back up to 55% now but I am hesitant to crash the machine on purpose.
I guess I will try it once more and get back to you.

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

Posted: 17. Mar 2019, 15:17
by DouglasGoodall
Shucks, now that my battery is showing at 77%, there is no more crash.
Things seem stable for now. I will get back to you if I see any more trouble.

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

Posted: 18. Mar 2019, 15:37
by atkhobby
acs87 wrote:Since your process to produce the panic is a bit different from mine, would you be able to check your panic report to see whether it's the same kernel extension (IOBluetoothHIDDriver) that's responsible?
Excerpt from crash report...
Kernel Extensions in backtrace:
org.virtualbox.kext.VBoxDrv(5.2.22)[D2696352-336F-361B-8717-797487B076F5]@0xffffff7f87943000->0xffffff7f879a6fff
com.apple.driver.IOBluetoothHIDDriver(6.0.8f6)

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

Posted: 18. Mar 2019, 15:42
by andyp73
atkhobby wrote:org.virtualbox.kext.VBoxDrv(5.2.22)[D2696352-336F-361B-8717-797487B076F5]@0xffffff7f87943000->0xffffff7f879a6fff
As VirtualBox 5.2.22 is a bit old now, do you see the same issue if you upgrade to the current version (5.2.26 or 6.0.4 as I write)?

-Andy.

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

Posted: 18. Mar 2019, 18:52
by atkhobby
andyp73 wrote: As VirtualBox 5.2.22 is a bit old now, do you see the same issue if you upgrade to the current version (5.2.26 or 6.0.4 as I write)?

-Andy.
OP has the exact same problem with the latest version.

I'm staying at my current version this week as I'm currently working on a customer case that has to be done by Friday and I don't want to "rock the boat" in any way at the moment.
I'll report back if/when I have more crash-stories that may be helpfull.

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

Posted: 29. Mar 2019, 19:11
by acs87
I updated my Mac OS to 10.14.4, which has a newer com.apple.driver.IOBluetoothHIDDriver(6.0.11f4). No change; the kernel panic still occurs.

Code: Select all

Anonymous UUID:       135F481F-38D9-336D-BF20-FD9C01CECD6B

Fri Mar 29 13:08:07 2019

*** Panic Report ***
panic(cpu 1 caller 0xffffff801125b456): "invalid commandSleep while not holding the gate"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4903.251.3/iokit/Kernel/IOCommandGate.cpp:323
Backtrace (CPU 1), Frame : Return Address
0xffffff9223af35e0 : 0xffffff8010baf82d 
0xffffff9223af3630 : 0xffffff8010ceb795 
0xffffff9223af3670 : 0xffffff8010cdcf4a 
0xffffff9223af36e0 : 0xffffff8010b5cae0 
0xffffff9223af3700 : 0xffffff8010baf247 
0xffffff9223af3820 : 0xffffff8010baf093 
0xffffff9223af3890 : 0xffffff801125b456 
0xffffff9223af38c0 : 0xffffff7f93c13e69 
0xffffff9223af3920 : 0xffffff7f93c156e7 
0xffffff9223af3970 : 0xffffff7f9525ad31 
0xffffff9223af39b0 : 0xffffff7f9524a715 
0xffffff9223af3a40 : 0xffffff7f95249390 
0xffffff9223af3a80 : 0xffffff7f9525b6ff 
0xffffff9223af3b40 : 0xffffff8010e3b613 
0xffffff9223af3b80 : 0xffffff8010e2fd8f 
0xffffff9223af3c00 : 0xffffff8010e219f4 
0xffffff9223af3e00 : 0xffffff801109c2bb 
0xffffff9223af3e30 : 0xffffff80110f2419 
0xffffff9223af3f40 : 0xffffff80111bb0ed 
0xffffff9223af3fa0 : 0xffffff8010b5d2a6 
      Kernel Extensions in backtrace:
         org.virtualbox.kext.VBoxDrv(5.2.26)[C19A198C-41AD-305F-ABA0-622CD09E475A]@0xffffff7f95247000->0xffffff7f952acfff
         com.apple.driver.IOBluetoothHIDDriver(6.0.11f4)[BA4AC1A6-087E-308B-B08F-1A3274F29C1B]@0xffffff7f93c0f000->0xffffff7f93c28fff
            dependency: com.apple.iokit.IOHIDFamily(2.0.0)[B22CED3C-FF8E-3F4C-94DE-52E156703859]@0xffffff7f919ee000
            dependency: com.apple.iokit.IOBluetoothFamily(6.0.11f4)[BD363A00-23E4-39FC-9186-8AE851362C0B]@0xffffff7f93b03000

BSD process name corresponding to current thread: VirtualBoxVM

Mac OS version:
18E226

Kernel version:
Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64
Kernel UUID: 4170BF94-38B6-364F-A1B0-2F7C2C30F9A9
Kernel slide:     0x0000000010800000
Kernel text base: 0xffffff8010a00000
__HIB  text base: 0xffffff8010900000
System model name: iMac15,1 (Mac-42FD25EABCABB274)

System uptime in nanoseconds: 366016238105
last loaded kext at 104834200933: com.apple.filesystems.smbfs	3.3.2 (addr 0xffffff7f9534b000, size 442368)
last unloaded kext at 138615616840: com.apple.driver.AppleIntelLpssGspi	3.0.60 (addr 0xffffff7f93c46000, size 45056)
loaded kexts:
com.avast.PacketForwarder	2.1
com.avast.FileShield	4.0.0
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.filesystems.smbfs	3.3.2
com.apple.driver.AppleBluetoothMultitouch	96
com.apple.driver.AudioAUUC	1.70
com.apple.fileutil	20.036.15
com.apple.filesystems.autofs	3.0
com.apple.driver.ApplePlatformEnabler	2.7.0d0
com.apple.driver.AGPM	110.25.2
com.apple.driver.X86PlatformShim	1.0.0
com.apple.driver.AppleMikeyHIDDriver	131
com.apple.driver.AppleHDA	282.54
com.apple.driver.AppleMikeyDriver	282.54
com.apple.driver.AppleUpstreamUserClient	3.6.5
com.apple.kext.AMDFramebuffer	2.0.8
com.apple.kext.AMDRadeonX4000	2.0.8
com.apple.driver.AppleGraphicsDevicePolicy	3.30.14
com.apple.AGDCPluginDisplayMetrics	3.30.14
com.apple.driver.AppleHV	1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.iokit.IOBluetoothSerialManager	6.0.11f4
com.apple.driver.pmtelemetry	1
com.apple.Dont_Steal_Mac_OS_X	7.0.0
com.apple.driver.AppleIntelHD5000Graphics	12.0.8
com.apple.driver.eficheck	1
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.kext.AMD7000Controller	2.0.8
com.apple.driver.AppleSMCLMU	212
com.apple.driver.AppleLPC	3.1
com.apple.driver.AppleOSXWatchdog	1
com.apple.driver.AppleMCCSControl	1.5.6
com.apple.driver.AppleThunderboltIP	3.1.2
com.apple.driver.AppleIntelFramebufferAzul	12.0.8
com.apple.iokit.SCSITaskUserClient	408.250.3
com.apple.driver.AppleUSBStorageCoexistentDriver	456.250.6
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.250.134
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.AppleACPIButtons	6.1
com.apple.driver.AppleRTC	2.0
com.apple.driver.AppleHPET	1.8
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.AppleBluetoothHIDKeyboard	208
com.apple.driver.AppleHIDKeyboard	208
com.apple.driver.IOBluetoothHIDDriver	6.0.11f4
com.apple.driver.AppleMultitouchDriver	2440.7
com.apple.driver.AppleInputDeviceSupport	2440.2
com.apple.iokit.IOUSBUserClient	900.4.2
com.apple.kext.triggers	1.0
com.apple.driver.DspFuncLib	282.54
com.apple.kext.OSvKernDSPLib	528
com.apple.kext.AMDRadeonX4030HWLibs	1.0
com.apple.kext.AMDRadeonX4000HWServices	2.0.8
com.apple.driver.AppleGraphicsControl	3.30.14
com.apple.iokit.IOAVBFamily	740.1
com.apple.plugin.IOgPTPPlugin	740.2
com.apple.iokit.IOSkywalkFamily	1
com.apple.driver.AppleSSE	1.0
com.apple.AppleGPUWrangler	3.30.14
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.driver.AppleHDAController	282.54
com.apple.iokit.IOHDAFamily	282.54
com.apple.iokit.IONDRVSupport	530.51
com.apple.kext.AMDSupport	2.0.8
com.apple.driver.AppleSMBusPCI	1.0.14d1
com.apple.driver.X86PlatformPlugin	1.0.0
com.apple.driver.IOPlatformPluginFamily	6.0.0d8
com.apple.driver.AppleSMBusController	1.0.18d1
com.apple.driver.AppleThunderboltEDMSink	4.2.0
com.apple.AppleGraphicsDeviceControl	3.30.14
com.apple.iokit.IOAcceleratorFamily2	404.8
com.apple.iokit.IOGraphicsFamily	530.60
com.apple.iokit.IOSurface	255.4.2
com.apple.driver.CoreStorage	546.50.1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport	6.0.11f4
com.apple.iokit.IOBluetoothHostControllerUSBTransport	6.0.11f4
com.apple.iokit.IOBluetoothHostControllerTransport	6.0.11f4
com.apple.iokit.IOBluetoothFamily	6.0.11f4
com.apple.driver.usb.AppleUSBHub	1.2
com.apple.iokit.IOUSBMassStorageClass	4.0.4
com.apple.iokit.IOAudioFamily	206.5
com.apple.vecLib.kext	1.2.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.AppleThunderboltDPInAdapter	5.6.2
com.apple.driver.AppleThunderboltDPOutAdapter	5.6.2
com.apple.driver.AppleThunderboltDPAdapterFamily	5.6.2
com.apple.driver.AppleThunderboltPCIDownAdapter	2.1.4
com.apple.iokit.IOAHCIBlockStorage	301.250.5
com.apple.driver.AppleThunderboltNHI	4.7.6
com.apple.iokit.IOThunderboltFamily	6.8.4
com.apple.iokit.IOEthernetAVBController	1.1.0
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.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.AppleUSBHostMergeProperties	1.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.250.6
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.iokit.IOUSBMassStorageDriver	145.200.2
com.apple.iokit.IOSCSIBlockCommandsDevice	408.250.3
com.apple.iokit.IOSCSIArchitectureModelFamily	408.250.3
com.apple.iokit.IOStorageFamily	2.1
com.apple.kext.CoreTrust	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	740.2
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 224.0.0.0.0, 4 processors, Intel Core i5, 3.3 GHz, 16 GB, SMC 2.22f16
Graphics: kHW_AMDRadeonR9M290Item, AMD Radeon R9 M290, spdisplays_pcie_device, 2 GB
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.2 AirPortDriverBrcmNIC-1305.8)
Bluetooth: Version 6.0.11f4, 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

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

Posted: 1. Apr 2019, 22:03
by edgarion42
Just updated to MacOS 10.14.4 (18E226) and the issue still happens

My specs:
Model Identifier: MacBookAir6,2
OSX version: 10.14.4
VirtualBox version(s): 5.2.26
Keyboard model/type: Magic Keyboard A1314 (the one that still uses AA batteries)
Mouse model/type: Magic Mouse A1296 (still AA batteries as well)
Bluetooth: Version 6.0.11f4
List of Bluetooth loaded kexts:
Don't know how to get the list (sorry!)

In my case, to replicate the problem just turning off the keyboard (long press the on/off circular button on the side of the keyboard) wherever the active window is doesn't trigger the kernell panic, but turning on the keyboard again and having the guest window active will trigger succesfully the kernel panic

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

Posted: 4. Apr 2019, 08:32
by atkhobby
UPDATE: I've been running for som deays now with the BT keyboard and touchpad disconnected and turned of (batteries out actually) and there have been no crash so far.

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

Posted: 25. Apr 2019, 11:41
by wndkk
I don't suppose there is any news on this matter from the development team?

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

Posted: 25. Apr 2019, 11:56
by socratis
@wndkk
I don't suppose you went through all the posts in the thread, in order to determine what's common to all of them and make a summary out of the whole thread, did you?

The more "focused" a report is, the better chances you have of nailing down a fix. Because on my 10.14.3 (and later) it certainly doesn't crash. But I don't have a Bluetooth accessory like a keyboard/mouse...

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

Posted: 3. May 2019, 13:55
by atkhobby
I have read through all post and to me it seems pretty clear that this is related to BT accessory that is being actively used by the client and that the sleep/wake functions for them is not handled correctly. I cannot see what more can be done in reporting this. We will need a developer with BT keyboard/trackpad though.