View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002800 | FSSCP | multiplayer | public | 2013-02-26 21:19 | 2013-12-03 09:35 |
Reporter | FUBAR-BDHR | Assigned To | Echelon9 | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | 3.6.16 | ||||
Summary | 0002800: Particles not removed on standalone | ||||
Description | Had a crash on a standalone the other day and notice that the num_particles high water marks being logged where huge. Values were exceeding 395k. This didn't seem right (not to mention making for a 30meg log file) so I went fishing. Seems that particles are created on a standalone but the only place I can find that they are removed is in particle_move_all() which isn't called from a standalone. They also don't appear to be cleared between missions. Not sure if they are in single or not so that may be an issue as well. | ||||
Steps To Reproduce | Host a debug standalone, play a few games on it, check the log. Although as with most multiplayer issues it's probably easier to just look at the code. | ||||
Tags | No tags attached. | ||||
|
fix-mantis-2800.patch (441 bytes)
Index: code/freespace2/freespace.cpp =================================================================== --- code/freespace2/freespace.cpp (revision 10178) +++ code/freespace2/freespace.cpp (working copy) @@ -902,6 +902,7 @@ mission_brief_common_reset(); // close out parsed briefing/mission stuff cam_close(); subtitles_close(); + particle_close(); trail_level_close(); ship_clear_cockpit_displays(); hud_level_close(); |
|
Patch uploaded which should ensure the particles STL container is cleared between missions, and does not grow indefinitely. This is a code path which is definitely reached by the standalone server. |
|
Fix committed to trunk@10182. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-02-26 21:19 | FUBAR-BDHR | New Issue | |
2013-12-01 10:52 | Echelon9 | Assigned To | => Echelon9 |
2013-12-01 10:52 | Echelon9 | Status | new => assigned |
2013-12-01 10:53 | Echelon9 | File Added: fix-mantis-2800.patch | |
2013-12-01 10:54 | Echelon9 | Status | assigned => code review |
2013-12-01 10:55 | Echelon9 | Note Added: 0015478 | |
2013-12-03 09:35 | Echelon9 | Changeset attached | => fs2open trunk r10182 |
2013-12-03 09:35 | Echelon9 | Note Added: 0015488 | |
2013-12-03 09:35 | Echelon9 | Status | code review => resolved |
2013-12-03 09:35 | Echelon9 | Resolution | open => fixed |