View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
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 | |
Platform | | OS | | OS Version | |
Product Version | 0.34.11 | |
Target Version | | 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 |
|
Attached Files | |
|