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

[c++] after changing stripped binary to unstripped (with the same Build Id) parca doesn't run symbolizer on it (again) #4164

Open
dyumin opened this issue Nov 28, 2023 · 3 comments

Comments

@dyumin
Copy link

dyumin commented Nov 28, 2023

No description provided.

@brancz
Copy link
Member

brancz commented Nov 28, 2023

You’re gonna have to delete it because what probably happened was that your binary had some symbols left so the agent still uploaded something. Now it won’t reupload as “valid” debuginfo has already been uploaded.

It’s located in /debuginfo/<build-id> of your configured object storage provider.

@dyumin
Copy link
Author

dyumin commented Nov 28, 2023

That's exactly what happened. Is there any way to detect this automatically (and reupload full debuginfo)?

@brancz
Copy link
Member

brancz commented Nov 28, 2023

Not at the moment, the way our customers prevent this from ever happening, is by uploading the debuginfo in CI/CD before the binary is ever in production using parca-debuginfo. That way they can also run stripped binaries in production.

That said, I think we would be open to improvements here where we not only allow reuploading when existing debuginfo is invalid but also if other debuginfos are better quality (eg. existing debuginfo only includes symtab but not debug_info and the new one does).

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