Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [39c] DF fortress mode freezes/crashes computer upon saving  (Read 1526 times)

Qmarx

  • Bay Watcher
  • "?"
    • View Profile

DF froze up my computer when I tried to save after getting a possessed mood.  The save apparently didn't finish or something, as I have an empty "current" folder, the game won't recognize the region1 folder as a save folder.  I'm glad I have a seasonal backup, although apparently it didn't backup when I changed from spring to summer...



Here are the contents of the log files
Code: [Select]
*** STARTING NEW GAME ***
** Loading Fortress **
Bomrek Shedimlogem has become a Planter.
Šzum Kosothstettad, Farmer cancels Prepare Lavish Meal: Job item lost or destroyed.
Bim Lash‰dkol, Farmer cancels Butcher an Animal: Needs butcherable unrotten nearby item.
It is now summer.
Construct Bed (6) has been completed.
Bim Lash‰dkol, Farmer is more experienced.
Fikod Likotlensham, Glassmaker cancels Make large, serrated green glass disc: Needs sand-bearing item.
Zasit Bimkun, Lye Maker cancels Make Raw green glass: Needs sand-bearing item.
Fikod Likotlensham, Glassmaker has been possessed!
Zasit Adilthibam, Peasant cancels Store Item in Stockpile: Job item misplaced.
Ast Kƒkdalducim, Fisherdwarf is more experienced.
Code: [Select]
loop path fail: <same square> dwarf,Collect Sand,46,33,24 -> 47,61,22: Id #6045:Path Goal Get Empty Sand Bag:Station Mill Building at 56,159,22
loop path fail: <same square> dwarf,45,153,22 -> 42,26,22: Id #5968:Path Goal Seek Station:Station Mill Building at 43,26,22
loop path fail: <same square> dog,47,163,23 -> 55,159,22: Id #5890:Path Goal Seek Station:Station Owner at 66,42,24
loop path fail: <same square> dog,47,161,23 -> 55,159,22: Id #5890:Path Goal Seek Station:Station Owner at 66,42,24

I suspect that it might be messing up because of some strange interaction with Winamp (I had issues in 38c when winamp was active), but I hoped the new version of DF would have corrected that... DF's sound is turned off in the init file, Winamp is the latest update, my drivers are the most recent ones available...
Anything else you need to know?  I can upload the partial region1 save if you tell me where/how.
« Last Edit: July 18, 2008, 02:59:11 pm by Qmarx »
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: 39c DF freezes up entire computer upon saving
« Reply #1 on: July 17, 2008, 09:16:15 pm »

Huh, that'll be hard to catch unless it repeats from your backup.  The partial saves don't generally help with these, since it saves out compressed blocks only periodically, and you don't really catch a relevant spot looking at those.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Qmarx

  • Bay Watcher
  • "?"
    • View Profile
Re: 39c DF freezes up entire computer upon saving
« Reply #2 on: July 18, 2008, 02:38:52 am »

Huh, that'll be hard to catch unless it repeats from your backup.  The partial saves don't generally help with these, since it saves out compressed blocks only periodically, and you don't really catch a relevant spot looking at those.
Is it possible the possession in the event log had something to do with it?  It happened about 30 seconds before I saved.

Oddly enough, the non-functional region1 folder seems to only be missing part of the world.sav - dunno how helpful that info is, but the backup world.sav plays fine if I swap it in.
Logged

Qmarx

  • Bay Watcher
  • "?"
    • View Profile
Re: 39c DF freezes/crashes computer upon saving
« Reply #3 on: July 18, 2008, 02:57:27 pm »

It happened again.  This time it took down the computer entirely instead of just freezing - it turned itself off.  :-\

On the plus side, I have a world.sav file in the current folder this time.  It's a different size from the region1 folder... would either of those be useful?  I'm going to try incrementing up to the crash point...

Event log:
Code: [Select]
*** STARTING NEW GAME ***
** Loading Fortress **
Bomrek Shedimlogem has become a Planter.
Šzum Kosothstettad, Farmer cancels Prepare Lavish Meal: Job item lost or destroyed.
Bim Lash‰dkol, Farmer cancels Butcher an Animal: Needs butcherable unrotten nearby item.
It is now summer.
Construct Bed (6) has been completed.
Bim Lash‰dkol, Farmer is more experienced.
Fikod Likotlensham, Glassmaker cancels Make large, serrated green glass disc: Needs sand-bearing item.
Zasit Bimkun, Lye Maker cancels Make Raw green glass: Needs sand-bearing item.
Fikod Likotlensham, Glassmaker has been possessed!
Zasit Adilthibam, Peasant cancels Store Item in Stockpile: Job item misplaced.
Ast Kƒkdalducim, Fisherdwarf is more experienced.
*** STARTING NEW GAME ***
*** STARTING NEW GAME ***
*** STARTING NEW GAME ***
*** STARTING NEW GAME ***
** Loading Fortress **
Dakost Datanthob, war Dog (Tame) has given birth to puppies.
*** STARTING NEW GAME ***
** Loading Fortress **
Shorast Regsesh, Miner cancels Make green glass Goblet: Needs sand-bearing item.
A elven caravan from Neyamoqueca has arrived.
Šzum Kosothstettad has become a Farmer.
Merchants have arrived and are unloading their goods.
Rimtar Vab“k‹lon, Leatherworker cancels Construct leather Bag: Needs tanned hide.
Šzum Kosothstettad, Farmer cancels Brew Drink: Needs distillable item.
Construct green glass Hatch Cover (3) has been completed.
Stray war Dog (Tame) has given birth to puppies.
Collect Sand (30) has been completed.
** Loading Fortress **
Šzum Kosothstettad, Farmer cancels Brew Drink: Needs distillable item.
x2
x3
x4
x5
The merchants from Neyamoqueca have embarked on their journey.
Mosus Dod¢katul, Miner is more experienced.
Šzum Kosothstettad, Farmer cancels Brew Drink: Needs distillable item.
x2
x3
x4
x5
x6
x7
x8
x9
x10
x11
x12
x13
Bomrek Shedimlogem, Peasant cancels Plant Seeds: Needs Sweet pod Seeds.
Šzum Kosothstettad, Farmer cancels Brew Drink: Needs distillable item.
x2
** Loading Fortress **
*** STARTING NEW GAME ***
** Loading Fortress **
Bomrek Shedimlogem, Peasant cancels Plant Seeds: Needs Sweet pod Seeds.
Fikod Likotlensham, Woodworker cancels Construct Building: Interrupted by Two-humped Camel.
The dwarves suspended the construction of Up/Down Stair.
Fikod Likotlensham, Woodworker cancels Pickup Equipment: Equipment mismatch.
Rith Unibrig•th, Glassmaker cancels Make green glass Terrarium: Needs sand-bearing item.
Two-humped Camel has become enraged!
Šzum Kosothstettad, Farmer cancels Prepare a Raw Fish: Needs unrotten raw fish.
Šzum Kosothstettad, Farmer cancels Brew Drink: Needs distillable item.
x2
x3
Šzum Kosothstettad, Farmer cancels Prepare a Raw Fish: Needs unrotten raw fish.
Šzum Kosothstettad, Farmer cancels Brew Drink: Needs distillable item.
x2
x3
x4
x5
Rimtar Vab“k‹lon, Leatherworker cancels Store Item in Stockpile: Job item misplaced.
Šzum Kosothstettad, Farmer cancels Brew Drink: Needs distillable item.
At”r Rig•thmshos, Engraver is more experienced.
Dakost Datanthob, war Dog (Tame) has been struck down.
Some migrants have arrived.
Your community can now support a sheriff.
Zasit Bimkun, Lye Maker cancels Construct green glass Blocks: Needs sand-bearing item.

Error log:
Code: [Select]
loop path fail: <same square> dwarf,Collect Sand,46,33,24 -> 47,61,22: Id #6045:Path Goal Get Empty Sand Bag:Station Mill Building at 56,159,22
loop path fail: <same square> dwarf,45,153,22 -> 42,26,22: Id #5968:Path Goal Seek Station:Station Mill Building at 43,26,22
loop path fail: <same square> dog,47,163,23 -> 55,159,22: Id #5890:Path Goal Seek Station:Station Owner at 66,42,24
loop path fail: <same square> dog,47,161,23 -> 55,159,22: Id #5890:Path Goal Seek Station:Station Owner at 66,42,24
loop path fail: <same square> dog,64,155,22 -> 67,155,22: Id #5939:Path Goal Seek Station:Station Mill Building at 48,151,22

I wasn't running winamp at this point, and I didn't have any moods...
« Last Edit: July 18, 2008, 02:59:36 pm by Qmarx »
Logged

Qmarx

  • Bay Watcher
  • "?"
    • View Profile
Re: [39c] DF fortress mode freezes/crashes computer upon saving
« Reply #4 on: July 18, 2008, 08:09:48 pm »

And a third time.  This time it froze (like in the first case) instead of resetting (like the second).  Hopefully being able to replicate it like this means I'm closing in on the bug...

Log data
Code: [Select]
** Loading Fortress **
Tulon Eseshmafol, Farmer cancels Brew Drink: Needs distillable item.
x2
x3
x4
Šzum Kosothstettad, Farmer cancels Brew Drink: Needs distillable item.
x2
At”r Rig•thmshos has become a Recruit.
At”r Rig•thmshos has become a Engraver.
Monom Adilul†b, Peasant cancels Store Item in Stockpile: Interrupted by Two-humped Camel.
Brew Drink (20) has been completed.
Sibrek Regmasos, Soap Maker cancels Construct green glass Table: Needs sand-bearing item.
Rith Unibrig•th, Glassmaker cancels Construct green glass Blocks: Needs sand-bearing item.
Rith Unibrig•th, Glassmaker cancels Make green glass Goblet: Needs sand-bearing item.
Bomrek Shedimlogem, Peasant cancels Store Item in Stockpile: Job item misplaced.
Tulon Eseshmafol, Farmer cancels Tan a Hide: Needs unrotten raw hide.
Shorast Regsesh, Miner cancels Construct Bed: Job item lost or destroyed.
Tulon Eseshmafol, Farmer cancels Store Item in Stockpile: Job item misplaced.
A section of the cavern has collapsed!
Shorast Regsesh, Miner cancels Construct Bed: Unconscious.
Mafol Unibzafal, Fish Dissector cancels Prepare a Raw Fish: Needs unrotten raw fish.
Bomrek Shedimlogem has become a Planter.
** Loading Fortress **
Zasit Bimkun, Lye Maker cancels Store Item in Barrel: Job item misplaced.
Sibrek Regmasos, Soap Maker is more experienced.
Mafol Unibzafal, Fish Dissector cancels Prepare a Raw Fish: Needs unrotten raw fish.
Nil Kastudib, Butcher cancels Butcher an Animal: Needs butcherable unrotten nearby item.
Šzum Kosothstettad, Farmer cancels Render Fat: Needs unrotten fat.
Deduk Medtobanriz, Craftsdwarf is more experienced.
Zasit Bimkun, Lye Maker cancels Construct green glass Blocks: Needs sand-bearing item.
Shorast Regsesh, Miner cancels Construct green glass Blocks: Needs sand-bearing item.
Digging designation cancelled: warm stone located.
x2
x3
x4
x5
x6
x7
x8
x9
x10
x11
x12
x13
x14
x15
Šzum Kosothstettad, Farmer cancels Render Fat: Needs unrotten fat.
Digging designation cancelled: warm stone located.
x2
Mosus Dod¢katul, Miner is more experienced.
It is now summer.
Digging designation cancelled: warm stone located.
Mafol Unibzafal, Fish Dissector cancels Prepare a Raw Fish: Needs unrotten raw fish.
Sibrek Nˆcikustuth, Glassmaker cancels Construct green glass Throne: Needs sand-bearing item.
Digging designation cancelled: warm stone located.
x2
x3
Shorast Regsesh, Miner is more experienced.
Digging designation cancelled: warm stone located.
x2
x3
x4
x5
x6
x7
x8
x9
x10
x11
x12
x13
x14
x15
x16
L•r ¢scerol, Herbalist is more experienced.
Digging designation cancelled: warm stone located.
x2
x3
x4
x5
x6
x7
Lorbam Cattensterus, Dyer cancels Construct silk Bag: Needs silk cloth.
Digging designation cancelled: warm stone located.
x2
x3
x4
x5
x6
x7
x8
x9
x10
x11
x12
x13
x14
x15
x16
Thief!  Protect the hoard from skulking filth!
Endok Oduriden has become a Marksdwarf.
Thief!  Protect the hoard from skulking filth!
Endok Oduriden, Marksdwarf is more experienced.
Endok Oduriden has become a Hunter.
Lorbam Cattensterus, Dyer is more experienced.
Digging designation cancelled: warm stone located.
Šzum Kosothstettad, Farmer cancels Prepare Lavish Meal: Job item lost or destroyed.
Thief!  Protect the hoard from skulking filth!
Mosus Dod¢katul has become a Recruit.
Tulon Tishakiden, Stonecrafter cancels Construct Building: Interrupted by Kobold Thief.
The dwarves suspended the construction of Wall.
Fath Kosothn‹ng, Peasant cancels Store Item in Stockpile: Interrupted by Kobold Thief.
Kogan Thimshurustuth, Cook cancels Dump Item: Job item misplaced.
Mosus Dod¢katul has become a Miner.
Mafol Unibzafal, Fish Dissector cancels Prepare a Raw Fish: Needs unrotten raw fish.
Fath Kosothn‹ng, Peasant cancels Store Item in Stockpile: Job item misplaced.
Bomrek Shedimlogem, Planter cancels Plant Seeds: Needs Rock nuts.
x2
Monom Adilul†b, Peasant cancels Store Item in Stockpile: Job item misplaced.
Tulon Eseshmafol, Farmer cancels Render Fat: Needs unrotten fat.
Snatcher!  Protect the children!
Deduk Medtobanriz has become a Recruit.
Šrith Rakustosod has become a Recruit.
Fath Kosothn‹ng, Peasant cancels Drink: Interrupted by Goblin Thief.
Shorast Regsesh, Miner cancels Remove Stairs/Ramps: Interrupted by Goblin Thief.
Šrith Rakustosod, Recruit cancels Drink: Interrupted by Goblin Thief.
L•r ¢scerol, Herbalist cancels Plant Seeds: Interrupted by Goblin Thief.
Fath Kosothn‹ng, Peasant cancels Drink: Interrupted by Goblin Thief.
Shorast Regsesh, Miner cancels Dig: Interrupted by Goblin Thief.
x2
Bomrek Shedimlogem, Planter cancels Collect Sand: Interrupted by Goblin Thief.
Zefon Arans†kzul, Ranger is more experienced.
Šrith Rakustosod has become a Animal Trainer.
Deduk Medtobanriz has become a Craftsdwarf.
Zefon Arans†kzul, Ranger cancels Return Kill: Interrupted by One-humped Camel.
Sibrek Nˆcikustuth, Glassmaker is more experienced.
Šzum Kosothstettad, Farmer cancels Plant Seeds: Needs Rock nuts.
x2
x3
x4
No error log data.  Interesting...

Also interesting: the /current folder has art_image-0.dat as well as world.sav in it this time.  The world.sav in /current is also only 80 kb smaller than world.sav in /region1.

I suspect it might be possible that alt-tabbing during a save might be the cause.  Let me check...
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: [39c] DF fortress mode freezes/crashes computer upon saving
« Reply #5 on: July 18, 2008, 10:21:43 pm »

Copying over just an old world.sav will desync the world from the rest of the files and more trouble can crop up.  The only thing that would really shed light on the situation is an early save that goes bad after running a bit, but that'll be difficult to come by.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Qmarx

  • Bay Watcher
  • "?"
    • View Profile
Re: [39c] DF fortress mode freezes/crashes computer upon saving
« Reply #6 on: July 18, 2008, 10:48:48 pm »

Copying over just an old world.sav will desync the world from the rest of the files and more trouble can crop up.  The only thing that would really shed light on the situation is an early save that goes bad after running a bit, but that'll be difficult to come by.

Hmm... unfortunately, I'm not entirely convinced I continued entirely from the backup, instead of the mixture (80-90% sure?).  I have the first autosave backup, so I'll just restart from there again, and see how it goes.

I'm not sure if this is a symptom or cause, but windows really disliked one of the glitched save files I kept in case you wanted it.  I got a dialog box telling me the file on disk was corrupted.  I ran chkdsk, of course, but I suppose it's possible that my HD just had a bad sector and it was a horrible coincidence... or perhaps the crash was bad enough for file corruption.


EDIT: Oh... I'm so embarrassed - I forgot to say this world was generated in 39b, then ported over.  That could be the issue.
DOUBLE EDIT: No it isn't.  Still freezing in 39c native worlds.
« Last Edit: July 22, 2008, 12:09:03 am by Qmarx »
Logged

Qmarx

  • Bay Watcher
  • "?"
    • View Profile
Re: [39c] DF fortress mode freezes/crashes computer upon saving
« Reply #7 on: July 23, 2008, 08:45:49 pm »

And... it's still doing it in 39d (albeit in a world generated in 39c) (just lost a fey immigrant leatherworker to it).  I did find out something that's potentially useful, however.  The crashes on saving are consistently in the "cleaning" stage of the save process (that is to say, every time I see it crash while saving, the window says it's cleaning).

Although I cannot reproduce the crash, I *do* have a save that was made within a minute before the crash happening.  The timeframe is very narrow - between a stockpile cancellation and a single quern mandate being finished, so it's possible you might be able to do something with it.
« Last Edit: July 23, 2008, 10:17:06 pm by Qmarx »
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: [39c] DF fortress mode freezes/crashes computer upon saving
« Reply #8 on: July 23, 2008, 09:57:49 pm »

What state is this world in?  Was an old world file copied in from elsewhere?  Was this a new world?  And you reload that save you have and it doesn't crash now?
Logged
The Toad, a Natural Resource:  Preserve yours today!

Qmarx

  • Bay Watcher
  • "?"
    • View Profile
Re: [39c] DF fortress mode freezes/crashes computer upon saving
« Reply #9 on: July 23, 2008, 10:12:33 pm »

It's a world generated in 39c and copied into 39d after about two seasons.  Reloading doesn't repeat the crash (it also doesn't repeat the fey mood, so the circumstances are different). 

I'm not sure what you mean about "state".  The save process never got to the point where anything was overwritten, so I have the save from extremely shortly before it crashed and burned.

I've only had two moods in 39 (39b and now 39d), and the game didn't complete saving after either of them.  If you like, I'll try forcing a mood with Dwarf Companion, and check to see if it will save then.



Forcing a mood (with DF companion), doesn't cause this to repeat.  Blecchk!
« Last Edit: July 24, 2008, 07:43:40 pm by Qmarx »
Logged