redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.48k stars 580 forks source link

After clang-14 seastar-addr2line hangs #5004

Open travisdowns opened 2 years ago

travisdowns commented 2 years ago

Version & Environment

Redpanda version: dev

What went wrong?

After the clang 14 upgrade, seastar-addr2line script hangs while decoding backtraces.

What should have happened instead?

No hangs.

How to reproduce the issue?

  1. Get a backtrace from repanda
  2. Decode it.

Additional information

This happens because 0x0 is used as a sentinel address indicating the end of a backtrace, but after clang 14 change 0x0 actually decodes to something.

JIRA Link: CORE-934

travisdowns commented 2 years ago

This should be fixed by https://github.com/redpanda-data/seastar/pull/24.

cc @BenPope