-
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
KafkaConsumer segfault #608
Comments
Looks like your log callback instance went out of scope. |
I'm not sure I have a log callback instance...is it something different than RdKafka::EventCb? |
It is the same. Can you paste your conf setup code and EventCb class instantiation? |
Ok, my RdKafka::EventCb instance had indeed gone out of scoped. That's fixed, and I don't get the "Receive failed" error either, so that must have been related. |
Hello,
My KafkaConsumer segfaulted while sitting in a consume(1000) loop with nothing happening except repeated ERR__TIMED_OUT. Did I neglect to hook up some callback? Using master as of 4/6. Thanks,
Vince
(gdb) where
#0 0x00007ffff5b3b0f8 in ?? ()
#1 0x00007fffe6230d9b in RdKafka::log_cb_trampoline (rk=,
#2 0x00007fffe5fc6403 in rd_kafka_log0 (rk=0xece000, extra=extra@entry=0x0,
#3 0x00007fffe5fd43fd in rd_kafka_broker_fail (rkb=rkb@entry=0xed2700,
#4 0x00007fffe5fd4a10 in rd_kafka_recv (rkb=rkb@entry=0xed2700)
#5 0x00007fffe5fe0dc8 in rd_kafka_transport_io_event (rktrans=0xe69a20,
#6 0x00007fffe5fe1ae8 in rd_kafka_transport_io_serve (
#7 0x00007fffe5fd66bc in rd_kafka_broker_serve (rkb=rkb@entry=0xed2700,
#8 0x00007fffe5fd6991 in rd_kafka_broker_ua_idle (rkb=rkb@entry=0xed2700,
#9 0x00007fffe5fd72c1 in rd_kafka_broker_thread_main (arg=arg@entry=0xed2700)
#10 0x00007fffe60005f7 in _thrd_wrapper_function (aArg=)
#11 0x00007ffff4a10df5 in start_thread () from /lib64/libpthread.so.0
#12 0x00007ffff4d1b1ad in clone () from /lib64/libc.so.6
The text was updated successfully, but these errors were encountered: