Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: 39f Zoom to suspended building causes crash  (Read 2115 times)

Daemon_TW

  • Escaped Lunatic
    • View Profile
39f Zoom to suspended building causes crash
« on: August 10, 2008, 11:31:22 pm »

Starting a new fortress in a Terrifying area.

Dwarves cancel wall building due to monster sighting.

Instead of hunting for the particular wall section, I go to the job menu to find the suspended job. Scroll down, highlight, press b. Game freezes, then crashes if you press any other button.

What other information should I provide? Thanks.
Logged

beredix

  • Escaped Lunatic
    • View Profile
Re: 39f Zoom to suspended building causes crash
« Reply #1 on: August 13, 2008, 07:29:56 am »

Might be the same type of crash as I got, noticed one of my peasants doing a construct building tried b - Zoom Building and DF crashed.
Just before I had a couple of ambushes so sent all the dwarfs below (with the corresponding cancelled jobs), so I might have had suspended jobs.
Running under wine in linux i got the following dump:
Spoiler (click to show/hide)
Logged

The Dark Bunny

  • Bay Watcher
    • View Profile
Re: 39f Zoom to suspended building causes crash
« Reply #2 on: August 13, 2008, 02:05:00 pm »

Had it happen to me, too.  Seems to only occur occasionally, and only on jobs suspended because of enemies.
Logged

Ryo

  • Bay Watcher
  • Store item in stockpile
    • View Profile
Re: 39f Zoom to suspended building causes crash
« Reply #3 on: August 13, 2008, 02:20:28 pm »

Exactly the same thing happened here. A cat saw a thief, then two masons saw it and suspended the building of two walls. I tried zooming the the first wall, but I was just greeted with "Dwarf Fortress has encountered an error and needs to close" before it could zoom.
Logged

The Dark Bunny

  • Bay Watcher
    • View Profile
Re: 39f Zoom to suspended building causes crash
« Reply #4 on: August 13, 2008, 07:28:10 pm »

Looks like it's not just suspended tasks.  I had it crash while trying to zoom to a stone stockpile.
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: 39f Zoom to suspended building causes crash
« Reply #5 on: August 15, 2008, 08:15:55 pm »

Does this reproduce in any saves or is this the sort of thing that develops during play but isn't maintained by saves?
Logged
The Toad, a Natural Resource:  Preserve yours today!

Starver

  • Bay Watcher
    • View Profile
Re: 39f Zoom to suspended building causes crash
« Reply #6 on: August 15, 2008, 09:49:29 pm »

Does this reproduce in any saves or is this the sort of thing that develops during play but isn't maintained by saves?
Not sure about across saved games, yet, but my experience is that it happens the /first/ time I try to Zoom-Bld on a Construct Building job on a world created with either 39e or 39f (couldn't seem to persuade 39e to recognise a 39f world, which I suspect is deliberate :)) and the only time it /didn't/ happen was when I'd previously tried a Zoom-Bld on Remove Building (the cart) to see if it was all (B) actions or not.  This /may/ have been an anomaly, but I couldn't get that game to crash, when all others did so far too easily.

I'll see if I can find time to investigate the cross-save situation, but I thought I'd pass on what I'd so far found.  E&OE.

Additional: Saving the game (prior to /any/ attempt to Zoom-Bld a Construct Building job item) seemed to have prevented a re-occurrence.  Tried all the things, in turn, across several backed up copies of one particular world, restored and retried, quit and start again.  Couldn't get it to crash.  Until I decided it was all Ok now and ended up continuing to play.  Oh dear.  "dwarfort.exe has encountered a problem and needs to close.  We are sorry for the inconvenience."  About half an hour in, there we go.  So it's not solved by that, and looks to be intermittent.

It wasn't a suspended building, and I'd successfully (B)ed to similar jobs beforehand.  I'll fiddle about with it later to see if I can find a replacement common denominator.

In case it's useful information, the system is WinXP Pro; Fully patched for everything available but the IE7 (and whatever IE7 would then require) that the auto-download is currently pestering me about installing.  (Using Firefox, I see no need.)
The 'Error signature' information in the (not being sent) Error Report dialogue contains "Offset: 000f54e7"
The 'Exception Information' deeper within that contains "Code: 0xc0000005, Flags: 0x00000000, Record: 0x0000000000000000, Address: 0x00000000004f54e7", within a typo or two, if that's the most relevant section (other than the memory dump bit which I'm not re-typing into here, but can try to find and copy the file with this info across to this machine to send if absolutely required, I suppose).
« Last Edit: August 16, 2008, 09:57:14 am by Starver »
Logged

kurtm

  • Escaped Lunatic
    • View Profile
Re: 39f Zoom to suspended building causes crash
« Reply #7 on: August 16, 2008, 07:56:28 pm »

I'm seeing it with 39f periodically too.  It's not specific to suspended buildings, but it is specific to zooming to building.  This last time it was from the units screen, and was my under construction trade depot.  But it doesn't persist across saves per se.  At least, I was playing a while before this happened, so no easy way of you to duplicate from my save...
Logged

Starver

  • Bay Watcher
    • View Profile
Re: 39f Zoom to suspended building causes crash
« Reply #8 on: August 19, 2008, 11:05:23 pm »

Downloaded 40a, generated a world and started playing it[1], idly starting on a bit of glacier for the (as I believe the 'kids of today' call it) "LULZ".  8)

But just now got the Zoom-Bld crash again.  Not the first tried (all instances from the (U)nit list).  Previously used on jobs regarding walls and farm plots, this one was almost certainly a wall, though maybe one of the up/down staircases I was building as well (stilts, Grand Plans, etc...).

In the XP Error Report this one had the nul address ("0x000...000") where the other had something else that I mentioned in my prior (amended) submission but I don't see any need to repeat.

F.Y.I.


(Also, I've seen remarks about the speed.  Definitely far faster to run.  Almost confusingly so, and I'll have to get used to the new rapidity.  Also I get the yellow "Here" cross replicating on moving around, as also seen remarked about.  Again, F.Y.I.)


[1] Two possible items for wishlist:
a) If one is (e)mbarking without spending all one's points, tell one,
b) If one is starting a game at 3AM, when one needs to get up in less than six hours, be awkward about it.

(Ok, so first may already be there and second isn't really serious.  Well, the consequences may be, but I'd just ignore that warning as if it were one about an aquifer. :D)
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: 39f Zoom to suspended building causes crash
« Reply #9 on: August 20, 2008, 07:18:50 am »

I just created a wooden wall with some harpies run around and when the jobs got suspended, I was able to zoom to them fine.  Does somebody have a save that's at least prone to this sort of behavior?  I'm going to have trouble reproducing it on my own.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Starver

  • Bay Watcher
    • View Profile
Re: 39f Zoom to suspended building causes crash
« Reply #10 on: August 21, 2008, 04:15:33 pm »

Whatever the error, it's still present in 40c.  All I can work out is that:

a) It can fail on the first ever attempted use, but that must be a fluke (I can get a good half hour or more gaming under my belt before it fails),

b) It doesn't actually have anything to do with suspension or items blocking the construction site.  Note that in the stages of the game where this all happens to me I rarely have to use the Job List view to toggle things and correct matters such as suspension of jobs, so I think every instance has been when using the zoom function from the Unit List (which I find far more useful to me during that period of time).  Thus it specifically excludes suspended building tasks in the first place (although it's also much easier to ensure that nothing /does/ get suspended, at least while wild animals and enemies are not impacting upon normal operations).

c) It applied equally to building walls or floors or possibly even up/down staircases, with wood or stone (though never imagined that to be a relevent distinction), but I've never noticed it happen for any Construct Building that is (frexample) a farm plot or workshop.  This could be just because (farm plots aside) I generally only build one each of a few of the workshops near the beginning, whereas prospective walls and floors can be quite numerous.  I have had it crash on attempting to zoom onto a Store Item In Stockpile target, on one occasion.  I have never had a problem with zooming to a creature, and I use that a lot (especially if I've been trying to avoid building zooming).

c.2) I've never had it crash on using the "q" option from the 'normal' passage-of-time mode, which brings you to the same mode ("Set building tasks/preferences"?) that the Zoom-Bld should, albeit cursor-aimed rather than zooming.

d) Saving of a world might have an effect (when it was failing on first use, consistently, saving the game before using Zoom-Bld the first time delayed the next crash upon re-opening way beyond the first ever use of Zoom-Bld) but I think that's just chance, not any real causality.

e) No world I created since 30f has escaped this problem (Pocket to maximum sized and parameter customised), and it has happened with an imported save from a pre-30f world.

f) It doesn't seem to depend on the rapidity of keystrokes.  I've had it freeze when cautiously pressing the "b" as well as the usual "(U)nit List/<cursor*N>/Zoom-(B)ld" combo as quickly as I will usually tap out.

g) The XP error reporting dialogue doesn't have any obvious useful points of common reference.



(And to follow up with the off-forum message, Toady, I did get a write-up (from world creation through to crash) of a 40a Pocket world generation that ended up exhibiting the problem.  Too long to bother people with on here, but it's on offer.  Or something from 40c if you're willing to wait, or whatever version we're up to by the time I come back from a long weekend away. ;))
Logged

Techhead

  • Bay Watcher
  • Former Minister of Technological Heads
    • View Profile
Re: 39f Zoom to suspended building causes crash
« Reply #11 on: August 29, 2008, 07:51:38 am »

I've had identical crashes with zoom to building from the unit screen.
I have to agree with almost everything Starver said. (Although I am on a Mac instead of XP)
However, I have also had it happen occasionally on workshop jobs.

I have two saves where I've had the crashes, but on one of them I had been on my second play session and I lost 2 weeks of early spring, all of mid-spring, and a bit of late spring. The other file has had tons of crashes anyway, so I might see about uploading that one.
Logged
Engineering Dwarves' unfortunate demises since '08
WHAT?  WE DEMAND OUR FREE THINGS NOW DESPITE THE HARDSHIPS IT MAY CAUSE IN YOUR LIFE
It's like you're all trying to outdo each other in sheer useless pedantry.

Ryo

  • Bay Watcher
  • Store item in stockpile
    • View Profile
Re: 39f Zoom to suspended building causes crash
« Reply #12 on: September 01, 2008, 04:19:25 pm »

It just crashed for me when I zoomed to a bedroom from the "View Rooms/Buildings" menu.
Logged