View Issue Details

IDProjectCategoryView StatusLast Update
0005980Dwarf FortressDwarf Mode -- Jobs, Haulingpublic2023-12-21 13:00
Reportercooky173 Assigned Touser11 
PrioritynormalSeveritycrashReproducibilityalways
Status acknowledgedResolutionopen 
PlatformWindows 7 
Product Version0.34.10 
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.

http://dffd.wimbli.com/file.php?id=6413
Steps To ReproduceOpen the save and wait a couple of seconds http://dffd.wimbli.com/file.php?id=6413
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, Save Included

Relationships

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

Activities

user6

2012-06-03 21:09

  ~0022834

Is this covered by 0005903?

cooky173

2012-06-03 21:28

reporter   ~0022837

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?

user6

2012-06-04 12:52

  ~0022848

I think you're correct.

Cobbler89

2012-06-13 17:10

reporter   ~0022985

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

2012-07-21 05:33

reporter   ~0023304

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

2012-07-25 05:54

reporter   ~0023354

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.

user6

2013-09-24 10:35

  ~0024138

0006375:0024137: http://dffd.wimbli.com/file.php?id=8002

smjjames

2013-10-06 11:48

reporter   ~0024159

Last edited: 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 user6 Note Added: 0022834
2012-06-03 21:09 user6 Relationship added related to 0005903
2012-06-03 21:10 user6 Tag Attached: AWAITING UPDATE
2012-06-03 21:10 user6 Tag Detached: AWAITING UPDATE
2012-06-03 21:28 cooky173 Note Added: 0022837
2012-06-04 12:52 user6 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-09-30 22:55 user11 Relationship added has duplicate 0006210
2013-09-24 10:34 user6 Relationship added has duplicate 0006375
2013-09-24 10:35 user6 Note Added: 0024138
2013-09-24 12:50 user6 Tag Attached: Save Included
2013-10-06 11:48 smjjames Note Added: 0024159
2013-10-06 11:55 smjjames Note Edited: 0024159
2014-04-06 11:12 user11 Assigned To => user11
2014-04-06 11:12 user11 Status new => acknowledged
2023-12-21 13:00 lethosor Tag Detached: reproducable