Aerospike client panic


Hi,guys. The client get sigal SIGSEGV and output the call trace as follows.

/usr/local/lib/ [0x7f47d15ba414]

/usr/local/lib/ [0x7f47d15a1111]

/usr/local/lib/ [0x7f47d15a3c61]

/usr/local/lib/ [0x7f47d15a69b9]

/usr/local/lib/ [0x7f47d15a7527]

/usr/local/lib/ [0x7f47d15a4d0d]

/usr/local/lib/ [0x7f47d159cbe3]

/usr/local/lib/ [0x7f47d159d190]

/lib/x86_64-linux-gnu/ [0x7f47d1817182]

as_queue_pop(as_queue* queue, void* ptr)
	if (as_queue_empty(queue)) {
		return false;

	memcpy(ptr, as_queue_get(queue, queue->head), queue->item_size);

	queue->head++;  -------------------------- **the fault line**

	// This probably keeps the cache fresher because the queue is 
fully empty.

	if (queue->head == queue->tail) {
		queue->head = queue->tail = 0;

	return true;

Does the coredump has relation with that the appliation passes the as->cluster NULL pointer when do some operation. My application has such a leak probably.

Best Regards,