Public bug reported: gl-117 (1.3.2-2.1ubuntu1, under Ubuntu 12.04 LTS) crashes with a floating point exception under some scenarios.
According to gdb, the error occurs: #0 0x000000000041189b in game_timer (dt=0) at main.cpp:3662 Obviously, the FPE happens because in line 3662 the expression (2000/dt) fails when dt is zero. The attached patch prevents game_timer being called with a zero argument, yet I'm not sure whether this is the "right" way to fix things. ** Affects: gl-117 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1035943 Title: floating-point exception in some campaign scenarios To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gl-117/+bug/1035943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs