Skip to content

Windows aarch64 smoke test fails with EXCEPTION_ACCESS_VIOLATION on mimalloc v3 #19189

@zanieb

Description

@zanieb

In https://github.com/astral-sh/uv/actions/runs/24971355974/attempts/1?pr=19167

Run ./uv run --no-project scripts/smoke-test
  ./uv run --no-project scripts/smoke-test
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    CARGO_INCREMENTAL: 0
    CARGO_NET_RETRY: 10
    CARGO_TERM_COLOR: always
    RUSTUP_MAX_RETRIES: 10
Downloading cpython-3.14.0-windows-x86_64-none (download) (21.2MiB)
 Downloaded cpython-3.14.0-windows-x86_64-none (download)
=============================================
command: uv --version
exit code: 0

------- stdout -------
uv 0.11.7 (161dfd332 2026-04-27 aarch64-pc-windows-msvc)


------- stderr -------

=============================================
command: uv python pin 3.13
exit code: 3221225477

------- stdout -------
Pinned `.python-version` to `3.13`


------- stderr -------
error: unhandled exception in uv, please report a bug:
code 0xC0000005 at address 0x7ff7d934b53c
EXCEPTION_ACCESS_VIOLATION writing 0x7ff7d9d0f248

=============================================
command: uv venv -v
exit code: 3221225477

------- stdout -------


------- stderr -------
DEBUG Found workspace root: `C:\a\uv\uv`
DEBUG Adding root workspace member: `C:\a\uv\uv`
DEBUG Found workspace configuration at `C:\a\uv\uv\pyproject.toml`
DEBUG Searching for user configuration in: `C:\Users\runneradmin\AppData\Roaming\uv\uv.toml`
DEBUG uv 0.11.7 (161dfd332 2026-04-27 aarch64-pc-windows-msvc)
DEBUG Found project root: `C:\a\uv\uv`
DEBUG No workspace root found, using project root
DEBUG Reading Python requests from version file at `C:\a\uv\uv\.python-version`
DEBUG Using Python request `3.13` from version file at `.python-version`
DEBUG Using request connect timeout of 10s and read timeout of 30s
DEBUG Searching for Python 3.13 in managed installations, search path, or registry
DEBUG Searching for managed installations at `C:\Users\runneradmin\AppData\Roaming\uv\python`
DEBUG Skipping managed installation `cpython-3.14.0-windows-x86_64-none`: does not satisfy `3.13`
DEBUG Found `cpython-3.14.0-windows-x86_64-none` at `C:\Users\runneradmin\AppData\Roaming\uv\python\cpython-3.14.0-windows-x86_64-none\python.exe` (first executable in the search path)
DEBUG Skipping interpreter at `C:\Users\runneradmin\AppData\Roaming\uv\python\cpython-3.14.0-windows-x86_64-none\python.exe` from first executable in the search path: does not satisfy request `3.13`
DEBUG Found `cpython-3.13.13-windows-aarch64-none` at `C:\hostedtoolcache\windows\Python\3.13.13\arm64\python3.exe` (search path)
Using CPython 3.13.13 interpreter at: C:\hostedtoolcache\windows\Python\3.13.13\arm64\python3.exe
Creating virtual environment at: .venv
DEBUG Using base executable for virtual environment: C:\hostedtoolcache\windows\Python\3.13.13\arm64\python3.exe
Activate with: .venv\Scripts\activate
error: unhandled exception in uv, please report a bug:
code 0xC0000005 at address 0x7ff7d934b53c
EXCEPTION_ACCESS_VIOLATION writing 0x7ff7d9d0f248

=============================================
command: uv pip install ruff -v
exit code: 3221225477

------- stdout -------


------- stderr -------
DEBUG Found workspace root: `C:\a\uv\uv`
DEBUG Adding root workspace member: `C:\a\uv\uv`
DEBUG Found workspace configuration at `C:\a\uv\uv\pyproject.toml`
DEBUG Searching for user configuration in: `C:\Users\runneradmin\AppData\Roaming\uv\uv.toml`
DEBUG uv 0.11.7 (161dfd332 2026-04-27 aarch64-pc-windows-msvc)
DEBUG Searching for default Python interpreter in virtual environments
DEBUG Found `cpython-3.13.13-windows-aarch64-none` at `C:\a\uv\uv\.venv\Scripts\python.exe` (virtual environment)
DEBUG Using Python 3.13.13 environment at: .venv
DEBUG At least one requirement is not satisfied: ruff
DEBUG Using request connect timeout of 10s and read timeout of 30s
DEBUG Solving with installed Python version: 3.13.13
DEBUG Solving with target Python version: >=3.13.13
DEBUG Adding direct dependency: ruff*
DEBUG No cache entry for: https://pypi.org/simple/ruff/
DEBUG Sending fresh GET request for: https://pypi.org/simple/ruff/
DEBUG Searching for a compatible version of ruff (*)
DEBUG Selecting: ruff==0.15.12 [compatible] (ruff-0.15.12-py3-none-win_arm64.whl)
DEBUG No cache entry for: https://files.pythonhosted.org/packages/c0/98/6beb4b351e472e5f4c4613f7c35a5290b8be2497e183825310c4c3a3984b/ruff-0.15.12-py3-none-win_arm64.whl.metadata
DEBUG Sending fresh GET request for: https://files.pythonhosted.org/packages/c0/98/6beb4b351e472e5f4c4613f7c35a5290b8be2497e183825310c4c3a3984b/ruff-0.15.12-py3-none-win_arm64.whl.metadata
DEBUG Tried 1 versions: ruff 1
DEBUG marker environment resolution took 0.579s
error: unhandled exception in uv, please report a bug:
code 0xC0000005 at address 0x7ff7d934b53c
EXCEPTION_ACCESS_VIOLATION writing 0x7ff7d9d0f248

=============================================
command: uv pip install numpy -v
exit code: 3221225477

------- stdout -------


------- stderr -------
DEBUG Found workspace root: `C:\a\uv\uv`
DEBUG Adding root workspace member: `C:\a\uv\uv`
DEBUG Found workspace configuration at `C:\a\uv\uv\pyproject.toml`
DEBUG Searching for user configuration in: `C:\Users\runneradmin\AppData\Roaming\uv\uv.toml`
DEBUG uv 0.11.7 (161dfd332 2026-04-27 aarch64-pc-windows-msvc)
DEBUG Searching for default Python interpreter in virtual environments
DEBUG Found `cpython-3.13.13-windows-aarch64-none` at `C:\a\uv\uv\.venv\Scripts\python.exe` (virtual environment)
DEBUG Using Python 3.13.13 environment at: .venv
DEBUG At least one requirement is not satisfied: numpy
DEBUG Using request connect timeout of 10s and read timeout of 30s
DEBUG Solving with installed Python version: 3.13.13
DEBUG Solving with target Python version: >=3.13.13
DEBUG Adding direct dependency: numpy*
DEBUG No cache entry for: https://pypi.org/simple/numpy/
DEBUG Sending fresh GET request for: https://pypi.org/simple/numpy/
DEBUG Skipping file for numpy: numpy-1.0.1.dev3460.win32-py2.4.exe
DEBUG Skipping file for numpy: numpy-1.3.0.win32-py2.5.exe
DEBUG Skipping file for numpy: numpy-1.5.0.win32-py2.6.exe
DEBUG Skipping file for numpy: numpy-1.5.1.win32-py2.5-nosse.exe
DEBUG Skipping file for numpy: numpy-1.5.1.win32-py2.6-nosse.exe
DEBUG Skipping file for numpy: numpy-1.5.1.win32-py2.7-nosse.exe
DEBUG Skipping file for numpy: numpy-1.5.1.win32-py3.1-nosse.exe
DEBUG Skipping file for numpy: numpy-1.6.0.win32-py2.5.exe
DEBUG Skipping file for numpy: numpy-1.6.0.win32-py2.6.exe
DEBUG Skipping file for numpy: numpy-1.6.0.win32-py2.7.exe
DEBUG Skipping file for numpy: numpy-1.6.0.win32-py3.1.exe
DEBUG Skipping file for numpy: numpy-1.6.0.win32-py3.2.exe
DEBUG Skipping file for numpy: numpy-1.6.1.win32-py2.5.exe
DEBUG Skipping file for numpy: numpy-1.6.1.win32-py2.6.exe
DEBUG Skipping file for numpy: numpy-1.6.1.win32-py2.7.exe
DEBUG Skipping file for numpy: numpy-1.6.1.win32-py3.1.exe
DEBUG Skipping file for numpy: numpy-1.6.1.win32-py3.2.exe
DEBUG Skipping file for numpy: numpy-1.6.2.win32-py2.5.exe
DEBUG Skipping file for numpy: numpy-1.6.2.win32-py2.6.exe
DEBUG Skipping file for numpy: numpy-1.6.2.win32-py2.7.exe
DEBUG Skipping file for numpy: numpy-1.6.2.win32-py3.1.exe
DEBUG Skipping file for numpy: numpy-1.6.2.win32-py3.2.exe
DEBUG Skipping file for numpy: numpy-1.7.0.win32-py2.5.exe
DEBUG Skipping file for numpy: numpy-1.7.0.win32-py2.6.exe
DEBUG Skipping file for numpy: numpy-1.7.0.win32-py2.7.exe
DEBUG Skipping file for numpy: numpy-1.7.0.win32-py3.1.exe
DEBUG Skipping file for numpy: numpy-1.7.0.win32-py3.2.exe
DEBUG Skipping file for numpy: numpy-1.7.0.win32-py3.3.exe
DEBUG Skipping file for numpy: numpy-1.7.1.win32-py2.5.exe
DEBUG Skipping file for numpy: numpy-1.7.1.win32-py2.6.exe
DEBUG Skipping file for numpy: numpy-1.7.1.win32-py2.7.exe
DEBUG Skipping file for numpy: numpy-1.7.1.win32-py3.1.exe
DEBUG Skipping file for numpy: numpy-1.7.1.win32-py3.2.exe
DEBUG Skipping file for numpy: numpy-1.7.1.win32-py3.3.exe
DEBUG Searching for a compatible version of numpy (*)
DEBUG Selecting: numpy==2.4.4 [compatible] (numpy-2.4.4-cp313-cp313-win_arm64.whl)
DEBUG No cache entry for: https://files.pythonhosted.org/packages/ba/d8/11490cddd564eb4de97b4579ef6bfe6a736cc07e94c1598590ae25415e01/numpy-2.4.4-cp313-cp313-win_arm64.whl.metadata
DEBUG Sending fresh GET request for: https://files.pythonhosted.org/packages/ba/d8/11490cddd564eb4de97b4579ef6bfe6a736cc07e94c1598590ae25415e01/numpy-2.4.4-cp313-cp313-win_arm64.whl.metadata
DEBUG Tried 1 versions: numpy 1
DEBUG marker environment resolution took 0.885s
error: unhandled exception in uv, please report a bug:
code 0xC0000005 at address 0x7ff7d934b53c
EXCEPTION_ACCESS_VIOLATION writing 0x7ff7d9d0f248

=============================================
command: uv run --no-project python -c import numpy; print(numpy.__version__)
exit code: 3221225477

------- stdout -------


------- stderr -------
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import numpy; print(numpy.__version__)
    ^^^^^^^^^^^^
ModuleNotFoundError: No module named 'numpy'
error: unhandled exception in uv, please report a bug:
code 0xC0000005 at address 0x7ff7d934b53c
EXCEPTION_ACCESS_VIOLATION writing 0x7ff7d9d0f248

=============================================
command: uvx --version
exit code: 0

------- stdout -------
uvx 0.11.7 (161dfd332 2026-04-27 aarch64-pc-windows-msvc)


------- stderr -------

=============================================
command: uvx -v ruff --version
exit code: 3221225477

------- stdout -------


------- stderr -------
DEBUG Searching for user configuration in: `C:\Users\runneradmin\AppData\Roaming\uv\uv.toml`
DEBUG uv 0.11.7 (161dfd332 2026-04-27 aarch64-pc-windows-msvc)
DEBUG Using request connect timeout of 10s and read timeout of 30s
DEBUG Searching for default Python interpreter in managed installations, search path, or registry
DEBUG Searching for managed installations at `C:\Users\runneradmin\AppData\Roaming\uv\python`
DEBUG Found managed installation `cpython-3.14.0-windows-x86_64-none`
DEBUG Found `cpython-3.14.0-windows-x86_64-none` at `C:\Users\runneradmin\AppData\Roaming\uv\python\cpython-3.14-windows-x86_64-none\python.exe` (managed installations)
DEBUG Checking for Python environment at: `C:\Users\runneradmin\AppData\Roaming\uv\tools\ruff`
DEBUG Caching via base interpreter: `C:\Users\runneradmin\AppData\Roaming\uv\python\cpython-3.14-windows-x86_64-none\python.exe`
DEBUG Using request connect timeout of 10s and read timeout of 30s
DEBUG Solving with installed Python version: 3.14
DEBUG Solving with target Python version: >=3.14
DEBUG Adding direct dependency: ruff*
DEBUG Found fresh response for: https://pypi.org/simple/ruff/
DEBUG Searching for a compatible version of ruff (*)
DEBUG Selecting: ruff==0.15.12 [compatible] (ruff-0.15.12-py3-none-win_amd64.whl)
DEBUG No cache entry for: https://files.pythonhosted.org/packages/33/f1/9614e03e1cdcbf9437570b5400ced8a720b5db22b28d8e0f1bda429f660d/ruff-0.15.12-py3-none-win_amd64.whl.metadata
DEBUG Sending fresh GET request for: https://files.pythonhosted.org/packages/33/f1/9614e03e1cdcbf9437570b5400ced8a720b5db22b28d8e0f1bda429f660d/ruff-0.15.12-py3-none-win_amd64.whl.metadata
DEBUG Tried 1 versions: ruff 1
DEBUG marker environment resolution took 0.129s
error: unhandled exception in uv, please report a bug:
code 0xC0000005 at address 0x7ff7d934b53c
EXCEPTION_ACCESS_VIOLATION writing 0x7ff7d9d0f248

=============================================
FAILURE - 6/8 commands failed
error: unhandled exception in uv, please report a bug:
code 0xC0000005 at address 0x7ff7d934b53c
EXCEPTION_ACCESS_VIOLATION writing 0x7ff7d9d0f248

Metadata

Metadata

Assignees

No one assigned

    Labels

    internalA refactor or improvement that is not user-facing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions