Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Crashes when closing intelligence report at the beginning of campaign #221

Closed
wzdev-ci opened this issue Jan 18, 2009 · 7 comments
Closed

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by anonymous


After closing the intelligence report at the beginning of campaign 1, mission 13 (I'm sure it is 13, when you have to assist Team Beta?), the game crashes.

The message I get in the terminal is "Floating point exception".
I have included the core dump data.


Issue migrated from trac:221 at 2022-04-15 17:52:50 -0700

@wzdev-ci
Copy link
Contributor Author

anonymous uploaded file warzone2100.gdmp-sXl1QV (8.1 KiB)

@wzdev-ci
Copy link
Contributor Author

Giel commented


Cause: integer divide by zero in droid.c:repairPowerPoint().

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Apr 7, 2009

Buginator commented


Thanks for the report.

Added a assert to catch this, and a workaround so it don't crash again.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Apr 7, 2009

Buginator uploaded file sf_DroidbodyDiv0.patch (1.1 KiB)

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 3, 2009

Buginator changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 3, 2009

Buginator set resolution to fixed

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 3, 2009

Buginator commented


(In [7316]) Fixes #221

Add a Assert to catch a possible division by 0, and avoid that condition when it happens.

@wzdev-ci wzdev-ci closed this as completed May 3, 2009
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant