Created attachment 234220 [details] a possible patch Check mode->htotal and return if it equals zero. Prevent division by zero htotal.