Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profile.pb.gz: malformed profile: found location with reserved id=0 #93

Closed
wly2014 opened this issue Dec 12, 2023 · 11 comments
Closed

profile.pb.gz: malformed profile: found location with reserved id=0 #93

wly2014 opened this issue Dec 12, 2023 · 11 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@wly2014
Copy link

wly2014 commented Dec 12, 2023

When I run PProf.pprof(). I met this error:

profile.pb.gz: malformed profile: found location with reserved id=0
pprof: failed to fetch any source profiles

versioninfo:

Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 32 × 13th Gen Intel(R) Core(TM) i9-13900K
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, goldmont)
  Threads: 1 on 32 virtual cores

Thanks.

@torfjelde
Copy link

Also running into the same issue. Anyone know of a workaround?

@vchuravy vchuravy added bug Something isn't working help wanted Extra attention is needed labels Jan 25, 2024
@Azercoco
Copy link

Azercoco commented Feb 1, 2024

I am also encountering the issue, did anyone found a solution ?

@jarbus
Copy link

jarbus commented Feb 27, 2024

Experiencing this as well, fixed by downgrading to version 2.3.0 for me

@theo-brown
Copy link

I also have this issue, but downgrading to 2.3.0 didn't fix it

@NHDaly
Copy link
Member

NHDaly commented Apr 16, 2024

Could someone who is experiencing this issue please upload the .pb.gz that has the problem? it should be in the CWD of wherever you are running pprof.

And cherry-on-top would be to provide a reproducible MRE that would let us demonstrate this ourselves!

@awadell1
Copy link

This reproduces the issue for me on v3.1.0:

using PProf
@pprof map(sin, rand(1000))

Here's the generated profile.pb.gz

System information:

julia> versioninfo()
Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 192 × AMD EPYC 9654 96-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 192 virtual cores)
Environment:
  LD_LIBRARY_PATH = /sw/pkgs/arc/gcc/10.3.0/lib64:/sw/pkgs/arc/python/3.11.5/lib:/nfs/turbo/coe-venkvis/awadell
/mist/deepspeed/.venv/lib
  JULIA_PKG_USE_CLI_GIT = true
  LD_RUN_PATH = /sw/pkgs/arc/gcc/10.3.0/lib64

wongl01 added a commit to Julia-Tempering/tennis_fun that referenced this issue Jun 12, 2024
still have memory issues, also pprof doesnt work but might be due to an ongoing issue at JuliaPerf/PProf.jl#93
@sprig sprig mentioned this issue Jul 22, 2024
@sprig
Copy link
Contributor

sprig commented Jul 22, 2024

Affected by the same issue; I stepped through the code and produced #97 which appears to fix this. Please try and lmk if this works for you!

@tanderson92
Copy link

Affected by the same issue; I stepped through the code and produced #97 which appears to fix this. Please try and lmk if this works for you!

Thanks, this fixed the issue for me.

@rbeeli
Copy link

rbeeli commented Sep 1, 2024

Any released fix for this? Having the same.

@sprig
Copy link
Contributor

sprig commented Sep 1, 2024

Until an "official" fix is released you can try using the PR branch by running ]add https://github.com/sprig/PProf.jl.git in julia.

@vchuravy vchuravy reopened this Oct 1, 2024
@vchuravy
Copy link
Member

vchuravy commented Oct 1, 2024

PProf.jl will warn now, but we still need to figure out the root cause

@d-netto d-netto closed this as completed Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests