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
Normal flow reproducer
Then, execute ClickHouse server:
mkdir ch-data && cd ch-data
../clickhouse server
Try to profile it with Parca (you will need to compile parca-agent with the latest version of the upstream OTel eBPF profiler to get the fix for this). Also use --debuginfo-upload-max-size=2244458216 to be able to upload the binary debuginfo. You will observe that stacks are missing symbols in the UI.
Smaller reproducer
Compile and run this as a binary in this repo (pardon my poor Go):
Also to note, I've checked some of the generated stacks with this addr2line implementation and they seem to make sense, so stack walking seems to be producing valid addresses.
Other comments
Any tips to debug or cross-check this with dwarfdump or other tools are welcome. For example, how could I check if the offsets that the entry offsets the code is parsing at each step are valid?
The text was updated successfully, but these errors were encountered:
Parca can't symbolize addresses for ClickHouse binaries.
How to reproduce
First, download and decompress ClickHouse binary:
Normal flow reproducer
Then, execute ClickHouse server:Try to profile it with Parca (you will need to compile parca-agent with the latest version of the upstream OTel eBPF profiler to get the fix for this). Also use
--debuginfo-upload-max-size=2244458216
to be able to upload the binary debuginfo. You will observe that stacks are missing symbols in the UI.Smaller reproducer
Compile and run this as a binary in this repo (pardon my poor Go):
Error logs
These come ultimately from
debug/dwarf/entry.go
, methoddwarf5Ranges
.Parca:
Reproducer bin:
Cross-checking with other tools
Using
gimli
'saddr2line
(0x1192c860
is one of the addresses it fails to symbolize):Also to note, I've checked some of the generated stacks with this
addr2line
implementation and they seem to make sense, so stack walking seems to be producing valid addresses.Other comments
Any tips to debug or cross-check this with
dwarfdump
or other tools are welcome. For example, how could I check if the offsets that the entry offsets the code is parsing at each step are valid?The text was updated successfully, but these errors were encountered: