Skip to content

Segfault on amd64 under QEMU #16024

@lczyk

Description

@lczyk

Summary

docker run --rm --platform=linux/amd64 ubuntu:25.04 bash -c '
apt update && apt install -y curl;
curl -LsSf https://astral.sh/uv/install.sh | sh;
source $HOME/.local/bin/env;
which uv;
uv --help'

leads to

/root/.local/bin/uv # the output of `which`
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

note: i'm on arm64 host.

reminds me of this issue which i've reported a while ago, which turned out to be an issue in upstream golang (yes, i know this is not a golang project 😅 i said it reminds me of it) which they resolved in the HEAD (go1.26).


Note: here is a useful snippet to enable qemu emulation in docker: docker run --privileged --rm tonistiigi/binfmt --install all

Note 2: i've run the same command

Platform

Ubuntu 25.04 aarch64

Version

uv 0.8.22 x86_64-unknown-linux-gnu (extracted from logs, before the segfault)

Python version

irrelevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalThe problem is with another package or dependency (not uv)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions