JuliaSparse / SuiteSparseGraphBLAS.jl

Sparse, General Linear Algebra for Graphs!
MIT License
102 stars 16 forks source link

StackOverFlowError on precompilation with Julia 1.10.0-beta1 #122

Open Azzaare opened 11 months ago

Azzaare commented 11 months ago

I was just playing around with the package, and it seems there are some changes introduced in Julia 1.10 that induce a stack overflow. Everything is fine on 1.9 (so I can continue to play, but not with my new favorite toy).

julia> show(err)
1-element ExceptionStack:
The following 1 direct dependency failed to precompile:

SuiteSparseGraphBLAS [c2e53296-7b14-11e9-1210-bddfa8111e1d]

Failed to precompile SuiteSparseGraphBLAS [c2e53296-7b14-11e9-1210-bddfa8111e1d] to "/home/azzaare/.julia/compiled/v1.10/SuiteSparseGraphBLAS/jl_33ZwJW".
ERROR: LoadError: StackOverflowError:
Stacktrace:
 [1] top-level scope
   @ ~/.julia/packages/SuiteSparseGraphBLAS/hotIr/src/operations/mul.jl:143
 [2] include(mod::Module, _path::String)
   @ Base ./Base.jl:489
 [3] include(x::String)
   @ SuiteSparseGraphBLAS ~/.julia/packages/SuiteSparseGraphBLAS/hotIr/src/SuiteSparseGraphBLAS.jl:1
 [4] top-level scope
   @ ~/.julia/packages/SuiteSparseGraphBLAS/hotIr/src/SuiteSparseGraphBLAS.jl:82
 [5] include
   @ Base ./Base.jl:489 [inlined]
 [6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{…}, dl_load_path::Vector{…}, load_path::Vector{…}, concrete_deps::Vector{…}, source::Nothing)
   @ Base ./loading.jl:2216
 [7] top-level scope
   @ stdin:3
Some type information was truncated. Use `show(err)` to see complete types.
in expression starting at /home/azzaare/.julia/packages/SuiteSparseGraphBLAS/hotIr/src/operations/mul.jl:143
in expression starting at /home/azzaare/.julia/packages/SuiteSparseGraphBLAS/hotIr/src/SuiteSparseGraphBLAS.jl:1
in expression starting at stdin:3

Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types ~/.julia/juliaup/julia-1.10.0-beta1+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/Types.jl:69
  [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@Kwargs{io::Base.TTY})
    @ Pkg.API ~/.julia/juliaup/julia-1.10.0-beta1+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:1577
  [3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{_from_loading::Bool})
    @ Pkg.API ~/.julia/juliaup/julia-1.10.0-beta1+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
  [4] precompile
    @ Pkg.API ~/.julia/juliaup/julia-1.10.0-beta1+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
  [5] #precompile#114
    @ Pkg.API ~/.julia/juliaup/julia-1.10.0-beta1+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined]
  [6] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1957
  [7] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1806
  [8] #invoke_in_world#3
    @ Base ./essentials.jl:921 [inlined]
  [9] invoke_in_world
    @ Base ./essentials.jl:918 [inlined]
 [10] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1797
 [11] macro expansion
    @ Base ./loading.jl:1784 [inlined]
 [12] macro expansion
    @ Base ./lock.jl:267 [inlined]
 [16] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1740