View Issue Details

IDProjectCategoryView StatusLast Update
0002774FSSCPPilot datapublic2013-01-28 09:51
Reporterniffiwan Assigned Toniffiwan  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
Platformx86-64OSMintOS Version13
Product VersionAntipodes 8 
Summary0002774: CTD - possibly during pilot conversion process
DescriptionAntipodes tries to convert all the pilots it can find (normal vs inferno, I need to check) into the new format. If the conversion process exceeds the allowed number of pilots, FSO crashes with:

ERROR: "Out of memory." at windows_stub/stubs.cpp:574

Once the game has crashed once, it'll work normally, however you might not be able to see pilots that you could previously see. e.g.

crash on start
rerun successfully
try to create & new pilot and can't because you're @ max
delete a pilot & create a new pilot
play, then exit
restart - conversion process causes a crash when it tries to convert an ant8 pilot that was deleted but still exists as an inferno pilot (maybe - need to double check)
can't see the last created pilot
Steps To ReproduceHave X antipodes8 pilots where X is some value below the max
Have Y inferno (??) pilots where X + Y exceeds the max
Run FSO
crash

(needs to be confirmed)
Additional InformationI really need to add better info, but I'm in a rush and I don't want to forgot about this...
TagsNo tags attached.

Activities

niffiwan

2013-01-28 03:12

developer   ~0014664

I'm having problems reproducing this now :|

I don't think it's related to the pilot conversion process + number of active pilots, FSO happily converts all my test pilots it can without error, even when I start with 19 ant8 pilots and end up with 23 after the conversion (20 is the normal max).

There could be a conversion issue with one of the pilots which caused the original issue, but I think I deleted the relevant INF pilot :(

Anyway, for reference, I've tried the following:

start with 19 ant8, 4 unconverted INF, start, delete from FSO one newly converted pilot (or an old converted pilot, or dummy ant8 pilot), create new pilot, enter game, play mission, exit, re-enter FSO without crash.
delete more newly converted ant8 pilots, create new ones, play mission, exit, re-enter FSO without crash.

I need to try something else to reproduce... the sequence in the description is pretty much as I remember it... I guess the crash could simply have been trying to convert a dud pilot, and maybe that was the pilot that was deleted to make room for the new Ant8 pilot?

niffiwan

2013-01-28 09:51

developer   ~0014666

checked all my remaining pilots, none of them caused a crash during conversion, however I do recall deleting a couple of .csg files that were affected by 2053 - I'm going to assume that this crash was caused by that problem.

Issue History

Date Modified Username Field Change
2013-01-08 09:36 niffiwan New Issue
2013-01-08 09:36 niffiwan Status new => assigned
2013-01-08 09:36 niffiwan Assigned To => niffiwan
2013-01-28 03:12 niffiwan Note Added: 0014664
2013-01-28 03:13 niffiwan Summary CTD when FSO tries to convert too many pilots => CTD - possibly during pilot conversion process
2013-01-28 09:51 niffiwan Note Added: 0014666
2013-01-28 09:51 niffiwan Status assigned => closed
2013-01-28 09:51 niffiwan Resolution open => unable to reproduce