View Issue Details

IDProjectCategoryView StatusLast Update
0003042FSSCPPilot datapublic2014-05-13 10:29
Reporterniffiwan Assigned Toniffiwan  
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version3.7.1 
Target Version3.7.2Fixed in Version3.7.2 
Summary0003042: ASSERTION FAILED: "(Num_stat_lines + Num_ship_classes) < Max_stat_lines" at menuui/barracks.cpp:481
DescriptionThis is triggered in debug by pilots that have a "reasonable" number (23+ in retail) of unique ship classes with kill counts.

Sample pilot is attached.
Steps To ReproduceRun Debug
Select the pilot
Enter the barracks
Additional InformationThis was introduced in r10595.

TagsNo tags attached.

Activities

niffiwan

2014-05-13 10:19

developer  

Pilots.rar (16,737 bytes)

niffiwan

2014-05-13 10:19

developer   ~0015743

I think the added assert should be changed to this:

Assert((Num_stat_lines + 1) < Max_stat_lines);

(since we're only writing one more line worth of stats instead of potentially every ship class)

niffiwan

2014-05-13 10:29

developer   ~0015744

Resolved in r10689

Issue History

Date Modified Username Field Change
2014-05-13 10:19 niffiwan New Issue
2014-05-13 10:19 niffiwan Status new => assigned
2014-05-13 10:19 niffiwan Assigned To => niffiwan
2014-05-13 10:19 niffiwan File Added: Pilots.rar
2014-05-13 10:19 niffiwan Note Added: 0015743
2014-05-13 10:29 niffiwan Note Added: 0015744
2014-05-13 10:29 niffiwan Status assigned => resolved
2014-05-13 10:29 niffiwan Fixed in Version => 3.7.2
2014-05-13 10:29 niffiwan Resolution open => fixed