You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Cannot stop amd64 Arch Linux container #754
If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
I cannot reproduce it again, but it happened twice. I currently have two containers hanging container stop and container system stop. So I can't remove them. What I did looked something like this:
% container stop --debug f338cc47-a3e4-4321-b5e5-1a52b8ec3166[no output]^C
% container system stop2025-10-12T16:15:27+0300 info com.apple.container.cli: [ContainerCommands] checking if APIServer is alive2025-10-12T16:15:27+0300 info com.apple.container.cli: stopTimeoutSeconds=5 [ContainerCommands] stopping containers
It's hanging. So I can't container rm the containers.
You mentioned you aren't able to get a consistent repro. When you see the issue, could you run container system logs --debug --last <insert minutes ago that you started the container plus another minute for more context> and include those logs here?
Additionally, can you grab the boot logs of the problematic container from ~/Library/Application\ Support/com.apple.container/containers/<container ID>/vminitd.log? This will include the kernel's dmesg output and our agent vminitd's debug output.
You mentioned you aren't able to get a consistent repro. When you see the issue, could you run container system logs --debug --last <insert minutes ago that you started the container plus another minute for more context> and include those logs here?
Additionally, can you grab the boot logs of the problematic container from ~/Library/Application\ Support/com.apple.container/containers/<container ID>/vminitd.log? This will include the kernel's dmesg output and our agent vminitd's debug output.
Do you still run into the issue if you provide more memory to the container on run? Something like container run --rm -it -m <target amount of memory><M/K/G> --arch amd64 archlinux. The default is 2GB.
Activity
osalbahr commentedon Oct 12, 2025
For reference, I also tried to
container stopthe other container. And it's been hanging for like 3 minutes with no debug output.katiewasnothere commentedon Oct 13, 2025
Hi @osalbahr, thanks for the report!
You mentioned you aren't able to get a consistent repro. When you see the issue, could you run
container system logs --debug --last <insert minutes ago that you started the container plus another minute for more context>and include those logs here?Additionally, can you grab the boot logs of the problematic container from
~/Library/Application\ Support/com.apple.container/containers/<container ID>/vminitd.log? This will include the kernel's dmesg output and our agent vminitd's debug output.osalbahr commentedon Oct 13, 2025
f338cc47-a3e4-4321-b5e5-1a52b8ec3166: vminitd.log
84c481d2-7468-49e7-aec7-0966853cde71: vminitd.log
Note that
execing hangs too. For example,container exec -it f338cc47-a3e4-4321-b5e5-1a52b8ec3166 bash.katiewasnothere commentedon Oct 13, 2025
From the dmesg, it looks like the exec hits an oomkill:
it also looks like the container exits and then we hit a kernel panic:
Looks like this panic is a dup of #614.
Do you still run into the issue if you provide more memory to the container on run? Something like
container run --rm -it -m <target amount of memory><M/K/G> --arch amd64 archlinux. The default is 2GB.osalbahr commentedon Oct 13, 2025
These 2 containers that are hanging have 8GB and 4GB of RAM.
sveba commentedon Oct 14, 2025
Same issue
katiewasnothere commentedon Oct 15, 2025
Interesting. Seems like there's something going on when unmounting our ext4 images. Closing as a dup.