Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0009372Dwarf FortressDwarf Mode -- Tradepublic2015-12-16 20:112015-12-18 14:26
Ogg the Blinky Sock 
Dwarfu 
normalcrashalways
resolvedduplicate 
Apple iMac (27-inch, Late 2012)Apple OS X Yosemite10.10.5
0.42.03 
 
0009372: Eventual crash upon use of trading interface [saved file with reproducible bug]
This is a saved file where the trader is at the Trade Depot ready to go. My game had crashed twice when it reached this point before I finally saved the file right before and started experimenting. I am hoping that it helps with the debugging process.

One caveat: DF was upgraded from 0.42.02 from 0.42.03 after this game was started. If this is a possible source of file corruption that could cause these symptoms, then this bug report might be less valuable than one might wish.
Begin trading and experiment.
Entering and leaving the trading session quickly does not suffice to trigger a crash.

Scrolling through or selecting trade items from the Mountainhomes does not trigger a crash.

Scrolling through and selecting items the fortress is offering to trade will eventually trigger a crash by itself, but not quickly.

Performing a trivial trade exchanging very cheap items for a single cheap item from the Mountainhomes does not trigger a crash.

However, after that trade was performed, attempting to exit the trading session did trigger a crash.

Performing a trade exchanging several Finished Goods for a pricy Mountainhome item triggered a crash.

Exchanging several mid-priced Mountainhome items for a barrel of Prepared Food triggered the crash.

No tags attached.
duplicate of 0009341resolved Toady One Crash During Trading, Trade Depot (mug/goblet related) 
has duplicate 0009377resolved Dwarfu Eventual crash upon use of trading interface [saved file with reproducible bug] 
Issue History
2015-12-16 20:11Ogg the Blinky SockNew Issue
2015-12-16 20:11Ogg the Blinky SockIssue Monitored: Ogg the Blinky Sock
2015-12-16 20:11Ogg the Blinky SockIssue End Monitor: Ogg the Blinky Sock
2015-12-16 20:15Ogg the Blinky SockNote Added: 0033982
2015-12-17 15:07DwarfuRelationship addedhas duplicate 0009377
2015-12-17 15:08DwarfuView Statusprivate => public
2015-12-17 15:08DwarfuNote Added: 0034001
2015-12-17 15:08DwarfuAssigned To => Dwarfu
2015-12-17 15:08DwarfuStatusnew => needs feedback
2015-12-17 19:39Ogg the Blinky SockNote Added: 0034005
2015-12-17 19:39Ogg the Blinky SockStatusneeds feedback => assigned
2015-12-18 01:33DetrosNote Added: 0034008
2015-12-18 14:26DwarfuRelationship addedduplicate of 0009341
2015-12-18 14:26DwarfuStatusassigned => resolved
2015-12-18 14:26DwarfuResolutionopen => duplicate

Notes
(0033982)
Ogg the Blinky Sock   
2015-12-16 20:15   
Uploaded save is at

http://dffd.bay12games.com/download.php?id=11501&f=trading_crash.zip [^]

SHA-256: 53f107f19a32171dae67623738c1702010b2e1111d68b997a9df7e6030e79cc3
(0034001)
Dwarfu   
2015-12-17 15:08   
Reminder sent to: Ogg the Blinky Sock

Were you by chance trading mugs/goblets and if so, does it not crash if you don't have those at the depot?
(0034005)
Ogg the Blinky Sock   
2015-12-17 19:39   
I can confirm that it does not crash if there are no finished goods at the depot. I am sure there were probably mugs amongst the items being traded.

I will test further during a later trading season and see if I can verify that presence/absence of mugs is in fact the crucial deciding factor, but for now, I guess the odds are high of this being a duplicate bug report, given your question.
(0034008)
Detros   
2015-12-18 01:33   
Thanks, in such case it would be 0009341, "Crash During Trading, Trade Depot (mug/goblet related)".