Skip to content

Julia 1.13: JIT fails with missing julia.atomicmodify intrinsics — locks and threads tests crash #3086

Description

@vchuravy

Summary

Julia 1.13 introduced new julia.atomicmodify.* JIT intrinsics. When Enzyme's JIT pipeline encounters these symbols, it cannot resolve them, causing a JIT session error followed by an assertion failure in LLVM's ForwardingMemoryManager.

Error

JIT session error: Symbols not found: [ julia.atomicmodify.i64.p0, julia.atomicmodify.i64.p11 ]
ForwardingMemoryManager::~ForwardingMemoryManager(): Assertion '!MemMgr' failed.

Process exits with signal 6 (SIGABRT).

Affected tests

  • locks — crashes at test/locks.jl:12
  • threads and threads/2 — worker process terminates (Malt.TerminatedWorkerException)

Notes

  • From test_1.13-dev.log
  • Enzyme's JIT needs to register handlers or pass-throughs for the new julia.atomicmodify.* intrinsic family introduced in Julia 1.13.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingjulia v1.13Related to compatibility with Julia v1.13parallelism

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions