-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Crash observed consistently while calling begin() ( seems to have an invalid/corrupted iterator) on the vector of pointers to partition metadata of one of the topics #1790
Comments
Updated checklist |
@edenhill : Any updates about this issue? Thanks. |
Try to debug the issue in gdb, your output does not tell me what line it is crashing on. |
bool dmapi::validate_metadata_for_topic_health(const RdKafka::Metadata &metadata, const std::vectorstd::string &topics)
} Added a simplified version of the method. The crash is observed on calling begin(). |
@edenhill: Hi, Here's the stack trace from the core file. It crashes on calling begin() on the vector as shown in the previous examples. Stack frame 4. Thanks. (gdb) bt |
@edenhill - We've seen sporadic crashes while calling begin() on the topicMetadataVector too. |
Could you provide a full example program that reproduces this problem? Thanks |
Read the FAQ first: https://github.com/edenhill/librdkafka/wiki/FAQ
Description
Crash observed consistently while calling begin() ( seems to have an invalid/corrupted iterator) on the vector of pointers to partition metadata of one of the topics
How to reproduce
Crashes for this version of the method ->
But does not crash for this version of the method ->
IMPORTANT: Always try to reproduce the issue on the latest released version (see https://github.com/edenhill/librdkafka/releases), if it can't be reproduced on the latest version the issue has been fixed.
Checklist
IMPORTANT: We will close issues where the checklist has not been completed.
Please provide the following information:
librdkafka version (release number or git tag):
<**v0.11.4** >
Apache Kafka version:
<**1.0.1**>
librdkafka client configuration:
<topic.metadata.refresh.interval.ms : 3000 , auto.offset.reset : earliest , statistics.interval.ms : 3000>
Operating system:
<Centos 7 (x64)>
Provide logs (with
debug=..
as necessary) from librdkafka - log snippet added belowCRASH LOG : While using LIBRDKAFKA Versions -> 0.11.4
The text was updated successfully, but these errors were encountered: