View Issue Details

IDProjectCategoryView StatusLast Update
0000735Dwarf FortressTechnical -- Generalpublic2010-06-09 06:45
Reporterlobefin Assigned ToToady One  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
PlatformwindowsOS7 
Product Version0.31.01 
Fixed in Version0.31.05 
Summary0000735: Loading game immed. after generating new world results in invalid ID numbers
DescriptionI create a new world, then load a previous dwarf mode save in the same session. The game hangs indefinately on the "loading game..." screen.
The save does not load after several minutes, and I have to quit through the OS.

after quitting and restarting, game loads as normal. The bug only occurs when performing a new worldgen in the same session.

Just confirmed this did not occur in ver 40d18.
Steps To Reproducedesign new world with parameters (tested for pocket & smaller worlds)
generate world
continue playing
select preexisting world
Additional Informationsample errorlog.txt;

[...]

Load Game: Invalid Job ID Number, Drink
Load Game: Invalid Job ID Number, Pickup Equipment
Load Game: Invalid Job ID Number, Harvest Plants
Load Game: Invalid Unit ID Number, Kol Likotedos, Woodworker
Load Game: Invalid Unit ID Number, Cog Shism”rul, Stonecrafter
Load Game: Invalid Unit ID Number, Mafol ZonŒton, Planter
Load Game: Invalid Unit ID Number, Ilral R¡barlorbam, Miner

[...]

it continues like this for 2.7MB+. every line is in the form "Load Game: Invalid [thing] ID Number, [thing name]" repeated for seemingly everything in the world.
TagsNo tags attached.

Relationships

has duplicate 0000381 closeduser6 Adventurers/reclaimers have the creature IDs of megabeasts 
has duplicate 0002134 closeduser6 New game in adventure mode has quirky setup 
related to 0000017 resolvedToady One Embark starts with no expedition leader, resulting in missing labors and blank nobles screen 

Activities

user6

2010-04-07 13:26

  ~0001836

What size worlds are you generating?

DoctorZuber

2010-04-07 13:32

reporter   ~0001838

unable to reproduce.

tried creating several worlds in a row, while the system froze up some from the abuse of doing three world gens in a row, it did recover. loaded an unrelated save after each worldgen with no difficulties.

I'm wondering if this may be related to reports that the new worldgen fails to release memory after a worldgen.

What are your system specs ?

lobefin

2010-04-07 13:55

reporter   ~0001844

footkerchief - my existing save is on a default 'create new world now' world in slot 1.
I've reproduced the hang after genning pocket and smaller worlds in slots 3 and 4. It's hanged every time on 5 or 6 such tests.

Specs;
Intel core 2 duo (2.1 GHz)
4GB ram (though only 3GB usable)
Windows 7 32bit.

gonna run more tests..

lobefin

2010-04-07 14:57

reporter   ~0001861

Last edited: 2010-04-07 15:07

After further tests it seems the tests are loading, just after a delay and after producing a long errorlog. On testing various world sizes;

gen pocket -> load pocket - loads quickly, 26KB log
gen pocket -> load smaller - loads quickly, 77KB log
gen small -> load pocket - longish wait, 4857KB log
gen smaller -> load smaller - loads quickly, 66KB log

on tests involving larger size worlds I lose patience and quit before the game loads. However I have watched the errorlog grow to 10MB+.

Replicated using fresh download. I'm also making sure to quit and restart between each test.

-edit-

genned a pocket world then loaded a medium size save. approx 10 mins later its open with a 54MB log.

user6

2010-04-07 15:28

  ~0001864

Do you have the game installed in Program Files? That causes errors on Vista and probably Win 7.

lobefin

2010-04-07 16:13

reporter   ~0001879

I had it installed in "my documents"
After copying the folder to root on a separate partition, I still get the same issue.

I should also report that I have graphics turned off.

DoctorZuber

2010-04-26 21:46

reporter   ~0005280

Last edited: 2010-04-26 21:51

I'm coming back to this one, I'm amending my earlier statement. I haven't seen a crash from this, but I can reliably generate error reports. I did some quick tests with pockets, I guess I can try a larger one for giggles.

Toady One

2010-06-02 01:02

administrator   ~0007558

I've fixed this one, but it doesn't seem like it is related to any of the parent issues, so I've removed those. It's still unclear what is going on there at times.

Issue History

Date Modified Username Field Change
2010-04-07 13:21 lobefin New Issue
2010-04-07 13:26 user6 Note Added: 0001836
2010-04-07 13:32 DoctorZuber Note Added: 0001838
2010-04-07 13:55 lobefin Note Added: 0001844
2010-04-07 14:57 lobefin Note Added: 0001861
2010-04-07 15:07 lobefin Note Edited: 0001861
2010-04-07 15:28 user6 Note Added: 0001864
2010-04-07 16:13 lobefin Note Added: 0001879
2010-04-26 17:08 user6 Summary Hang on loading following worldgen => Loading game immed. after generating new world results in invalid ID numbers
2010-04-26 17:09 user6 Relationship added related to 0000017
2010-04-26 21:46 DoctorZuber Note Added: 0005280
2010-04-26 21:51 DoctorZuber Note Edited: 0005280
2010-05-25 12:09 user6 Relationship replaced parent of 0000017
2010-05-25 12:09 user6 Relationship added parent of 0000983
2010-05-25 12:09 user6 Relationship added parent of 0001446
2010-05-25 12:10 user6 Relationship added has duplicate 0000381
2010-05-25 12:10 user6 Sticky Issue No => Yes
2010-06-02 01:02 Toady One Note Added: 0007558
2010-06-02 01:02 Toady One Status new => resolved
2010-06-02 01:02 Toady One Fixed in Version => 0.31.05
2010-06-02 01:02 Toady One Resolution open => fixed
2010-06-02 01:02 Toady One Assigned To => Toady One
2010-06-02 01:09 Toady One Relationship deleted parent of 0001446
2010-06-02 01:10 Toady One Relationship deleted parent of 0000983
2010-06-02 01:10 Toady One Relationship deleted parent of 0000017
2010-06-02 13:07 user6 Sticky Issue Yes => No
2010-06-02 16:07 user6 Relationship added has duplicate 0002134
2010-06-09 06:45 Toady One Status resolved => closed
2010-06-29 07:38 user6 Category Technical => Technical -- General
2010-07-14 08:18 user6 Relationship added related to 0000017