Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

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

Open
iamed2 opened this issue Feb 6, 2017 · 1 comment
Open

Comments

@iamed2
Copy link

iamed2 commented Feb 6, 2017

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
Copy link
Author

iamed2 commented Feb 6, 2017

And I can't use the tagged version of Gallium because #178

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant