I will guess that it requires floating point computation and it segfaults like nodejs or go compiled programs do. The kernel compiled for 2.7 firmware does not have it enabled. If you try the older firmware on the AR300M (2.264) it has FP emulation enabled in the kernel.