Skip to content

Concurrent program crashes 1.12 nightly build (1.10 is fine) #54720

Closed
@levy

Description

@levy

I attached the code that reproduces the crash. I'm sorry for the extension but couldn't attach a Julia source file.

You may need to give it a few tries though. It should crash in a few seconds, but sometimes it just hangs. I have a 16 core machine, so that may also affect the outcome.

See discussion for some details.

I installed Julia with juliaup.

julia> versioninfo()
Julia Version 1.12.0-DEV.670
Commit 5cb1107cce1 (2024-06-06 03:00 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × AMD Ryzen 7 4800HS with Radeon Graphics
  WORD_SIZE: 64
  LLVM: libLLVM-17.0.6 (ORCJIT, znver2)
Threads: 16 default, 0 interactive, 16 GC (on 16 virtual cores)
Environment:
  JULIA_NUM_THREADS = 4

crash.jl.txt

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    atomicsbugIndicates an unexpected problem or unintended behaviorcompiler:codegenGeneration of LLVM IR and native codemultithreadingBase.Threads and related functionalityregression 1.12Regression in the 1.12 release

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions