You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
When stepping through a function. Gallium, ASTInterpreter and julia are latest master. The steps to reproduce this are
julia>using Gallium
julia> Pkg.clone("https://github.com/andreasnoack/LinearAlgebra.jl")
julia>using LinearAlgebra
julia> A =randn(5,5);
julia>@enter LinearAlgebra.EigenGeneral.schurfact!(copy(A));
In /Users/andreasnoack/.julia/v0.5/LinearAlgebra/src/eigenGeneral.jl:142141end142schurfact!(A::StridedMatrix; tol =eps(), debug =false) =schurfact!(hessfact!(A), tol = tol, debug = debug)
143144functionsingleShiftQR!(HH::StridedMatrix, τ::Rotation, shift::Number, istart::Integer, iend::Integer)
About to run: LinearAlgebra.EigenGeneral.#schurfact!#21|debug > s
In float.jl:414413eps(::Type{Float64}) =$(box(Float64,unbox(UInt64,0x3cb0000000000000)))
414eps() =eps(Float64)
415end416
About to run: Base.eps
1|debug > n
In float.jl:414413eps(::Type{Float64}) =$(box(Float64,unbox(UInt64,0x3cb0000000000000)))
414eps() =eps(Float64)
415end416
About to run:return2.220446049250313e-161|debug > n
In /Users/andreasnoack/.julia/v0.5/LinearAlgebra/src/eigenGeneral.jl:142141end142schurfact!(A::StridedMatrix; tol =eps(), debug =false) =schurfact!(hessfact!(A), tol = tol, debug = debug)
143144functionsingleShiftQR!(HH::StridedMatrix, τ::Rotation, shift::Number, istart::Integer, iend::Integer)
About to run: (LinearAlgebra.EigenGeneral.#schurfact!#2)(2.220446049250313e-16,false,LinearAlgebra.EigenGeneral.schurfact!,<suppressed 5×5 Array{Float64,2}>)1|debug > s
In /Users/andreasnoack/.julia/v0.5/LinearAlgebra/src/eigenGeneral.jl:142141end142schurfact!(A::StridedMatrix; tol =eps(), debug =false) =schurfact!(hessfact!(A), tol = tol, debug = debug)
143144functionsingleShiftQR!(HH::StridedMatrix, τ::Rotation, shift::Number, istart::Integer, iend::Integer)
About to run:top(Array)
1|debug > s
In boot.jl:325324Array{T}(::Type{T}, d::Int...) =Array{T}(d)
325Array{T}(::Type{T}, m::Int) =Array{T,1}(m)
326Array{T}(::Type{T}, m::Int,n::Int) =Array{T,2}(m,n)
327Array{T}(::Type{T}, m::Int,n::Int,o::Int) =Array{T,3}(m,n,o)
About to run:top(apply_type)
1|debug > n
In boot.jl:325324Array{T}(::Type{T}, d::Int...) =Array{T}(d)
325Array{T}(::Type{T}, m::Int) =Array{T,1}(m)
326Array{T}(::Type{T}, m::Int,n::Int) =Array{T,2}(m,n)
327Array{T}(::Type{T}, m::Int,n::Int,o::Int) =Array{T,3}(m,n,o)
ERROR: UndefRefError: access to undefined reference
inastcopy(::Array{Any,1}) at ./expr.jl:41 (repeats 2 times)
incopy(::Expr) at ./expr.jl:34in#print_status#14(::Bool, ::Function, ::ASTInterpreter.Interpreter, ::Array{Any,1}) at /Users/andreasnoack/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:280in (::ASTInterpreter.##59#65{ASTInterpreter.Interpreter,ASTInterpreter.#prompt#63,ASTInterpreter.InterpreterState,Base.LineEdit.Prompt,Base.LineEdit.Prompt})(::Base.LineEdit.MIState, ::Base.AbstractIOBuffer{Array{UInt8,1}}, ::Bool) at /Users/andreasnoack/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1442inrun_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface) at ./LineEdit.jl:1570
[inlined code] from ./LineEdit.jl:18inRunDebugREPL(::ASTInterpreter.Interpreter) at /Users/andreasnoack/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1503ineval(::Module, ::Any) at ./boot.jl:236
The text was updated successfully, but these errors were encountered:
Much simpler example. It appears that Gallium just doesn't like undefined references
julia>functionfoo(n)
x =cell(n)
fill!(x, 1)
return x
end
foo (generic function with 1 method)
julia>@enterfoo(5)
In REPL[2]:21functionfoo(n)
2 x =cell(n)
3fill!(x, 1)
4return x
5end
About to run: Main.cell
1|debug > n
In REPL[2]:21functionfoo(n)
2 x =cell(n)
3fill!(x, 1)
4return x
5end
ERROR: UndefRefError: access to undefined reference
inastcopy(::Array{Any,1}) at ./expr.jl:33 (repeats 2 times)
incopy(::Expr) at ./expr.jl:26in#print_status#14(::Bool, ::Function, ::ASTInterpreter.Interpreter, ::Array{Any,1}) at /Users/andreasnoack/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:280in (::ASTInterpreter.##59#65{ASTInterpreter.Interpreter,ASTInterpreter.InterpreterState,Base.LineEdit.Prompt,Base.LineEdit.Prompt})(::Base.LineEdit.MIState, ::Base.AbstractIOBuffer{Array{UInt8,1}}, ::Bool) at /Users/andreasnoack/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1440inrun_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface) at ./LineEdit.jl:1570
[inlined code] from ./LineEdit.jl:18inRunDebugREPL(::ASTInterpreter.Interpreter) at /Users/andreasnoack/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1501ineval(::Module, ::Any) at ./boot.jl:230
Keno
added a commit
to JuliaLang/julia
that referenced
this issue
May 13, 2016
When stepping through a function.
Gallium
,ASTInterpreter
andjulia
are latest master. The steps to reproduce this areThe text was updated successfully, but these errors were encountered: