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++ application built with librdkafka with GCC TSAN crashes when starting #4929

Open
thilinak opened this issue Dec 12, 2024 Discussed in #4927 · 0 comments
Open

C++ application built with librdkafka with GCC TSAN crashes when starting #4929

thilinak opened this issue Dec 12, 2024 Discussed in #4927 · 0 comments

Comments

@thilinak
Copy link

Discussed in #4927

Originally posted by thilinak December 9, 2024
My application is built with librdkafka 1.6.0. It runs okay normally but when the application is built with TSAN flags (GCC) the application fails to start and crash stack is shown as below. Please help to resolve this.

`
#0 0x00007ffff6d8409e in __tsan_func_entry () from /lib64/libtsan.so.0
#1 0x00000000010aa9ae in KafkaClient::on_thread_start_trampoline(rd_kafka_s*, rd_kafka_thread_type_t, char const*, void*) ()
#2 0x00007ffff55a26f3 in rd_kafka_interceptors_on_thread_start (rk=rk@entry=0x7b800003e000, thread_type=thread_type@entry=RD_KAFKA_THREAD_MAIN) at rdkafka_interceptor.c:579
#3 0x00007ffff550b27e in rd_kafka_thread_main (arg=0x7b800003e000) at rdkafka.c:1965
#4 0x00007fffeeac32d2 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fffee71e8d3 in clone () from /lib64/libc.so.6

`

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

1 participant