Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011085Dwarf FortressDwarf Mode -- Tradepublic2019-04-19 12:542019-04-21 00:54
Assigned To 
PlatformPCOSwindowsOS Version7
Product Version0.44.12 
Target VersionFixed in Version 
Summary0011085: Crash when merchants leave map
DescriptionDuring or soon after the merchants leave the map the game crashes. I have tried killing them with DFHack right before they leave and it still crashes. i know it is related to the merchants, since if I wall them in the crash doesn't happen, and then it does when I release them and they try to leave.
Steps To Reproducelink to save: [^]
TagsNo tags attached.
Attached Files

- Relationships
child of 0011014confirmedLoci Reproducible crash from corrupted military equipment lists 

-  Notes
risusinf (reporter)
2019-04-19 21:23
edited on: 2019-04-19 21:23

Quick test under intel i7 lin64 via ssh:

- crashes in ~ 20 sec
- multiple raids logged
- military equipment busted
- on 2nd try after disbanding all squads game runs for well over a minute

So 0011014

I've already seen this scenario with crashing upon caravan leaving (or dying apparently), probably the event triggers some function, like newly traded stuff becomes available and someone trying to change clothing, i dunno.

Also animals on level zero spell ERROR, lol.

Galap (reporter)
2019-04-20 20:37

Lol I didn't notice about the animals. that's really funny.

Also thanks, disbanding the military has fixed it. I've reformed them with a functional (albeit tedious) workaround that I'll also post in the main thread.

The workaround I've found that works so far is to assign every soldier specific items instead of anything generic, and have it replace clothing, exact matches. Basically If you tell them exactly what to equip, they will never try to put on the bugged items.
risusinf (reporter)
2019-04-20 22:01

Hmm, seems like that should do it. Good thinking, thank you. Maybe you can set specific items only for bugged categories and leave the rest generic, just to make it less tedious.
risusinf (reporter)
2019-04-21 00:54
edited on: 2019-04-21 01:29

Okay, i did another quick test to see if your suggestion stands. Here's what i did:

- disbanded all squads before unpausing
- let it run for a minute so all merchants are out
- military screen -> militia commander, create squad (there will be one unit), no uniform -> equip, replace clothing, exact matches -> armor, specific armor (list is corrupted), scrolling down to pick up *steel mail shirt*, enter -> escape out -> segfault

The workaround might seem to work, as we know these segfaults are quite elusive depending on platform. I don't have Windows installed currently, so i can't check.

Also there is a random pair of (large bronze chain leggings) in the middle of "specific armor" list, wtf.


Well, for me it even crashes when i create one peasant squad with no equipment whatsoever, disabled carrying food/drinks and completely cleared schedule.

- Issue History
Date Modified Username Field Change
2019-04-19 12:54 Galap New Issue
2019-04-19 21:23 risusinf Note Added: 0039337
2019-04-19 21:23 risusinf Note Edited: 0039337 View Revisions
2019-04-20 09:23 Loci Relationship added child of 0011014
2019-04-20 20:37 Galap Note Added: 0039340
2019-04-20 22:01 risusinf Note Added: 0039341
2019-04-21 00:54 risusinf Note Added: 0039343
2019-04-21 01:16 risusinf Note Edited: 0039343 View Revisions
2019-04-21 01:29 risusinf Note Edited: 0039343 View Revisions

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker