Skip to content

Crash after update from 2.8.0 to 2.10.0 #5057

Closed
@olegrok

Description

@olegrok

After updating Lua/Tarantool wrapper over librdkafka to the latest 2.10.0 version it started to crash.
Everything works fine on 2.8.0.

The last that I see in the logs:

rdlist.c:283:33: runtime error: call to function rd_kafka_topic_info_destroy through pointer to incorrect function type 'void (*)(void *)'
/home/runner/work/kafka/kafka/librdkafka/src/rdkafka_topic.c:2052: note: rd_kafka_topic_info_destroy defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rdlist.c:283:33 
%5|1745844585.671|CONFWARN|rdkafka#consumer-3| [thrd:app]: No `bootstrap.servers` configured: client will not be able to connect to Kafka cluster
rd.h:157:26: runtime error: null pointer passed as argument 1, which is declared to never be null
/usr/include/string.h:188:35: note: nonnull attribute specified here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rd.h:157:26 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions