Skip to content

Error on x86 machine #28

@KDr2

Description

@KDr2

I wrote a simple pkg, FlameSVG.jl, to generate SVG using flamegraph.pl, and added some test cases, incidentally found FlamsGraphs doesn't run on x86 machine, the error information is:

  MethodError: no method matching lineinfodict(::Array{UInt32,1})
  Closest candidates are:
    lineinfodict(!Matched::Array{UInt64,1}) at /home/runner/.julia/packages/FlameGraphs/kOXUM/src/graph.jl:41
    lineinfodict(!Matched::Set) at /home/runner/.julia/packages/FlameGraphs/kOXUM/src/graph.jl:66
  Stacktrace:
   [1] flamegraph(::Array{UInt32,1}; lidict::Nothing, C::Bool, combine::Bool, recur::Symbol, norepl::Bool, pruned::Array{Tuple{Symbol,Symbol},1}, filter::Nothing) at /home/runner/.julia/packages/FlameGraphs/kOXUM/src/graph.jl:98
   [2] flamegraph(::Array{UInt32,1}) at /home/runner/.julia/packages/FlameGraphs/kOXUM/src/graph.jl:97 (repeats 2 times)
   [3] flamegraph_to_svg(::String) at /home/runner/work/FlameSVG.jl/FlameSVG.jl/src/FlameSVG.jl:34
   [4] top-level scope at /home/runner/work/FlameSVG.jl/FlameSVG.jl/src/FlameSVG.jl:46
   [5] top-level scope at /home/runner/work/FlameSVG.jl/FlameSVG.jl/test/runtests.jl:20
   [6] top-level scope at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1113
   [7] top-level scope at /home/runner/work/FlameSVG.jl/FlameSVG.jl/test/runtests.jl:6
   [8] include(::String) at ./client.jl:439
   [9] top-level scope at none:6
   [10] eval(::Module, ::Any) at ./boot.jl:331
   [11] exec_options(::Base.JLOptions) at ./client.jl:264
   [12] _start() at ./client.jl:484

More details can be found here: https://github.com/KDr2/FlameSVG.jl/runs/669342189?check_suite_focus=true#step:5:34

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions