View Issue Details

IDProjectCategoryView StatusLast Update
0005890Dwarf FortressTechnical -- Saving/Loadingpublic2012-05-15 16:34
Reporterag Assigned ToToady One  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.34.08 
Fixed in Version0.34.09 
Summary0005890: The 'next vehicle id' is initialized with garbage on upgrade from 0.34.07
DescriptionThere is a global variable in the game that holds the next ID that would be used for a new vehicle object. When a save is upgraded from 0.34.07, this variable is initialized with random garbage, including sometimes big negative values (especially on linux).
Steps To ReproduceOpen an old save, look at variables in memory.
Additional InformationI didn't notice any actual functionality failures with negative ids, thus 'minor'. I suspect this is caused by an uninitialized local variable.
TagsNo tags attached.

Activities

ab9rf

2012-05-15 07:54

reporter   ~0022518

I can confirm this on Windows. I loaded three different .07 saves. The first two (both fairly mature forts) got the same fairly large value (1489568466), and a third (a fort saved immediately after embark without any development) got a somewhat smaller value (64485885). I didn't test to see whether reloading the same save more than once yields the same value.

Issue History

Date Modified Username Field Change
2012-05-15 07:43 ag New Issue
2012-05-15 07:54 ab9rf Note Added: 0022518
2012-05-15 16:34 Toady One Status new => resolved
2012-05-15 16:34 Toady One Fixed in Version => Next Version
2012-05-15 16:34 Toady One Resolution open => fixed
2012-05-15 16:34 Toady One Assigned To => Toady One