-
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
librdkafka tests crash on solaris #340
Comments
I am building from master branch |
do you have at least one topic created on your kafka broker? |
Yes I have multiple topics created on the broker. Using the same test.conf on linux all tests pass. It looks like the crash is just in solaris. |
Here is my test.conf file |
SIGBUS on Solaris are usually alignment errors, i.e., trying to read a multibyte word from a non-aligned address. |
Fixed on oct15 branch |
- Fix alignment issues. No more packed structs (#340) - Proper interface to rd_kafka_buf_t
Hi, I am trying to execute rdkafka_example_cpp on Solaris from librdkafka-0.8.6. However, i am facing SIGBUS error. could you please help me how to resolve this issue. Regards, |
@VenkatTT This is fixed on the oct15 branch and will be merged to master within 3-4 weeks. |
The oct15 branch will be in a usable state within a week or so. |
Thank you very much |
@edenhill could you please update me on this issue or suggest which branch i can use. |
@edenhill Can i use oct15 branch to fix bus alignment issues on solaris? |
The oct15 branch is in Alpha stage and is not really usable for anything other than testing. A proper release will be available in a month's time, while a merge to master for beta testing will be available in a week or so. |
Fixed on master |
I am getting Bus Error (core dumped) when running 0002-unkpart.test in tests directory.
Running the test under gdb shows the following stack trace
#0 0x0002e748 in rd_kafka_metadata_handle (rko=0x55128, size=369, buf=0x554c0 "", rkb=0x54218) at rdkafka_broker.c:890
#1 rd_kafka_broker_metadata_reply (rkb=0x54218, err=, reply=, request=, opaque=0x55128) at rdkafka_broker.c:1033
#2 0x00029710 in rd_kafka_req_response (rkbuf=0x553e8, rkb=0x54218) at rdkafka_broker.c:1327
#3 rd_kafka_recv (rkb=rkb@entry=0x54218) at rdkafka_broker.c:1519
#4 0x0002a258 in rd_kafka_broker_io_serve (rkb=rkb@entry=0x54218) at rdkafka_broker.c:2458
#5 0x0002bb78 in rd_kafka_broker_ua_idle (rkb=0x54218) at rdkafka_broker.c:2481
#6 rd_kafka_broker_thread_main (arg=0x54218) at rdkafka_broker.c:4161
#7 0xf0355858 in _lwp_start () from /lib/libc.so.1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
and the crash is in
_READ_STR_MSH(md->topics[i].topic);
printing md->topics shows that it is empty
{topic = 0x0, partition_cnt = 0, partitions = 0x0, err = RD_KAFKA_RESP_ERR_NO_ERROR}
The text was updated successfully, but these errors were encountered: