abiosoft / abiosoft/colima

Colima cause system crash on MacOS M1

Abierto
#1,039 3 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
30.8k
Forks
613
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Description

I need to develop x86 software on an Apple M1 Macbook Pro, so my solution was to use Colima with Rosetta support. I did the setup with this command:
```
colima start --arch aarch64 --vm-type=vz --vz-rosetta --cpu 8 --memory 8
```
It works perfectly until I stay in the Lima VM (and any conatiner in Colima), but unfortunatelly all other ative Apple M1 app are frequently crashes. (MacOs Calendar, Chrome, Slack, etcd)

I tried to narrow the issue down, and until Colima is not started, everything is ok. After that, random crashes are came. One more thing, if I stop Colima, usually a full system reboot needs to be done, to get rid of all the issues.

### Version

```
% colima version && limactl --version && qemu-img --version
colima version 0.6.8
git commit: 9b0809d0ed9ad3ff1e57c405f27324e6298ca04f

runtime: docker
arch: aarch64
client: v26.1.0
server: v24.0.9
limactl version 0.21.0
qemu-img version 9.0.0
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
```

Mac:
```
MacBook Pro,
Chip: Apple M1 Max
Memory: 32 GB
macOS: Sonoma 14.5
```

### Operating System

- [ ] macOS Intel <= 13 (Ventura)
- [ ] macOS Intel >= 14 (Sonoma)
- [ ] Apple Silicon <= 13 (Ventura)
- [X] Apple Silicon >= 14 (Sonoma)
- [ ] Linux

### Output of `colima status`

% colima status
INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: virtiofs
INFO[0000] socket: unix:///Users/golibali/.colima/default/docker.sock

### Reproduction Steps

1. Start Colima with command `colima start --arch aarch64 --vm-type=vz --vz-rosetta --cpu 8 --memory 8`
2. Use it a bit (attach a VSCode, run some golang tests)
3. Watch other Mac apps as they not responding/crashing ...

### Expected behaviour

It would be great if all the native apple apps remain workable after Colima is started.

### Additional context

I created a development x86 container in Colima with the `--platform linux/amd64`, and attached a VSCode to it. I don't know if it matters, probably not.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.