docker / for-mac

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

Linux kernel v6.6.12 crash on M2 Pro since version 4.27.1 #7176

Open Dentrax opened 8 months ago

Dentrax commented 8 months ago

Description

Linux kernel v6.6.12 crash on virtualization.framework ``` Fatal error reported: Linux kernel v6.6.12 crash on virtualization.framework [ 1207.164552] Internal error: Oops - BUG: 00000000f2000800 [#1] SMP [ 1207.164635] M(417) - 2024-02-06T19:20:46.168167166Z: CPU: 8 PID: 305 Comm: lifecycle-serve Tainted: G O 6.6.12-linuxkit #1odules linked in: selfowner(O) s hiftfs(O) rosetta(O) grpcfuse(O) fakeowner(O) [ 1207.164726] CPU: 8 PID: 305 C(418) - 2024-02-06T19:20:46.168173166Z: pstate: 61400005 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)omm: lifecycle-serve Tainted: G W O 6.6.12-linuxkit #1 [ 1207.164832] pstate: 61400005 (nZCv daif +PAN -UAO -TCO +DIT -(419) - 2024-02-06T19:20:46.168175166Z: pc : umount_check+0x68/0x90SSBS BTYPE=--) [ 1207.164903] p c : generic_shutdown_super+0xf8/0x108 (420) - 2024-02-06T19:20:46.168176166Z: lr : umount_check+0x68/0x90[ 1207.164969] lr : generic_shut down_super+0xf8/0x108 [ 1207.165048] sp : ffff0000c915bae0 (421) - 2024-02-06T19:20:46.168177166Z: sp : ffff0000c915ba00[ 1207.165054] x29: ffff0000c915bae0 x28: ffff0000cd255ab0 x27: 0000000000000009 [ 1207.165161] x(422) - 2024-02-06T19:20:46.168178166Z: x29: ffff0000c915ba00 x28: 000000000000244a x27: ffff00004b5df78026: 0000000000000000 x25: 000000 0000405350 x24: ffff8000821a14c8(423) - 2024-02-06T19:20:46.168179166Z: x26: ffff00004b5dfd60 x25: ffff00004b5dfcc0 x24: ffff800081f18000 [ 1207.165332] x 23: 0000000000000000 x22: ffff0000cd255400 x21: 0000000000000037 [ 1207.165395] x20: ffff80007a27e218 x19: ffff0000c90d0800 x18: ffffffffffffffff(424) - 2024-02-06T19:20:46.168180166Z: x23: ffff00004b5df7d8 x22: ffff0000c20e4b40 x21: ffff800080323ec0 [ 1207.165485] x 17: 5b20293128206573 x16: 75206e69206c6c69 x15: (425) - 2024-02-06T19:20:46.168181166Z: x20: ffff00004b5dfd60 x19: ffff00004b5df810 x18: ffffffffffffffff747320207d646c69 [ 1207.165604] x14: 0000000000000000 x13: 2972656e776f656b x12: 6166282072656e77 (426) - 2024-02-06T19:20:46.168182166Z: x17: 2029312820657375 x16: 206e69206c6c6974 x15: 7320207d646c6975[ 1207.165688] x11: 6f656b616620666f x10: ffff80 0081fa31b0 x9 : ffff8000800bfd0c [ 1207.165750] x8 : 00000000ffffefff x7 : ffff80(427) - 2024-02-06T19:20:46.168183166Z: x14: 623d6e2c61636536 x13: 5d72656e776f656b x12: 61662072656e776f0081fa03d8 x6 : 00000000000001e9 [ 1207.165809] x5 : ffff0001af39c748 x4 : ffff00(428) - 2024-02-06T19:20:46.168184166Z: x11: 656b616620666f20 x10: ffff800081fa03d8 x9 : ffff8000800bfd0c00c915b960 x3 : 0000000000000000 [ 1207.165930] x2 : 0000000000000000 x1 : ffff0000cd255400 x0 : 0000000000000037 [ 1207.165968] Call trace: [ 1207.165994] generic_shutdown_super+0xf8/0x108 [ 1207.166032] kill_anon_super+(429) - 2024-02-06T19:20:46.168185166Z: x8 : 00000000ffffefff x7 : ffff800081fa03d8 x6 : 80000000fffff0000x28/0xf0 [ 1207.166090] deactivate_locked_super+0x50/0x1d8 [ 1207.166145] deactivate_super+0x8c/0xb0 (430) - 2024-02-06T19:20:46.168187166Z: x5 : ffff0001af39c748 x4 : ffff0000c915b870 x3 : ffff80012d8b6000[ 1207.166187] cleanup_mnt+0xa4/0x140 [ 1207.166231] __cleanup_mnt+0x1c/0x30 [ 1207.166263] task_work_run+0x(431) - 2024-02-06T19:20:46.168188166Z: x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0000cd25540090/0x120 [ 1207.166341] do_exit+0x2f0/0xa18 [ 1207.166377] do_group_exit+0x3c/0xa0 [ 1207.166413] get_signal+0x978/0x980 [ 1207.166433] do_notify_resume+0x154/0x1348 [ 1207.166484] el0_svc+0x12c/0x130 (432) - 2024-02-06T19:20:46.168189166Z: Call trace:[ 1207.166542] el0t_64_sync_han dler+0x120/0x130 (433) - 2024-02-06T19:20:46.168189166Z: umount_check+0x68/0x90[ 1207.166620] el0t_64_sync+0x1 90/0x198 [ 1207.166680] C(434) - 2024-02-06T19:20:46.168191166Z: d_walk+0xe8/0x390ode: f0008040 91026000 f9400042 97f6cbf3 (d4210000) [ 1207.166795] ---[ end trace 0000000000000000 ]--- ```

Reproduce

I don't know how to reproduce. There was no running container. Noticed that popup when I wake the Macbook.

Expected behavior

It should not crash?

docker version

Client:
 Cloud integration: v1.0.35+desktop.10
 Version:           25.0.2
 API version:       1.44
 Go version:        go1.21.6
 Git commit:        29cf629
 Built:             Thu Feb  1 00:18:45 2024
 OS/Arch:           darwin/arm64
 Context:           desktop-linux

Server: Docker Desktop 4.27.1 (136059)
 Engine:
  Version:          25.0.2
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.6
  Git commit:       fce6e0c
  Built:            Thu Feb  1 00:23:21 2024
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.28
  GitCommit:        ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

docker info

Client:
 Version:    25.0.2
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.12.1-desktop.4
    Path:     /Users/furkan.turkal/.docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.24.3-desktop.1
    Path:     /Users/furkan.turkal/.docker/cli-plugins/docker-compose
  debug: Get a shell into any image or container. (Docker Inc.)
    Version:  0.0.22
    Path:     /Users/furkan.turkal/.docker/cli-plugins/docker-debug
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.0
    Path:     /Users/furkan.turkal/.docker/cli-plugins/docker-dev
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.21
    Path:     /Users/furkan.turkal/.docker/cli-plugins/docker-extension
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.4
    Path:     /Users/furkan.turkal/.docker/cli-plugins/docker-feedback
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.0.0
    Path:     /Users/furkan.turkal/.docker/cli-plugins/docker-init
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     /Users/furkan.turkal/.docker/cli-plugins/docker-sbom
  scout: Docker Scout (Docker Inc.)
    Version:  v1.3.0
    Path:     /Users/furkan.turkal/.docker/cli-plugins/docker-scout

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 1
 Server Version: 25.0.2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc version: v1.1.12-0-g51d5e94
 init version: de40ad0
 Security Options:
  seccomp
   Profile: unconfined
  cgroupns
 Kernel Version: 6.6.12-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: aarch64
 CPUs: 10
 Total Memory: 5.79GiB
 Name: docker-desktop
 ID: 8a721f0b-023e-4301-8ddc-f964a961e590
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Experimental: false
 Insecure Registries:
  localhost:5001
  127.0.0.1
  hubproxy.docker.internal:5555
  127.0.0.0/8
 Live Restore Enabled: false

