Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0009801Dwarf FortressDwarf Mode -- Interface, Stockspublic2016-05-28 09:132016-06-05 14:04
Larix2 
Toady One 
normalcrashalways
resolvedfixed 
WindowsXP 32Bit
0.43.03 
0.43.04 
0009801: Random entry appended to bottom of stocks screen, can result in crash
Duplicate of actual stock category appended to the bottom of the stocks list, _or_ a potentially harmful "items" category which can cause crashes.
"z", select "stocks", look at the end of the list. Good luck.
The normal stock listing always shows an extra entry at the bottom of the list, just below "codices". This can be anything from "armor" to "anvils" to "cloth" etc., giving a faithful duplicate of the category's status. I can see no pattern which category is duplicated.

More problematically, the entry can also be "items" with an apparently random, often ridiculously large (many million) number, and i've twice experienced crashes when trying to open the stocks screen or selecting the faulty entry. It may access uninitialised or incompatible memory.

The behaviour shows up in both .43.03 regions i've created.
No tags attached.
related to 0009594confirmed Dwarfu Merchants die/get frightened/flee, dump trade goods, but still own them (shows on stocks screen, can't interact with) 
related to 0009593acknowledged lethosor Invisible caravan arrives, no units listed on units list, trade impossible. 
has duplicate 0010109resolved Knight Otu Stocks screen messed up, might crash when viewed 
Issue History
2016-05-28 09:13Larix2New Issue
2016-05-28 09:52DwarfuIssue Monitored: Larix
2016-05-28 09:52DwarfuNote Added: 0035315
2016-05-28 09:52DwarfuAssigned To => Dwarfu
2016-05-28 09:52DwarfuStatusnew => needs feedback
2016-05-28 09:52DwarfuRelationship addedrelated to 0009594
2016-05-28 09:53DwarfuRelationship addedrelated to 0009593
2016-05-28 12:27Larix2Note Added: 0035321
2016-05-28 12:27Larix2Statusneeds feedback => assigned
2016-05-28 12:59Dame de la LicorneNote Added: 0035322
2016-05-28 13:00Dame de la LicorneNote Edited: 0035322bug_revision_view_page.php?bugnote_id=0035322#r14242
2016-06-05 14:04Toady OneNote Added: 0035351
2016-06-05 14:04Toady OneStatusassigned => resolved
2016-06-05 14:04Toady OneFixed in Version => Next Version
2016-06-05 14:04Toady OneResolutionopen => fixed
2016-06-05 14:04Toady OneAssigned ToDwarfu => Toady One
2017-01-10 13:56Knight OtuRelationship addedhas duplicate 0010109

Notes
(0035315)
Dwarfu   
2016-05-28 09:52   
Reminder sent to: Larix

Post a link to your save that demonstrates this uploaded to http://dffd.bay12games.com/. [^]
(0035321)
Larix2   
2016-05-28 12:27   
If it's not evidently visible on other Windows installations, a save wouldn't demonstrate a thing.

Two example pictures:

http://i.imgur.com/irWX5sN.png [^]
http://i.imgur.com/vMSlzBo.png [^]

Note "anvils" and "armor" just below "codices". In this case, the numbers given are correct. On a fresh embark, i got "items" with a number of "1000000000?" (brown), after saving and restoring i got "items", "400?" brown, "100000000?" or so red. Game didn't crash.

Issue is unrelated to the given tickets, it's flaky behaviour of the basic interface.
(0035322)
Dame de la Licorne   
2016-05-28 12:59   
(edited on: 2016-05-28 13:00)
I can confirm that this also happens on the OSX 43.03 vanilla version. However, for me the duplicate entry sometimes changes when I open the stocks screen (the first time, it listed items, the second and third, bars, now it's back to items again).

I can't confirm the crash (no bookkeeper at this point).

(0035351)
Toady One   
2016-06-05 14:04   
The new branch type for making stone axes was causing trouble. It'll be fixed for next time.