Either queue->capacity is zero or your application compile settings conflict with the aerospike library compile settings.
For example, you should not compile application in debug mode while linking to the release Aerospike.dll. Otherwise, all sorts of corruption can occur.
Hi @yncraig
Did you managed to fix this?
I get the same error, and crash, when trying to batch read async, on linux.
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7f5453fff700 (LWP 6887)]
0x00007f5481719ee7 in as_queue_copy (free_old=false, new_capacity=0, queue=0x7f5470000c60) at src/main/aerospike/as_queue.c:53
53 src/main/aerospike/as_queue.c: No such file or directory.
(gdb) bt
#0 0x00007f5481719ee7 in as_queue_copy (free_old=false, new_capacity=0, queue=0x7f5470000c60) at src/main/aerospike/as_queue.c:clock530:
@Brian
How can I increase queue->capacity ? I’m using as_event_create_loops. First call working ok, I’m getting the results. However, when I make the second call to aerospike_batch_read_async my app is crashing with the above error.