Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0006466Dwarf FortressTechnical -- Generalpublic2014-04-17 02:212014-04-18 08:27
WieselTrupp 
Dwarfu 
normalcrashalways
resolvedno change required 
PCWindows 764bit
0.34.11 
 
0006466: Crash from invalid melt designations
My game crashed on my 160+ dwarfes save seconds after loading and unpausing the save.

I dont know the cause of this issue but it crashed in the cleaning phase of saving the game, like the report 0000277.
Savegame:
( http://dffd.wimbli.com/file.php?id=8528 [^] )

Load save
Unpause game
Wait for up to 60 seconds
The version i Created the World and the fortress with:
DF 34.11
DFHack 34.11 r3
Phoebus gfx Pack

Crash can be reproduced without DFHack, on a fresh install.
No tags attached.
related to 0006431acknowledged Footkerchief Crash when mass-melting items via stocks menu 
Issue History
2014-04-17 02:21WieselTruppNew Issue
2014-04-17 05:51QuietustNote Added: 0024703
2014-04-17 05:57agNote Added: 0024704
2014-04-17 09:05WieselTruppNote Added: 0024705
2014-04-17 10:16DwarfuNote Added: 0024706
2014-04-17 10:16DwarfuStatusnew => resolved
2014-04-17 10:16DwarfuResolutionopen => no change required
2014-04-17 10:16DwarfuAssigned To => Dwarfu
2014-04-18 08:27FootkerchiefSummaryCrash in Fortress Mode, unknown cause => Crash from invalid melt designations
2014-04-18 08:28FootkerchiefRelationship addedrelated to 0006431

Notes
(0024703)
Quietust   
2014-04-17 05:51   
Did you, at any point, use Falconne's "Stocks" DFHack plugin to automatically melt items in certain stockpiles?
(0024704)
ag   
2014-04-17 05:57   
The problem with your save is that the list of items to melt must be sorted by item ID, but it isn't. To fix the save, run this dfhack command immediately after loading:

:lua require('utils').sort_vector(df.global.world.items.other.ANY_MELT_DESIGNATED,'id')
(0024705)
WieselTrupp   
2014-04-17 09:05   
Thanks to both of you, the mentioned command fixed this particular issue for me.
unfortunatly, it now chrashed about half an hour into the game, most probably because of one of the other DFHack plugins.

Are there other plugins i should disable because of known crash issues like this?
should i maybe disable DFHack altogether? it would be a shame, i really like the search and stockpile features.

i do use auto trade too, the last crash occured after the dwarfs hauled multiple bins back into the auto trade stockpile when the caravan left.
(0024706)
Dwarfu   
2014-04-17 10:16   
It is best to sort it with the authors of any mod/utility you use before reporting a bug on the tracker.