Diagnostics ID

85D6546A-DCE3-4A3F-998D-F7D598A2AB03/20240206195839

Additional Info

Macbook M2 Pro - Sonoma 14.3

harry-atk commented 8 months ago

worst part of this is that it gives me a error report larger than my screensize and I can't use tab to get to close buttons. (aarch64 M1 macbook)

nbennett25 commented 7 months ago

Same issue here - I'm on an Apple M1 Pro, running Monterey 12.65 tho. Was working totally fine yesterday, today I'm getting:

Fatal error reported: Linux kernel v6.6.12 crash on virtualization.framework

[  103.437812] Internal error: Oops - BUG: 00000000f2000800 [#1] SMP
[  103.437876] Modules linked in: selfowner(O) shiftfs(O) rosetta(O) grpcfuse(O) fakeowner(O)
[  103.437951] CPU: 8 PID: 1601 Comm: chown Tainted: G           O       6.6.12-linuxkit #1
[  103.437984] pstate: 01400005 (nzcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
[  103.438019] pc : notify_change+0x3e0/0x3f0
[  103.438066] lr : notify_change+0x98/0x3f0
[  103.438100] sp : ffff0000ff0339c0
[  103.438125] x29: ffff0000ff0339c0 x28: 0000000065eb5dde x27: 0000000000008dff
[  103.438184] x26: 0000000000000000 x25: 00000000104bc0c5 x24: ffff000109c93e40
[  103.438231] x23: ffff800081ffc688 x22: 0000000000000000 x21: ffff0000f65689c0
[  103.438306] x20: 0000000000001841 x19: ffff0000ff033a48 x18: ffffffffffffffff
[  103.438359] x17: 0000000000000000 x16: 0000000000000000 x15: ffff0000ff0338a0
[  103.438410] x14: 121706165b0e0a10 x13: 7d303a2265646f6d x12: 222c303030313a22
[  103.438466] x11: 00000000000003a5 x10: 28ec668d0d27b271 x9 : ffff80008032a758
[  103.438524] x8 : ffff0000c2e0fdc8 x7 : 0000000000508d95 x6 : ffff0000c21d4a18
[  103.438575] x5 : 0000000065eb5dde x4 : 0000000000000000 x3 : 0000000000000000
[  103.438628] x2 : ffff0000c2e0f000 x1 : 00000000104bc0c5 x0 : 0000000065eb5dde
[  103.438695] Call trace:
[  103.438709]  notify_change+0x3e0/0x3f0
[  103.438736]  fakeowner_setattr+0x260/0xab8 [fakeowner]
[  103.438785]  notify_change+0x280/0x3f0
[  103.438815]  chown_common+0x160/0x228
[  103.438846]  do_fchownat+0xa8/0x120
[  103.438890]  __arm64_sys_fchownat+0x30/0x48
[  103.438937]  invoke_syscall.constprop.0+0x58/0xf8
[  103.439011]  do_el0_svc+0x48/0xd8
[  103.439043]  el0_svc+0x44/0x130
[  103.439072]  el0t_64_sync_handler+0x120/0x130
[  103.439105]  el0t_64_sync+0x190/0x198
[  103.439132] Code: 34ffea00 17ffffbb 12800bd6 17ffff4d (d4210000) 
[  103.439181] ---[ end trace 0000000000000000 ]---

Docker version 4.27.2 (137060):

Diagnostics ID: 2EEA3743-369A-4B4A-943F-8718F9A672F6/20240308184559

shruti-paranjape commented 6 months ago

Same here I am on Apple M2 pro Sonoma 14.4.1. I get Fatal error reported: Linux kernel v6.6.16 crash on virtualization.framework