Gallium.jl icon indicating copy to clipboard operation
Gallium.jl copied to clipboard

no method matching step_first!(::Void, ::Gallium.X86_64.ExtendedRegs)

Open iamed2 opened this issue 8 years ago • 1 comments
trafficstars

julia> function foobar(x::Int)
           x * 2
       end
foobar (generic function with 1 method)

julia> using Gallium

julia> breakpoint(foobar)
Locations (+: active, -: inactive, *: source):
 * Any matching method added to #foobar
 * Any matching specialization of foobar(x) at REPL[1]:2


julia> foobar(3)
ERROR: MethodError: no method matching step_first!(::Void, ::Gallium.X86_64.ExtendedRegs)
Closest candidates are:
  step_first!(::Gallium.X86_64.X86_64Arch, ::Any) at /Users/ericdavies/.julia/v0.5/Gallium/src/Gallium.jl:333
  step_first!(::Gallium.PowerPC64.PowerPC64Arch, ::Any) at /Users/ericdavies/.julia/v0.5/Gallium/src/Gallium.jl:338
 in rec_backtrace_hook(::Gallium.##60#61{Bool,Bool,Gallium.LocalSession,Gallium.LazyJITModules{Dict{Gallium.RemotePtr{Void,intptrT<:Union{UInt32,UInt64}},Any}},Array{Any,1},Array{Any,1}}, ::Gallium.X86_64.ExtendedRegs, ::Gallium.LocalSession, ::Gallium.LazyJITModules{Dict{Gallium.RemotePtr{Void,intptrT<:Union{UInt32,UInt64}},Any}}, ::Bool, ::Void) at /Users/ericdavies/.julia/v0.5/Gallium/src/Gallium.jl:342
 in #stackwalk#59(::Bool, ::Bool, ::Bool, ::Bool, ::Void, ::Function, ::Gallium.X86_64.ExtendedRegs, ::Gallium.LocalSession, ::Gallium.LazyJITModules{Dict{Gallium.RemotePtr{Void,intptrT<:Union{UInt32,UInt64}},Any}}) at /Users/ericdavies/.julia/v0.5/Gallium/src/Gallium.jl:605
 in (::Gallium.#kw##stackwalk)(::Array{Any,1}, ::Gallium.#stackwalk, ::Gallium.X86_64.ExtendedRegs, ::Gallium.LocalSession, ::Gallium.LazyJITModules{Dict{Gallium.RemotePtr{Void,intptrT<:Union{UInt32,UInt64}},Any}}) at ./<missing>:0
 in breakpoint_hit(::Gallium.Hooking.Hook, ::Gallium.X86_64.ExtendedRegs) at /Users/ericdavies/.julia/v0.5/Gallium/src/Gallium.jl:673
 in _callback(::Ptr{Void}) at /Users/ericdavies/.julia/v0.5/Gallium/src/Hooking/Hooking.jl:353
 in callback(::Ptr{Void}) at /Users/ericdavies/.julia/v0.5/Gallium/src/Hooking/Hooking.jl:398

On the latest release-0.5:

julia> versioninfo()
Julia Version 0.5.1-pre+31
Commit 6a1e339ac* (2016-11-17 17:50 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin16.3.0)
  CPU: Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, broadwell)

iamed2 avatar Feb 06 '17 23:02 iamed2

And I can't use the tagged version of Gallium because https://github.com/Keno/Gallium.jl/issues/178

iamed2 avatar Feb 06 '17 23:02 iamed2