Cannon: fix SIGFPE