Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005980Dwarf FortressDwarf Mode -- Jobs, Haulingpublic2012-06-02 20:302014-04-06 11:12
Assigned ToDwarfu 
PlatformWindows 7OSOS Version
Product Version0.34.10 
Target VersionFixed in Version 
Summary0005980: Crash when changing minecart stops around
DescriptionI extended a portion of track for route 2. In the hauling menu I then removed stop 1 from route 2 (the old end of the line), and created a stop (stop 3) at the new track end. This can be seen in the uploaded game. The minecart is currently sitting at what used to be stop 1.

The crash can be prevented by removing and then reassigning the minecart for route 2. [^]
Steps To ReproduceOpen the save and wait a couple of seconds [^]
Additional InformationI believe when playing around with getting the crash to stop, that I was able to get everything working correctly (using the method above), and then remove stop 3, and put a new stop in a section of track to the east of stop 3 without issue. Not 100% on this though.
Tagscrash, Fortress Mode, minecart, reproducable, Save Included
Attached Files

- Relationships
related to 0005903resolvedToady One Crash on promoting hauling stop past route title, past top entry 
has duplicate 0006210resolvedDwarfu Crash when deleting hauling route stop 
has duplicate 0006375resolvedFootkerchief Crash when removing a stop from a route 

-  Notes
Footkerchief (manager)
2012-06-03 21:09

Is this covered by 0005903?
cooky173 (reporter)
2012-06-03 21:28

It could be related but i don't think its the same. Unless deleting stop 1 is being treated the same as promoting stop 2. I believe my crash occurs when someone tries to do something with the cart...not instantly. I got the impression the other crash was instantaneous?
Footkerchief (manager)
2012-06-04 12:52

I think you're correct.
Cobbler89 (reporter)
2012-06-13 17:10

Sounds kinda similar but nonetheless unrelated to me, as the original reporter of 0005903. Mine was indeed instantaneous. In this case it sounds as though the minecart still has a pointer to a stop object that has been deallocated, or something of that nature. Whereas I think my crash occurs because the actual position of the stop is taken for how many times it may be promoted when the display position in the menu at the time happens to be higher up and thus possible to promote out of the display menu, which probably crashes it because it gets moved past the first entry in the display menu's list/array/whatever.

I could be wrong about either of those, though.
mostevil (reporter)
2012-07-21 05:33

I've also see thism removing a stop cause a crash when the next event on the route triggers. Also I just had a kea steal one of my lumber minecarts causing a crash straight after.
Telarin (reporter)
2012-07-25 05:54

I have gotten similar behavior (crashing) after deconstructing a track stop that was still listed in a route. I'm thinking Cobbler's hypothesis of the route holding a pointer to a now deallocated stop could very well be what is going on.
Footkerchief (manager)
2013-09-24 10:35

0006375:0024137: [^]
smjjames (reporter)
2013-10-06 11:48
edited on: 2013-10-06 11:55

I'm getting a crash that I thought was because I was assigning a cart to a route without a stop, but after testing with a fresh embark, it looks like it's this one, or at least that crash is closely related.

With the main save, I removed a route and stop a while ago, so I don't even remember which cart was on that route. I tried rearranging the carts around to different stops, didn't work, but when I made a stop on the route, it was fine, even rearranging carts was fine.

I was going to make a new bug report, but it seems closely related to this one because on the quick embark, I did put a cart on a route without a stop and it didn't crash, tried switching the two carts I had made, didn't crash either.

- Issue History
Date Modified Username Field Change
2012-06-02 20:30 cooky173 New Issue
2012-06-02 20:31 cooky173 Tag Attached: crash
2012-06-02 20:31 cooky173 Tag Attached: minecart
2012-06-02 20:31 cooky173 Tag Attached: reproducable
2012-06-02 20:31 cooky173 Tag Attached: Fortress Mode
2012-06-03 21:09 Footkerchief Note Added: 0022834
2012-06-03 21:09 Footkerchief Relationship added related to 0005903
2012-06-03 21:10 Footkerchief Tag Attached: AWAITING UPDATE
2012-06-03 21:10 Footkerchief Tag Detached: AWAITING UPDATE
2012-06-03 21:28 cooky173 Note Added: 0022837
2012-06-04 12:52 Footkerchief Note Added: 0022848
2012-06-13 17:10 Cobbler89 Note Added: 0022985
2012-07-21 05:33 mostevil Note Added: 0023304
2012-07-25 05:54 Telarin Note Added: 0023354
2012-07-25 05:54 Telarin Issue Monitored: Telarin
2012-09-30 22:55 Dwarfu Relationship added has duplicate 0006210
2012-09-30 22:55 Dwarfu Issue Monitored: balin
2013-09-24 10:34 Footkerchief Relationship added has duplicate 0006375
2013-09-24 10:35 Footkerchief Note Added: 0024138
2013-09-24 12:50 Footkerchief Tag Attached: Save Included
2013-10-06 11:48 smjjames Note Added: 0024159
2013-10-06 11:55 smjjames Note Edited: 0024159 View Revisions
2014-04-06 11:12 Dwarfu Assigned To => Dwarfu
2014-04-06 11:12 Dwarfu Status new => acknowledged

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker