Issue occurring randomly with 1.11

Thanks! I looked into it but I somehow doubt this is a world age issue related to delayed loading. For one, calling the same function a second time after hitting top level does not change anything. Also in this instance eagerly loading more packages is what leads to the error, which is kind of the opposite to what I would expect with lazy loading.

Thanks a lot! Is that reproducible on your system? I mean, if you try the whole process several times does it always work?

On my system I tried a few dozen times, and it looks like the error almost always happens, but it does work every once in a while. Stranger and stranger…

Summary
shell$ cat reproducer.jl 
Pkg.activate(; temp=true)
Pkg.add(["GraphViz", "FileIO", "CairoMakie", "Cairo"])

using GraphViz
using FileIO
using CairoMakie
using Cairo

FileIO.save("tmp.png", dot"""
    digraph graphname {
        a -> b -> c;
        b -> d;
    }
""")

shell$ for i in $(seq 20); do
         julia reproducer.jl >/dev/null 2>&1;
         echo $?;
       done
1
1
1
1
1
1
0
1
1
1
1
1
0
1
1
1
1
1
1
1

3 Likes