docker / for-mac

Bug reports for Docker Desktop for Mac
https://www.docker.com/products/docker#/mac
2.44k stars 118 forks source link

Docker Desktop Kernel Panic #6619

Closed moisesrodriguez closed 1 year ago

moisesrodriguez commented 1 year ago

Expected behavior

Docker starts

Actual behavior

After starting Docker Desktop Mac OS shuts down with kernel panic. I had this happen 3 time now. All spaced out, usually after the computer restarts Docker Desktop works fine. But the times I've had the computer restart with the kernel panic is when starting Docker Desktop

Information

Output of /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check

/Applications/Docker.app/Contents/MacOS/com.docker.diagnose check
Starting diagnostics

[PASS] DD0027: is there available disk space on the host?
[PASS] DD0028: is there available VM disk space?
[PASS] DD0018: does the host support virtualization?
[PASS] DD0001: is the application running?
[PASS] DD0017: can a VM be started?
[PASS] DD0016: is the LinuxKit VM running?
[PASS] DD0011: are the LinuxKit services running?
[PASS] DD0004: is the Docker engine running?
[PASS] DD0015: are the binary symlinks installed?
[PASS] DD0031: does the Docker API work?
[PASS] DD0013: is the $PATH ok?
[PASS] DD0003: is the Docker CLI working?
[PASS] DD0014: are the backend processes running?
[PASS] DD0007: is the backend responding?
[PASS] DD0008: is the native API responding?
[PASS] DD0009: is the vpnkit API responding?
[PASS] DD0010: is the Docker API proxy responding?
[PASS] DD0012: is the VM networking working?
[SKIP] DD0030: is the image access management authorized?
[FAIL] DD0019: is the com.docker.vmnetd process responding? failed to ping vmnetd with error: failed to connect to /var/run/com.docker.vmnetd.sock: is vmnetd running?: dial unix /var/run/com.docker.vmnetd.sock: connect: no such file or directory
[PASS] DD0033: does the host have Internet access?
[PASS] DD0018: does the host support virtualization?
[PASS] DD0001: is the application running?
[PASS] DD0017: can a VM be started?
[PASS] DD0016: is the LinuxKit VM running?
[PASS] DD0011: are the LinuxKit services running?
[PASS] DD0004: is the Docker engine running?
[PASS] DD0015: are the binary symlinks installed?
[PASS] DD0031: does the Docker API work?
[PASS] DD0032: do Docker networks overlap with host IPs?

Please investigate the following 1 issue:

1 : The test: is the com.docker.vmnetd process responding?
    Failed with: failed to ping vmnetd with error: failed to connect to /var/run/com.docker.vmnetd.sock: is vmnetd running?: dial unix /var/run/com.docker.vmnetd.sock: connect: no such file or directory

The com.docker.vmnetd process is needed to create symlinks for CLIs in your path.

The com.docker.vmnetd process is needed to create symlinks for CLIs in your path.

Steps to reproduce the behavior

  1. Start Docker Desktop
  2. Fails to start and computer shutdown with kernel panic
panic(cpu 3 caller 0xffffff8008f4aee3): Kernel trap at 0xffffff800a80fa12, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x00000001069ec503, CR3: 0x00000001ed1320b9, CR4: 0x00000000003626e0
RAX: 0x0000000000004000, RBX: 0xffffffffff2b3770, RCX: 0xffffffe552e4a000, RDX: 0x0000000000000008
RSP: 0xffffffffff2b36d0, RBP: 0xffffffffff2b3710, RSI: 0xffffffa50a3209b0, RDI: 0xffffffffff2b3770
R8:  0x000000000000000c, R9:  0x00000000000007d0, R10: 0x0000000000000010, R11: 0xc6a4a7935bd1e995
R12: 0x0000000800000023, R13: 0xffffffa50a3209b0, R14: 0xffffffa50a3209b0, R15: 0x000000000000000c
RFL: 0x0000000000010206, RIP: 0xffffff800a80fa12, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0xffffffe552e4e01c, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 10

