View Issue Details

IDProjectCategoryView StatusLast Update
0002498FSSCPtablespublic2012-01-14 04:45
ReporterWoolie Wool Assigned ToThe_E  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.6.13 
Summary0002498: Ships with invalid species defined hang the game with no error message/debug entry
DescriptionIf you add a ship to your mod and its species is not listed in species_defs.tbl, when you display it with thrusters in the tech room or load a mission that it appears in, the game hangs with no error message or debug entry until you kill the process.
Additional InformationThis makes diagnosing the table error difficult at times. In my case, since my Wings mod has a species that is named "Others" and has a FRED color that is nearly identical to the color given ships with invalid species, I overlooked a freighter class that had an invalid species. I had to build my own debug build and run the debugger to diagnose the issue.

This sort of error should cause FSO to crash immediately with a clearly labeled error message, so no one has to go through an ordeal like mine again. A tbm with a purposely invalid ship entry is included with this report to demonstrate the bug. It is a modified Ulysses with the species "Vogon", which is not defined.
TagsNo tags attached.

Activities

2011-09-07 05:33

 

invalidspecies-shp.tbm (3,981 bytes)

iss_mneur

2011-09-07 05:44

developer   ~0012805

Last edited: 2011-09-07 05:44

With the attached ship, I am unable to cause the hang in the F3 model viewer, but the game does hang when I get into mission and fire a missile.

The_E

2011-12-21 01:11

administrator   ~0013004

Fixed in revision 8103. Invalid species refrences will now generate an error during parsing.

niffiwan

2012-01-14 04:44

developer   ~0013035

assigning correct credit

Issue History

Date Modified Username Field Change
2011-09-07 05:33 Woolie Wool New Issue
2011-09-07 05:33 Woolie Wool File Added: invalidspecies-shp.tbm
2011-09-07 05:44 iss_mneur Note Added: 0012805
2011-09-07 05:44 iss_mneur Severity block => major
2011-09-07 05:44 iss_mneur Status new => confirmed
2011-09-07 05:44 iss_mneur Note Edited: 0012805
2011-12-20 09:26 niffiwan Status confirmed => assigned
2011-12-20 09:26 niffiwan Assigned To => niffiwan
2011-12-21 01:11 The_E Note Added: 0013004
2011-12-21 01:11 The_E Status assigned => resolved
2011-12-21 01:11 The_E Resolution open => fixed
2012-01-14 04:44 niffiwan Note Added: 0013035
2012-01-14 04:44 niffiwan Status resolved => feedback
2012-01-14 04:44 niffiwan Resolution fixed => reopened
2012-01-14 04:44 niffiwan Assigned To niffiwan => The_E
2012-01-14 04:44 niffiwan Status feedback => assigned
2012-01-14 04:45 niffiwan Status assigned => resolved
2012-01-14 04:45 niffiwan Resolution reopened => fixed