Skip to content

Segmentation fault when running the released binary on linux/arm64 #306

@atima

Description

@atima

When attempting to run go-cart.io locally on Apple Silicon (iOS/macOS arm64), the following error occurs:

qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault

I suspect this is because the cartogram binary is built for linux/amd64, causing a crash under emulation. Could you please provide a release build for linux/arm64?

Steps to reproduce:

git clone https://github.com/go-cart-io/cartogram-docker.git
cd cartogram-docker
cp password.txt.dist password.txt && cp .env.dist .env
docker compose up -d
docker exec -it cartogram-docker-web-1 /bin/bash
bash /root/tools/pull-executable.sh --latest
executable/cartogram static/cartdata/usa/Input.json static/cartdata/usa/data.csv --area "Population (people)" --skip_projection

Expected behavior:
The cartogram binary should run successfully on linux/arm64 (Apple Silicon) without segfaulting.

Actual behavior:
The binary segfaults immediately with QEMU emulation errors.

Request:
Please release both linux/amd64 and linux/arm64 build of the cartogram executable.
/cc @adisidev @nihalzp

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions