How to fix the client c fault


#1

Hi guys,

My Application is based on recent aerospike-client-c,I found the exception,the call stack is like the follows,I am not sure wether it is a bug and how to fix it.

/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7fe52665f340] /lib/x86_64-linux-gnu/libc.so.6(+0x98a70) [0x7fe5248fea70] /usr/local/lib/libaerospike.so(as_queue_pop+0x2c) [0x7fe5263fa414] /usr/local/lib/libaerospike.so(as_event_node_destroy+0x76) [0x7fe5263e1111] /usr/local/lib/libaerospike.so(as_node_destroy+0x8c) [0x7fe5263e3c61] /usr/local/lib/libaerospike.so(+0x439b9) [0x7fe5263e69b9] /usr/local/lib/libaerospike.so(as_partition_tables_update_all+0x3b1) [0x7fe5263e7527] /usr/local/lib/libaerospike.so(as_node_refresh_partitions+0x219) [0x7fe5263e4d0d] /usr/local/lib/libaerospike.so(as_cluster_tend+0x6f3) [0x7fe5263dcbe3] /usr/local/lib/libaerospike.so(+0x3a190) [0x7fe5263dd190] /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7fe526657182] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fe524960fbd]

Thanks in advance,

Steve


#2

It looks some memory corruption occurred when updating partition maps. Do you have a reproducible test case?


#3

Hi Brian,

I havenot reproduced the fault yet.Two of 3 sever nodes had the the same corruption.My application just connects to server,and do read and write operations.I cannot figure out what the case really is ecause the log is not quite enough just then.

Best Regards,

Steve