Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with Julia master #911

Closed
zickgraf opened this issue Jun 30, 2023 · 4 comments
Closed

Errors with Julia master #911

zickgraf opened this issue Jun 30, 2023 · 4 comments

Comments

@zickgraf
Copy link

zickgraf commented Jun 30, 2023

There are errors with Julia master again, for example see https://github.com/oscar-system/GAP.jl/actions/runs/5420827874/jobs/9855474232, https://github.com/homalg-project/CapAndHomalg.jl/actions/runs/5418211207/jobs/9850070620, https://github.com/homalg-project/FinSetsForCAP/actions/runs/5419267586/jobs/9852192114 (scroll up a bit).

All those errors are different, but since the have appeared at the same time, I guess they have the same cause.

Locally, I get the following error:

Click to expand
$ ./julia 
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.0-DEV.1602 (2023-06-29)
 _/ |\__'_|_|_|\__'_|  |  Commit 6d400e4f20* (0 days old master)
|__/                   |

julia> using GAP
Precompiling GAP
  Progress [=================================>       ]  9/11
  ◐ GAP_pkg_juliainterface_jll

[ Info: Precompiling GAP [c863536a-3901-11e9-33e7-d5cd0df7b904]
ERROR: LoadError: ArgumentError: cannot convert NULL to string
Stacktrace:
  [1] unsafe_string(p::Ptr{UInt8})
    @ Base ./strings/string.jl:84 [inlined]
  [2] compilecache_path(pkg::Base.PkgId, prefs_hash::UInt64; project::String)
    @ Base ./loading.jl:2237
  [3] compilecache_pidfile_path(pkg::Base.PkgId)
    @ Base ./loading.jl:2829 [inlined]
  [4] maybe_cachefile_lock(f::Base.var"#964#965"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base ./loading.jl:2838
  [5] maybe_cachefile_lock(f::Base.var"#964#965"{Base.PkgId}, pkg::Base.PkgId, srcpath::String)
    @ Base ./loading.jl:2836 [inlined]
  [6] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1905
  [7] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1747
  [8] invoke_in_world(::UInt64, ::typeof(Base.__require_prelocked), ::Base.PkgId, ::String; kwargs::@Kwargs{})
    @ Base ./essentials.jl:901 [inlined]
  [9] invoke_in_world(::UInt64, ::typeof(Base.__require_prelocked), ::Base.PkgId, ::String)
    @ Base ./essentials.jl:898 [inlined]
 [10] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1738
 [11] macro expansion
    @ Base ./loading.jl:1725 [inlined]
 [12] macro expansion
    @ Base ./lock.jl:267 [inlined]
 [13] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1688
 [14] invoke_in_world(::UInt64, ::typeof(Base.__require), ::Module, ::Symbol; kwargs::@Kwargs{})
    @ Base ./essentials.jl:901 [inlined]
 [15] invoke_in_world(::UInt64, ::typeof(Base.__require), ::Module, ::Symbol)
    @ Base ./essentials.jl:898 [inlined]
 [16] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1681
 [17] include(mod::Module, _path::String)
    @ Base ./Base.jl:489
 [18] include(x::String)
    @ GAP ~/.julia/packages/GAP/ydeRk/src/GAP.jl:7
 [19] top-level scope
    @ ~/.julia/packages/GAP/ydeRk/src/GAP.jl:49
 [20] include(mod::Module, _path::String)
    @ Base ./Base.jl:489 [inlined]
 [21] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base ./loading.jl:2157
 [22] top-level scope
    @ stdin:3
in expression starting at ~/.julia/packages/GAP/ydeRk/src/setup.jl:1
in expression starting at ~/.julia/packages/GAP/ydeRk/src/GAP.jl:1
in expression starting at stdin:3
ERROR: Failed to precompile GAP [c863536a-3901-11e9-33e7-d5cd0df7b904] to "~/.julia/compiled/v1.10/GAP/jl_FXs7kP".
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base ./loading.jl:2409
  [3] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO)
    @ Base ./loading.jl:2275 [inlined]
  [4] (::Base.var"#964#965"{Base.PkgId})()
    @ Base ./loading.jl:1909
  [5] mkpidlock(f::Base.var"#964#965"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile /tmp/tmp/julia/usr/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:92
  [6] mkpidlock(f::Function, at::String; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile /tmp/tmp/julia/usr/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:87 [inlined]
  [7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile /tmp/tmp/julia/usr/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:110
  [8] invokelatest(::Any, ::Returns{Nothing}, ::String; kwargs::@Kwargs{stale_age::Int64})
    @ Base ./essentials.jl:869 [inlined]
  [9] maybe_cachefile_lock(f::Base.var"#964#965"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base ./loading.jl:2839
 [10] maybe_cachefile_lock(f::Base.var"#964#965"{Base.PkgId}, pkg::Base.PkgId, srcpath::String)
    @ Base ./loading.jl:2836 [inlined]
 [11] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1905
 [12] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1747
 [13] invoke_in_world(::UInt64, ::typeof(Base.__require_prelocked), ::Base.PkgId, ::String; kwargs::@Kwargs{})
    @ Base ./essentials.jl:901 [inlined]
 [14] invoke_in_world(::UInt64, ::typeof(Base.__require_prelocked), ::Base.PkgId, ::String)
    @ Base ./essentials.jl:898 [inlined]
 [15] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1738
 [16] macro expansion
    @ Base ./loading.jl:1725 [inlined]
 [17] macro expansion
    @ Base ./lock.jl:267 [inlined]
 [18] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1688
 [19] invoke_in_world(::UInt64, ::typeof(Base.__require), ::Module, ::Symbol; kwargs::@Kwargs{})
    @ Base ./essentials.jl:901 [inlined]
 [20] invoke_in_world(::UInt64, ::typeof(Base.__require), ::Module, ::Symbol)
    @ Base ./essentials.jl:898 [inlined]
 [21] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1681

julia>

I have bisected this to JuliaLang/julia@6d400e4, although I am not 100% sure because I also get an error before this commit, but a different one which also exists for much older commits.

@fingolfin
Copy link
Member

We already have an Yggdrasil PR open

@zickgraf
Copy link
Author

We already have an Yggdrasil PR open

Perfect, thanks! Is there a place where you communicate/coordinate such things, e.g. somewhere in Slack?

@fingolfin
Copy link
Member

We discuss such things on the OSCAR Slack, https://oscar-system.org/slack

@zickgraf
Copy link
Author

zickgraf commented Jul 2, 2023

Our CI is up and running again, thanks! In the future I will try to coordinate in slack in such a case :-)

@zickgraf zickgraf closed this as completed Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants