View Issue Details

IDProjectCategoryView StatusLast Update
0001741FSSCPFREDpublic2008-08-15 01:36
ReporterFUBAR-BDHR Assigned Tophreak  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.6.9 
Summary0001741: FRED allows more ships than FS2 to be escort ships resulting in a crash at load.
DescriptionHad a heck of a time tracking this one down. Apparently there is a limit of somewhere around 20 ships being escort ships. FRED apparently doesn't catch it but as soon as the 21st (Guessing on the number but it's + or -1) arrives FS2 immediately freezes.
Additional InformationOriginally occured in TBP 3.6.9 but I debugged it using a recent 3.6.10 build (think it was Kara's standalone fixes build). I have a mission and some logs to attach but am waiting on approval of the author before attaching.
TagsNo tags attached.

Activities

karajorma

2008-08-03 11:16

administrator   ~0009530

If it's as simple as just making a mission with 21 escort ships in it and simply having the last one jump in 5 seconds in I can do that fairly easily myself :)

FUBAR-BDHR

2008-08-03 17:17

developer   ~0009532

I believe it is but I was pretty wasted by the time I finally tracked it down.

This is what was getting logged in errorlog.txt

Last safe point: last safepoint: D:\C++\Freespace\FS2_Open - 3.6.9 Development\code\Starfield\StarField.cpp, 1058; [leaving starfield_generate_bitmap_instance_vertex_buffers]

This is what the last line in the log was:

exceeded max ships in big escort list

Really nothing else in the logs that was unusual except for a warning for a missing nebula that I had to remove manually as it didn't show up in FRED. Probably should test that one in 3.6.10 FRED. Might be another bug. With that nebula missing and the last safe point being starfield I was looking more for some kind of background problem.

karajorma

2008-08-03 20:29

administrator   ~0009533

You definitely have a maximum of 20 escort ships so something will need to be done about that, perhaps making the list dynamic (as solving the problem in FRED would be rather ugly).

FUBAR-BDHR

2008-08-04 03:01

developer   ~0009534

How about a better catch in debug mode so you don't CTD? It's not a total solution but a decent shot term patch.

phreak

2008-08-15 01:24

developer   ~0009564

I ran it with a debug build and didn't receive any errors or warnings, attaching testing mission.

phreak

2008-08-15 01:28

developer   ~0009565

ok i figured it out. The 21st ship needs to arrive late, otherwise it works fine.

phreak

2008-08-15 01:36

developer   ~0009566

fixed

Issue History

Date Modified Username Field Change
2008-08-03 05:05 FUBAR-BDHR New Issue
2008-08-03 11:16 karajorma Note Added: 0009530
2008-08-03 17:17 FUBAR-BDHR Note Added: 0009532
2008-08-03 20:29 karajorma Note Added: 0009533
2008-08-04 03:01 FUBAR-BDHR Note Added: 0009534
2008-08-11 23:24 phreak Status new => assigned
2008-08-11 23:24 phreak Assigned To => phreak
2008-08-15 01:24 phreak Note Added: 0009564
2008-08-15 01:25 phreak File Added: escort.fs2
2008-08-15 01:28 phreak File Deleted: escort.fs2
2008-08-15 01:28 phreak Note Added: 0009565
2008-08-15 01:36 phreak Status assigned => resolved
2008-08-15 01:36 phreak Resolution open => fixed
2008-08-15 01:36 phreak Note Added: 0009566