View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006368 | Dwarf Fortress | Dwarf Mode -- Jobs, Farming/Farmer's Workshop | public | 2013-08-26 05:32 | 2014-08-07 13:46 |
Reporter | ag | Assigned To | Toady One | ||
Priority | normal | Severity | crash | Reproducibility | random |
Status | resolved | Resolution | fixed | ||
Product Version | 0.34.11 | ||||
Fixed in Version | 0.40.07 | ||||
Summary | 0006368: Crash if bees die in a hive with yet ungathered products. | ||||
Description | If a hive with ungathered products and gather enabled loses its bee vermin item, it will access an unitialized pointer when its gather job check timer fires (once per 1200 frames), which will result in crash unless the value happens to point to valid memory. | ||||
Steps To Reproduce | 1. Build a hive, install colony, wait for products to appear. Enable gather. 2. Set the bees on fire without destroying the hive or products. As an example, I achieved this by spawning a unit of magma with dfhack, and then removing it a few frames later. A similar effect is certainly possible to achieve without any hacks (although it's a lot more difficult), and the bees may also be slowly damaged by slightly out of bounds temperature. 3. Once the bees wear out and are destroyed, the fault will happen within an in-game day. | ||||
Additional Information | Originally discovered in a save with a purportedly dfhack bug: http://www.bay12forums.com/smf/index.php?topic=91166.msg4438141#msg4438141 Investigation of the code at crash site showed however that the cause is missing bee items, and removing the plugin probably just somehow affects the random uninitialized pointer value. | ||||
Tags | binary patch, Save Included | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-08-26 05:32 | ag | New Issue | |
2013-09-22 17:21 |
|
Tag Attached: Save Included | |
2014-08-07 11:02 | lethosor | Assigned To | => lethosor |
2014-08-07 11:02 | lethosor | Status | new => confirmed |
2014-08-07 11:22 |
|
Tag Attached: binary patch | |
2014-08-07 13:32 | Toady One | Status | confirmed => resolved |
2014-08-07 13:32 | Toady One | Fixed in Version | => Next Version |
2014-08-07 13:32 | Toady One | Resolution | open => fixed |
2014-08-07 13:32 | Toady One | Assigned To | lethosor => Toady One |