https://bugs.winehq.org/show_bug.cgi?id=54291
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Actual error code should be 13 (type mismatch), and we should fix that. However the real issue is likely wrong jump that happens on error. Maybe error in loop bounds are not handled correctly. It gets stuck in inner loop, right?