View Issue Details

IDProjectCategoryView StatusLast Update
0000429FSSCPsoundpublic2005-05-31 00:20
ReporterWMCoolmon Assigned Totaylor  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000429: Supposed corruption in Snds array
DescriptionWhenever I attempt to start the Inferno mission where you try to catch the defector (The same one I had the docking prob with), I get stack corruption errors as apparently all entries past 200 in Snds contain uninitialized data, although Num_game_sounds is at 205.
Additional InformationThe way memory has been allocated has been drastically changed since I originally made sounds dynamic.
TagsNo tags attached.

Activities

taylor

2005-05-31 00:20

administrator   ~0002549

Bah. Alright, done. It's not corrupted but the new entries aren't properly initialized. The new entries should be memset() to 0 on realloc but that might not happen under Windows, just Linux. Of the 3 things that have to be initialized I was only doing 1 of them during expansion. Easy fix so I'll give it a quick test and commit. If it's still freaky under Windows then reopen.

taylor

2005-05-31 00:20

administrator   ~0002550

Fixered.

Issue History

Date Modified Username Field Change
2005-05-30 23:18 WMCoolmon New Issue
2005-05-30 23:19 WMCoolmon Assigned To => taylor
2005-05-30 23:19 WMCoolmon Status new => assigned
2005-05-31 00:20 taylor Note Added: 0002549
2005-05-31 00:20 taylor Status assigned => resolved
2005-05-31 00:20 taylor Resolution open => fixed
2005-05-31 00:20 taylor Note Added: 0002550