Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005890Dwarf FortressTechnical -- Saving/Loadingpublic2012-05-15 07:432012-05-15 16:34
Reporterag 
Assigned ToToady One 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version0.34.08 
Target VersionFixed 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.
Attached Files

- Relationships

-  Notes
(0022518)
ab9rf (reporter)
2012-05-15 07:54

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


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker