Skip to content

InexactError: Int64(1.0) on macOS (CI) #55878

Open

Description

I experienced this (non-reproducible) error in a CI run on the pre release (1.11 now), in the MacOS platform:

 ERROR: LoadError: TaskFailedException

    nested task error: InexactError: Int64(1.0)

The line where the error occurred was:

            index = floor(Int, xi) + 1

in which xi is a Float64. As far as I understand, the result of floor should always return an exactly representable Int, so the error should not occur.

When reporting this on Zulip, it, @jlumpe (sorry if the tag is wrong), reported having observed two times similar errors:

https://github.com/mikeingold/MeshIntegrals.jl/actions/runs/10965929580/job/30452792024?pr=73#step:7:191
https://github.com/JoshuaLampert/DispersiveShallowWater.jl/actions/runs/10811172112/job/29990016675?pr=150#step:7:8511

But these with 1.10.

Thus, although hard to reproduce, might be something worth investigating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    compiler:effectseffect analysisheisenbugThis bug occurs unpredictablyrr trace wantedAn rr trace would help with debugging this issue - you can help out by creating one

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions