Skip to content

jemalloc in 1.21.0 doesn't work on iOS #45262

Closed
@michaelfairley

Description

@michaelfairley

Jemalloc 4.5.0 (first included in 1.21.0) immediately aborts when run on ARM iOS devices. (Upstream issue). Fortunately, the underlying issue seems to have been fixed in jemalloc 5.0.0 and onwards. (Unfortunately, a Rust PR to upgrade to 5.0.1 just got closed: #45163).

Using the system allocator is an okay workaround for now (though, it requires using nightly).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-allocatorsArea: Custom and system allocatorsC-bugCategory: This is a bug.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-iosOperating system: iOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions