Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Crash: marksdwarf can't find bolts after workshop is di  (Read 400 times)

RPB

  • Bay Watcher
    • View Profile
    • http://rapidshare.com/files/70864746/scardagger_winter_1059.zip.html
Crash: marksdwarf can't find bolts after workshop is di
« on: November 10, 2007, 09:36:00 pm »

I was very annoyed to find my game crashed immediately after the Autumn autosave this year. Naturally, it kept crashing instantly any time I tried to open either the save or the autobackup, but since it looked like it was running a few frames each time I kept reloading until I managed to pause it before the crash occured. Using the paused save I found that drafting every single dwarf in the fort, (including kicking all fortress guards out of the guard and re-drafting them into the army), would prevent the crash; otherwise it would crash after exactly 2 frames. Using trial and error I eventually managed to narrow things down to the exact dwarf that was causing the problem, a fortress guard with the job Shooting at Archery Range. Kicking him out of the guard and drafting him appears to be enough to stop the crash.

Looking around for possible causes of the crash, it appears that one of my craftsdwarves has just dismantled a workshop with several stacks of wooden bolts, scattering them around.

It's possible that the save is just starting to get corrupted, I've actually had a couple of random crashes lately (each time very early in the season, around the time traders/invaders usually show up maybe?) I think I reloaded from the backup each time but I might have forgotten once.

Copy of the save:  http://rapidshare.com/files/68875867/Copy_of_region1-aut-1055.zip.html
The offending guardsdwarf is quite clearly labeled, and the map is saved with him roughly in the middle of the screen. The spot where the workshop just got dismantled is a bit south of him, just where the road-in-progress ends. (You can see the craftsdwarf who dismantled it standing there). The crash can be stopped by discharging him from the guard and activating him as regular military, although oddly enough if you simply make him a civilian or reinduct him into the guard the crash still happens.

[ November 10, 2007: Message edited by: RPB ]

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Crash: marksdwarf can't find bolts after workshop is di
« Reply #1 on: November 11, 2007, 08:18:00 pm »

Okay, I've downloaded the file and will look at it at some point.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Crash: marksdwarf can't find bolts after workshop is di
« Reply #2 on: November 12, 2007, 10:34:00 pm »

All right, this crash (caused by something weird going on with an archery training item) has been fixed for the next version.  The save should be fine.
Logged
The Toad, a Natural Resource:  Preserve yours today!