Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0009020Dwarf FortressDwarf Mode -- Jobs, Itemspublic2015-07-11 23:352019-01-08 10:19
schlake 
Loci 
normalcrashalways
resolvedunable to reproduce 
macmacos10.10.3
0.40.24 
 
0009020: Crafting metal armor with charcoal causes a crash
I have a 6 out of 6 crash rate attempting to produce metal armor with charcoal. It seems to be very reproducable to me. I use no tilesets, no memory editors. For my most recent test I used a "free metal bars" smelting mod to the raws to get to metal quicker. But the crash happens every time if I do it the old way too. I spent the entire day today crafting hives, battleaxes, and grates out of metal and charcoal. As soon as I queued up a set of breastplates the game went down.

I'm certain it is only with breastplates that I've been doing this. I don't know if any other kind of armor causes the crash.

The trigger is simple, queue up 10 metal breastplates with only charcoal available as a fuel. It may or may not be important, but I've always had a wood furnace with make charcoal on repeat when the crashes happen.
Make charcoal in a wood furnace on repeat
Queue up 10 metal breastplates in a metalsmiths forge
Crash!
I didn't do this on purpose, so I didn't save a save. I can surely make one if this isn't repeatable for you.
No tags attached.
Issue History
2015-07-11 23:35schlakeNew Issue
2015-07-11 23:58schlakeNote Added: 0032886
2015-07-12 06:15Knight OtuNote Added: 0032888
2015-07-12 06:15Knight OtuAssigned To => Knight Otu
2015-07-12 06:15Knight OtuStatusnew => needs feedback
2015-07-12 10:57DetrosNote Added: 0032894
2015-07-12 13:17schlakeNote Added: 0032898
2015-07-12 13:17schlakeStatusneeds feedback => assigned
2015-07-12 15:26DetrosNote Added: 0032899
2015-07-12 15:27DetrosNote Edited: 0032899bug_revision_view_page.php?bugnote_id=0032899#r13212
2015-07-14 16:57schlakeNote Added: 0032909
2015-07-14 23:49DetrosNote Added: 0032911
2015-11-27 09:15schlakeNote Added: 0033182
2015-11-27 11:33lethosorNote Added: 0033183
2015-11-27 11:33lethosorAssigned ToKnight Otu => lethosor
2015-11-27 11:33lethosorStatusassigned => needs feedback
2016-07-12 00:04schlakeNote Added: 0035607
2016-07-12 00:04schlakeStatusneeds feedback => assigned
2016-07-12 17:24LociNote Added: 0035611
2016-07-12 17:24LociAssigned Tolethosor => Loci
2019-01-08 10:19LociStatusassigned => resolved
2019-01-08 10:19LociResolutionopen => unable to reproduce

Notes
(0032886)
schlake   
2015-07-11 23:58   
Well, it doesn't crash at embark, only on more established forts. :(

I'm still 100% convinced that charcoal and metal armor is a crash. There must just be some other factor coming in as well.
(0032888)
Knight Otu   
2015-07-12 06:15   
Reminder sent to: schlake

Please upload a save that reliably crashes (whole region folder) to the DFFD ( dffd.bay12games.com/index.php ), and post a link to it here.
(0032894)
Detros   
2015-07-12 10:57   
This report is a continuation of crash report 0008959, "Designated some walls to be smoothed and it crashed". Schlake found out crashing was not caused by designation of smoothing, apparently.

@schlake: I think it may be better to just continue in one issue report and ask managers to change the title accordingly, next time, though.
(0032898)
schlake   
2015-07-12 13:17   
All my attempts to make a save that is simple have failed. Embarking with wood and blocks to set up armor making and charcoal fail to crash it. Even the previous save from my fortress that crashed on metal armor making didn't crash when I fired it up and tried again. It almost makes me think a long uptime is requires before the crash happens. Which would suck, because that implies that something else is really going wrong.
(0032899)
Detros   
2015-07-12 15:26   
(edited on: 2015-07-12 15:27)
Were you building any constructions (walls, stairs...) in the time of crash?
0.40.24 is well known (0008719) for crashing when tree parts collide with constructions. This bit of unpredictability may be caused by not you building walls on tree tiles but instead the other way: by trees sometimes spawning on the tiles your constructions is being built and sometimes on other tiles.

(0032909)
schlake   
2015-07-14 16:57   
I'm fairly certain I was not. I did try building a wall once and then designating the tree it was in to be cut down, and I did in fact crash as soon as that happened, so I believe people when they say that happens. But for the most part, I've abandoned above ground structures and don't build them anymore.

At this point, the best I can figure out is that if you order the crafting of metal armor with charcoal after several hours of uptime, it will crash. :/

But, I have that broken kind of curiosity that tells me I should keep poking this game until I can make it squeak every time I poke it. Or until a new version is released. Whichever comes first.
(0032911)
Detros   
2015-07-14 23:49   
Good. Then keep poking and let us know if you manage to get it squeak reliably.
(0033182)
schlake   
2015-11-27 09:15   
Ok, I was away for a while, but I'm back. I cannot make a save that crashes reliably. It seems to require a long uptime to be able to crash.

But, I think I have quantified it a little better. I no longer think it's the charcoal. It appears to be contention in cluttered workshops. I never made stockpiles for bars, and I just let the charcoal pile up. But in recent weeks I've had many crashes that all seem related to draining cluttered workshops.

Sadly, it still requires a long uptime to make it happen.
(0033183)
lethosor   
2015-11-27 11:33   
Are you using DFHack (particularly workflow)?
(0035607)
schlake   
2016-07-12 00:04   
I haven't had time to play in many months. I don't use dfhack, no. I don't use therapist either.

It appears that many versions of the game have come out since I last poked at things.

At the time, I was becoming more and more convinced it was a clutter issue that was only manifesting after a long uptime of playing. Notably, I'd never been bothering to make stockpiles for anything except food, and just let the stuff pile up. As soon as I started to make stockpiles all kinds of problems were solved.

Go ahead and nuke this bug in light of 64 bit.
(0035611)
Loci   
2016-07-12 17:24   
I normally play without stockpiles and I haven't encountered this bug, though I do try to limit production for FPS reasons. I'll try to test this particular scenario when I get some free time.