Skip to content

CI failure on julia version 1.12.0-rc3 with IntervalArithmetic.jl #59756

@OlivierHnt

Description

@OlivierHnt

Over at IntervalArithmetic.jl, we are witnessing CI failure for the Julia version 1.12.0-rc3 (as well as nightly).

Everything works fine on Julia versions 1.10.x, 1.11.x and 1.12-rc2.

The beginning of the error message is:

LLVM ERROR: out of memory
Allocation failed

[2506] signal 6 (-6): Aborted

I do not know if this is relevant, but the only "odd thing" we do in the library is a use of @eval to allow the user to configure some algorithm behavior.
So something in the vein of

struct A{T} end

foo(::A{:fast}, a) = "use fast algorithm"
foo(::A{:slow}, a) = "use slow algorithm"

foo(a) = foo(default(), a)

default() = A{:fast}()

configure(algo) = @eval default() = A{$(QuoteNode(algo))}()

and then

julia> foo(1)
"use fast algorithm"

julia> configure(:slow)
default (generic function with 1 method)

julia> foo(1)
"use slow algorithm"

Metadata

Metadata

Assignees

No one assigned

    Labels

    regression 1.12Regression in the 1.12 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions