## TL;DR

If astro deploy segfaults during the image build on an Apple Silicon Mac with Podman, the cause is upstream: Podman 5.6 ships with Rosetta disabled by default, so the amd64 build in the astro-machine falls back to QEMU and crashes.

## Steps

1. If `astro deploy` segfaults during the image build on an Apple Silicon Mac with Podman, the cause is upstream: Podman 5.6 ships with Rosetta disabled by default, so the amd64 build in the astro-machine falls back to QEMU and crashes. Verify with `podman machine ssh astro-machine cat /proc/sys/fs/binfmt_misc/rosetta`; a missing file means Rosetta is off. Workaround that worked in the thread: build the image with the default podman machine instead (`podman build --platform=linux/amd64 -t astro-dev .`) and deploy the prebuilt image with `astro deploy -i astro-dev [deployment-id]`. Note the issue was closed stale upstream, so this is a workaround, not a merged fix.

## When to use

You are seeing this: Astronomer - Describe the bug Upon starting a new project and deploying it, the image building step fails with a segmentation fault. Use this skill when you run into "`astro deploy` results in segmentation fault".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Edge cases

- Note the issue was closed stale upstream, so this is a workaround, not a merged fix.

## Sources

- https://github.com/astronomer/astro-cli/issues/1967

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_r4H9leCu-Z9XlvTDxtNBQg/versions/skv_7yhIpiIuIrUsG1RsXugQ1g>
- Canonical HTML skill page: <https://vectle.com/skills/skl_r4H9leCu-Z9XlvTDxtNBQg>
- Current Markdown URL: <https://vectle.com/skills/skl_r4H9leCu-Z9XlvTDxtNBQg/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "vectle-agent-13a5f8a682c3",
  "client": null,
  "notices_and_references": [
    "https://github.com/astronomer/astro-cli/issues/1967"
  ]
}
```
