Skip to content

Running pyrefly on 16kb page aarch64 aborts due to jemalloc #380

@chergert

Description

@chergert

Describe the Bug

I was looking at quickly integrating pyrefly into GNOME Builder, but running on Fedora Asahi 42 aarch64 for Apple Silicon immediate crashes when running due to jemalloc not supporting 16kb page sizes.

$ pip install pyrefly 
Defaulting to user installation because normal site-packages is not writeable
Collecting pyrefly
  Downloading pyrefly-0.17.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (1.3 kB)
Downloading pyrefly-0.17.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 7.8 MB/s eta 0:00:00
Installing collected packages: pyrefly
Successfully installed pyrefly-0.17.0
$ pyrefly 
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 16 bytes failed
Aborted (core dumped)

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions