Skip to content

Regression in 1.12: random crashes with @atomic or @atomiconce #59883

@araujoms

Description

@araujoms

This is the worst Heisenbug I've ever seen. It all started with the tests of PermutationGroups failing in 1.12: kalmarek/PermutationGroups.jl#44 Then after it was hopefully fixed kalmarek/PermutationGroups.jl#46 it turned out that it just got harder to trigger. CI is happy on 1.12, but not on 1.13, and if I try to use the package I get random crashes. @vtjnash believes it's a bug in Julia itself, not the package, and suggested me to open a bug report here. He thinks it is related to #59559.

I tried to make a minimum working example. I failed, but at least I managed to write a test that deterministically fails on both 1.12 and 1.13. It is in this branch here: https://github.com/araujoms/PermutationGroups.jl/tree/bug . To make things more mysterious, I only get a crash if I do ]activate . and test. If I simply include runtests.jl there's no crash.

In 1.11 everything works.

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