Panicked task 0xffffffa4fc8f8638: 1 threads: pid 49666: PerfPowerService
Backtrace (CPU 3), panicked thread: 0xffffff96a65d1b30, Frame : Return Address
0xffffffffff2b30b0 : 0xffffff8008dedf9d 
0xffffffffff2b3100 : 0xffffff8008f5b786 
0xffffffffff2b3140 : 0xffffff8008f4aa10 
0xffffffffff2b3190 : 0xffffff8008d88951 
0xffffffffff2b31b0 : 0xffffff8008dee27d 
0xffffffffff2b32a0 : 0xffffff8008ded929 
0xffffffffff2b3300 : 0xffffff80095e0ecb 
0xffffffffff2b33f0 : 0xffffff8008f4aee3 
0xffffffffff2b3570 : 0xffffff8008f4abd2 
0xffffffffff2b35c0 : 0xffffff8008d88951 
0xffffffffff2b35e0 : 0xffffff800a80fa12 
0xffffffffff2b3710 : 0xffffff800a8114bc 
0xffffffffff2b37c0 : 0xffffff800a8132c4 
0xffffffffff2b3810 : 0xffffff800a7f3952 
0xffffffffff2b3890 : 0xffffff800a7d674a 
0xffffffffff2b3a40 : 0xffffff800a7e16fd 
0xffffffffff2b3ac0 : 0xffffff800a7e1823 
0xffffffffff2b3b30 : 0xffffff80095b79c3 
0xffffffffff2b3b60 : 0xffffff800930b033 
0xffffffffff2b3c10 : 0xffffff8008e413d1 
0xffffffffff2b3cf0 : 0xffffff8008e45e63 
0xffffffffff2b3d20 : 0xffffff8008de3eec 
0xffffffffff2b3d50 : 0xffffff8008d8891d 
      Kernel Extensions in backtrace:
         com.apple.iokit.EndpointSecurity(1.0)[362089C2-955D-3EDF-B982-8D3C1C65ABEE]@0xffffff800a7c9000->0xffffff800a826fff
            dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[A0F531C1-2689-359B-AA04-000F5DB5DF2D]@0xffffff800a391000->0xffffff800a3bffff
            dependency: com.apple.security.quarantine(4)[906A58B7-24CC-369B-B44C-A9E4E8A8F65C]@0xffffff800bdd2000->0xffffff800bddbfff

Process name corresponding to current thread (0xffffff96a65d1b30): PerfPowerServices

Mac OS version:
22A400

Kernel version:
Darwin Kernel Version 22.1.0: Sun Oct  9 20:14:54 PDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_64
Kernel UUID: BF7C9676-EF23-3E8D-A2E2-25DAC63091B6
roots installed: 0
KernelCache slide: 0x0000000008a00000
KernelCache base:  0xffffff8008c00000
Kernel slide:      0x0000000008adc000
Kernel text base:  0xffffff8008cdc000
__HIB  text base: 0xffffff8008b00000
System model name: MacBookAir9,1 (Mac-0CFF9C7C2B63DF8D)
System shutdown begun: YES
Hibernation exit count: 21

System uptime in nanoseconds: 66000052414875
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x00003c06d5adf259
  Sleep   : 0x000024258e1297f5 0x00000000f302ecd2 0x00002423c2368989
  Wake    : 0x00002425916f540b 0x000005fd26395bf1 0x000024258f967b0a
Compressor Info: 13% of compressed pages limit (OK) and 12% of segments limit (OK) with 5 swapfiles and OK swap space
Zone info:
  Zone map: 0xffffff903c7de000 - 0xffffffb03c7de000
  . PGZ   : 0xffffff903c7de000 - 0xffffff903e7df000
  . VM    : 0xffffff903e7df000 - 0xffffff950afde000
  . RO    : 0xffffff950afde000 - 0xffffff96a47de000
  . GEN0  : 0xffffff96a47de000 - 0xffffff9b70fde000
  . GEN1  : 0xffffff9b70fde000 - 0xffffffa03d7de000
  . GEN2  : 0xffffffa03d7de000 - 0xffffffa509fde000
  . GEN3  : 0xffffffa509fde000 - 0xffffffa9d67de000
  . DATA  : 0xffffffa9d67de000 - 0xffffffb03c7de000
  Metadata: 0xfffffff2aced9000 - 0xfffffff2cced9000
  Bitmaps : 0xfffffff2cced9000 - 0xfffffff2d2ed9000

last started kext at 141489549708: com.boxcryptor.BCFS.filesystems.bcfs 2113.20 (addr 0xffffff7f9fc6a000, size 81920)
loaded kexts:
com.boxcryptor.BCFS.filesystems.bcfs    2113.20
com.paragon-software.filesystems.ntfs   328.9.15
com.intel.driver.EnergyDriver   3.7.0
>AudioAUUC  1.70
>AGPM   131
>X86PlatformShim    1.0.0
>!APlatformEnabler  2.7.0d0
@filesystems.autofs 3.0
>!AHIDALSService    1
>!ATopCaseHIDEventDriver    6000.22
>!AGraphicsDevicePolicy 7.1.16
@AGDCPluginDisplayMetrics   7.1.16
>!AUpstreamUserClient   3.6.9
>pmtelemetry    1
@filesystems.nfs    1
|IOUserEthernet 1.0.1
>usb.!UUserHCI  1
>!ABridgeAudio!C    300.10
>!AHV   1
>!ADiskImages2  198.40.3
>!AGFXHDA   200.2
>AGDCBacklightControl   7.1.16
>!A!IICLGraphics    20.0.2
>!ABacklight    180.8
>ACPI_SMC_PlatformPlugin    1.0.0
>!AFIVRDriver   4.1.0
>!A!IPCHPMC 2.0.1
@UVCService 1
>!A!IICLLPGraphicsFramebuffer   20.0.2
>!A!ISlowAdaptiveClocking   4.0.0
>BridgeAudioCommunication   300.10
>!AAVEBridge    6.1
>!AThunderboltIP    4.0.3
>!AMCCSControl  1.16
|SCSITaskUserClient 476
>usb.!UHostBillboardDevice  1.0
>usb.realtek8153patcher 5.0.0
>BCMWLANFirmware4387.Hashstore  1
>BCMWLANFirmware4378.Hashstore  1
>BCMWLANFirmware4377.Hashstore  1
>BCMWLANFirmware4364.Hashstore  1
>BCMWLANFirmware4355.Hashstore  1
>!AFileSystemDriver 3.0.1
@filesystems.tmpfs  1
@filesystems.lifs   1
@filesystems.hfs.kext   627.40.1
@BootCache  40
@!AFSCompression.!AFSCompressionTypeZlib    1.0.0
@!AFSCompression.!AFSCompressionTypeDataless    1.0.0d1
@filesystems.apfs   2142.41.2
>!A!BModule 1
@private.KextAudit  1.0
>!ABCMWLANBusInterfacePCIeMac   1
>!ASmartBatteryManager  161.0.0
>!AACPIButtons  6.1
>!ASMBIOS   2.1
>!AACPIEC   6.1
>!AAPIC 1.7
$!AUserConsent  1
@!ASystemPolicy 2.0.0
@nke.applicationfirewall    403
|IOKitRegistryCompatibility 1
|EndpointSecurity   1
@Dont_Steal_Mac_OS_X    7.0.0
@kec.Compression    1
@kec.!AEncryptedArchive 1
>!AActuatorDriver   6400.44
>!AHIDKeyboard  231
>!AMultitouchDriver 6400.44
>!AInputDeviceSupport   6400.40
>!AHS!BDriver   6000.22
>IO!BHIDDriver  9.0.0
>!AGraphicsControl  7.1.16
@kext.triggers  1.0
>IOHIDPowerSource   1
>!UAudio    500.2
>!AAudioClockLibs   200.5
|IO!BSerialManager  9.0.0
|IO!BPacketLogger   9.0.0
|IO!BHost!CUSBTransport 9.0.0
|IO!BHost!CUARTTransport    9.0.0
|IO!BHost!CTransport    9.0.0
>IO!BHost!CPCIeTransport    9.0.0
>usb.cdc.acm    5.0.0
>usb.serial 6.0.0
|IOAVB!F    1100.24
|CSR!BHost!CUSBTransport    9.0.0
|Broadcom!BHost!CUSBTransport   9.0.0
|Broadcom!B20703USBTransport    9.0.0
>!ASMBusPCI 1.0.14d1
>!ARSMChannel   1
|IORSM!F    1
>!AIPAppender   1.0
>!AHDA!C    400.3
|IOHDA!F    400.3
|IOAudio!F  400.3
@vecLib.kext    1.2.0
>!ABacklightExpert  1.1.0
|IONDRVSupport  597
@plugin.IOgPTPPlugin    1110.13
>IOPlatformPluginLegacy 1.0.0
>X86PlatformPlugin  1.0.0
>IOPlatformPlugin!F 6.0.0d8
|IOAccelerator!F2   475
@!AGPUWrangler  7.1.16
@!AGraphicsDeviceControl    7.1.16
|IOSlowAdaptiveClocking!F   1.0.0
>!AThunderboltEDMSink   5.0.3
>!AThunderboltDPOutAdapter  8.5.1
|IOGraphics!F   597
>!ASMBus!C  1.0.18d1
>driverkit.serial   6.0.0
>usb.IOUSBHostHIDDevice 1.2
>usb.cdc.ecm    5.0.0
>usb.cdc.ncm    5.0.0
>usb.cdc    5.0.0
>usb.networking 5.0.0
>usb.!UHostCompositeDevice  1.2
>usb.!UHub  1.2
>!AThunderboltPCIDownAdapter    4.1.1
>!AHPM  3.4.4
>!A!ILpssI2C!C  3.0.60
>!A!ILpssI2C    3.0.60
>!A!ILpssDmac   3.0.60
>!AThunderboltDPInAdapter   8.5.1
>!AThunderboltDPAdapter!F   8.5.1
>!ABSDKextStarter   3
|IOSurface  334.0.1
@filesystems.hfs.encodings.kext 1
>!ASyntheticGame!C  10.2.9
>!AXsanScheme   3
>usb.!UVHCIBCE  1.2
>usb.!UVHCICommonBCE    1.0
>usb.!UVHCI 1.2
>usb.!UVHCICommon   1.0
>!AEffaceableNOR    1.0
>!AConvergedIPCOLYBTControl 1
>!AConvergedPCI 1
>!A!BDebug  1
>!A!BDebugService   1
|IOBufferCopy!C 1.1.0
|IOBufferCopyEngine!F   1
|IONVMe!F   2.1.0
>usb.!UHostPacketFilter 1.0
|IOUSB!F    900.4.2
>!AThunderboltNHI   7.2.81
|IOThunderbolt!F    9.3.3
>usb.!UXHCIPCI  1.2
>usb.!UXHCI 1.2
>!AMultiFunctionManagerMac  1
>!ABCMWLANCoreMac   1.0.0
|IO80211!F  1200.13.0
>IOImageLoader  1.0.0
>!AOLYHALMac    1
|IOSerial!F 11
>corecapture    1.0.4
>!AEFINVRAM 2.1
>!AEFIRuntime   2.1
>!ASMCRTC   1.0
|IOSMBus!F  1.1
|IOHID!F    2.0.0
|IOTimeSync!F   1110.13
|IOSkywalk!F    1.0
>mDNSOffloadUserClient  1.0.1b8
|IONetworking!F 3.4
>DiskImages 493.0.0
|IO!B!F 9.0.0
|IOReport!F 47
$quarantine 4
$sandbox    300.0
@kext.!AMatch   1.0.0d1
>!ASSE  1.0
>!AKeyStore 2
>!UTDM  547
|IOUSBMass!SDriver  232
|IOSCSIBlockCommandsDevice  476
|IO!S!F 2.1
|IOSCSIArchitectureModel!F  476
>!AMobileFileIntegrity  1.0.5
$!AImage4   5.0.0
@kext.CoreTrust 1
>!AFDEKeyStore  28.30
>!AEffaceable!S 1.0
>!ACredentialManager    1.0
|CoreAnalytics!F    1
>KernelRelayHost    1
|IOUSBHost!F    1.2
>!UHostMergeProperties  1.2
>usb.!UCommon   1.0
>!ABusPower!C   1.0
>!ASEPManager   1.0.1
>IOSlaveProcessor   1
>!AACPIPlatform 6.1
>!ASMC  3.1.9
|IOPCI!F    2.9
|IOACPI!F   1.4
>watchdog   1
@kec.pthread    1
@kec.Libm   1
@kec.corecrypto 12.0
docker-robott commented 1 year ago

There hasn't been any activity on this issue for a long time. If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment. If not, this issue will be closed in 30 days.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

docker-robott commented 1 year ago

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked