Skip to content

Clickhouse on ARM spams libunwind: Unsupported .eh_frame_hdr version to the stdout #15638

@yard

Description

@yard

Describe the bug
ARM build of Clickhouse prints a ton of libunwind: Unsupported .eh_frame_hdr version

How to reproduce

  • Checkout 20.6.7.4 version
  • ./configure && make && make install librdkafka shipped with Clickhouse (couldn't get it in on ARM otherwise)
  • Prepare the build CC=clang-8 CXX=clang++-8 cmake -G Ninja -DCPPKAFKA_CMAKE_VERBOSE=ON -DENABLE_RDKAFKA=ON -DUSE_INTERNAL_RDKAFKA_LIBRARY=OFF -DRDKAFKA_INCLUDE_DIR=/usr/local/include/ .. (using gcc leads to linker error unless shared build is chosen; the issue reproduces with shared build though)
  • Build Clickhouse binary using ninja
  • Wrap the binary up into a Docker image and start it on an ARM server

Expected behavior
The same x86 version (taken from official Docker Hub) does not produce these errors – thus expect the ARM version to be clear of the messages as well.

Additional context
The problem seems to be happening in production environment (more load, more queries) more often. As a side note, we noticed that sometimes Clickhouse stops ingesting events from Kafka without anything logged to normal / error log – the only difference we noticed is the mentioned message in the stdout; thus, assuming the correlation but cannot prove direct connection. The restart of the server resumes the ingest.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions