Skip to content

Bump mimalloc crate to 0.1.50 while keeping v2 - #19192

Merged
zanieb merged 1 commit into
mainfrom
zsol/jj-lvtuvuklqvox
Apr 28, 2026
Merged

zanieb merged 1 commit into
mainfrom
zsol/jj-lvtuvuklqvox

Conversation

@zsol

@zsol zsol commented Apr 27, 2026 •

Copy link
Copy Markdown
Member

See astral-sh/ruff#24880, mimalloc v3 causes a crash in uv too when run under aarch64 windows.

This PR bumps the crate dependency, adding the v2 feature to avoid the crash.

@zsol
zsol marked this pull request as ready for review April 27, 2026 16:56
@konstin
konstin requested a review from zanieb April 27, 2026 19:01
@zanieb
zanieb merged commit 502d42b into main Apr 28, 2026
112 checks passed
@zanieb
zanieb deleted the zsol/jj-lvtuvuklqvox branch April 28, 2026 15:28
baszalmstra pushed a commit to baszalmstra/pixi that referenced this pull request May 21, 2026
mimalloc 0.1.50 / libmimalloc-sys 0.1.47 (resolved in pixi 0.69.0)
bundle mimalloc C v3.3.1, which crashes at process exit on Windows
ARM64 with STATUS_ACCESS_VIOLATION (0xC0000005). Root cause: the
MSVC C atomic wrapper on ARM64 used compare-exchange (a write-capable
instruction) to implement loads of read-only sentinel objects, which
triggers an access violation on read-only pages.

Upstream fix: microsoft/mimalloc@60a1f3b, shipped in mimalloc v3.3.2,
vendored into libmimalloc-sys 0.1.48 / mimalloc 0.1.51.

Refs: microsoft/mimalloc#1277, astral-sh/uv#19192.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants