This has been initially been reported via google group forum post.
Code to reproduce the bug is given below.
#include <arrayfire.h>
#include <cstdio>
#include <cstdlib>
using namespace af;
int main(int argc, char *argv[])
{
try {
af::info();
Window w;
array A = randu(10, 10);
w.setAxesLimits(0.0f, 10.0f, 0.0f, 10.0f, 0.0f, 1.0f);
while(!w.close()) {
w.surface(A);
}
} catch (af::exception& e) {
fprintf(stderr, "%s\n", e.what());
throw;
}
return 0;
}