Skip to content

Julia hanging with extensions + Distributed on latest backports-release-1.9 #49437

Closed
@marius311

Description

@marius311

Sorry if I'm jumping the gun but haven't seen it mentioned and no one on Slack seemed to know about this, but a consequence of #49257 (slated to be included in 1.9.0-rc3) appears to be that Julia hangs when loading extension modules in sessions with multiple processes. I have a tiny MWE repo which reproduces this:

gh repo clone marius311/julia19_distributed_extension_hang_mwe
cd julia19_distributed_extension_hang_mwe
julia +1.9.0-rc2 mwe.jl # ok
julia +1.9.0-rc1 mwe.jl # hangs
julia +dev mwe.jl # hangs, where dev == after this PR

The code is just two dummy modules, one with an extension for the other, and code:

using Distributed
addprocs(2)
using Foo, Bar

Not sure the solution since #49257 is important for fixing #49250 (which I had also run into hence why I was running backports-release-1.9 when I noticed this)

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