You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
for golang binary parca-debuginfo buildid wrongly get go buildid, not gnu buildid. #5426
[root@ce0220-rn5h8-master-0 patches]# file test
test: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, Go BuildID=vUwrd5yHv-jcFzaq44En/F4_NObax6oE_RbAQskX6/8T-NVW-rKu82KPiykm96/g4m6HcrfSh55Mgbc2u06, BuildID[sha1]=2f51739b0756706088f19824bdb09d8e7040bacf, with debug_info, not stripped
parca-debuginfo extract the buildid from go.buildid, not gnu.build-id.
[root@ce0220-rn5h8-master-0 patches]# ../../parca-debuginfo buildid test
7655777264357948762d6a63467a61713434456e2f46345f4e4f626178366f455f52624151736b58362f38542d4e56572d724b7538324b5069796b6d39362f67346d3648637266536835354d67626332753036
After uploading the symbols, the buildid is still go.buildid.
~ $ cat /var/lib/parca/debuginfo/7655777264357948762d6a63467a61713434456e2f46345f4e4f626178366f455f52624151736b58362f38542d4e56572d724b7538324b5069796b6d39362f67346d3
648637266536835354d67626332753036/metadata
{
"buildId": "7655777264357948762d6a63467a61713434456e2f46345f4e4f626178366f455f52624151736b58362f38542d4e56572d724b7538324b5069796b6d39362f67346d3648637266536835354d67626332753036",
"source": "SOURCE_UPLOAD",
"upload": {
"id": "fc3447e3-013a-4f1a-b73f-0a79764c3b18",
"hash": "dfb3ed64f5b44d9a",
"state": "STATE_UPLOADED",
"startedAt": "2025-01-13T06:54:44.811502385Z",
"finishedAt": "2025-01-13T06:54:45.005855855Z"
}
}
From debug logs, we can see symbolizer is using gnu buildid to fetch metadata.
Activity
xjtubmy commentedon Jan 14, 2025
Is this an issue need to be addressed? Thanks.