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

Symbols not found for rust application #4256

Closed
Erigara opened this issue Jan 11, 2024 · 3 comments
Closed

Symbols not found for rust application #4256

Erigara opened this issue Jan 11, 2024 · 3 comments

Comments

@Erigara
Copy link

Erigara commented Jan 11, 2024

I've faced a problem that symbols are not present for my rust application.

image

I used this tutorial to deploy parca in my minikube.

When i used rust example from parca-demo everything worked just fine.

I checked that i compile my rust application with frame pointers and debug info enabled.

[profile.profiling]
inherits = "release"
debug = true
rustflags = ["-C", "force-frame-pointers=on"]

Here is log a message i get on parca server for binary build-id:

level=debug name=parca ts=2024-01-11T07:56:41.665588168Z caller=symbolizer.go:299 component=symbolizer buildid=db0e60c38be43955 msg="storage symbolization request failed" err="fetching metadata: debuginfo metadata not found"

And on the agent:

level=debug name=parca-agent ts=2024-01-11T07:54:57.463890053Z caller=pool.go:172 msg="evicting object file" key="{path:/usr/local/bin/iroha buildID:db0e60c38be43955 modtime:{wall:0 ext:63839531244 loc:0x3ebc920}}"

When i use perf to profile the same image on docker, everything works just fine.

@metalmatze
Copy link
Member

@brancz do you maybe have a rough understanding of what's wrong? I'd need to dive deeper into the topic.

@Erigara
Copy link
Author

Erigara commented Jan 17, 2024

Might be relevant here parca-dev/parca-agent/issues/1658 i will try to compile our project with libc instead of musl and report results.

@Erigara
Copy link
Author

Erigara commented Jan 31, 2024

Indeed the problem was in musl, so i guess this should be closed in favor of parca-agent issue.

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

No branches or pull requests

2 participants