|Anonymous | Login | Signup for a new account||2018-03-18 22:45 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0010419||Dwarf Fortress||Vegetation||public||2017-12-05 02:05||2017-12-06 22:22|
|Platform||OS||Arch Linux||OS Version|
|Target Version||Fixed in Version|
|Summary||0010419: [HEAVY_BRANCH_RADIUS] and [BRANCH_RADIUS] cause crashes with moderate values|
|Description||I tried to create a modded tree with [HEAVY_BRANCH_RADIUS:4] and [BRANCH_RADIUS:6] - basing it off the apple tree raw file so I knew my base was solid. I was getting random crashes at the "Cleaning game objects" stage of saving - the saves stayed intact, but the game window would close, and information about failed memory freeing (in various forms depending on the crash) would be output to stderr. Generated a lot of worlds to make sure it was my tree causing the crash, along with removing the raw file to confirm. After another set of generated worlds and some tweaking, I narrowed it down to both of those lines that seem to cause issues. |
The crash, additionally, only seems to happen that one time in fortress mode, with no ill effects, but makes adventure mode all but unusable.
|Steps To Reproduce||1. Create a custom tree raw with the following lines:|
2. Generate a new world with the tree on the map.
3. Embark on a tile that is confirmed to have the custom tree (using a custom tile, for example)
4. Save the embark once it loads, and wait for the crash.
|Tags||No tags attached.|
Reproduced crash in v0.44.02 by modding larch trees with given values.
It's worth noting that the largest value in vanilla is 3 (for saguaros), with every other plant 0-2. Applying your values to larch trees resulted in comically-deformed trees with solid blocks of heavy branches--perhaps the wiki's explanation of the 'BRANCH_RADIUS' tokens is ... inaccurate.
|Suffice to say, I was really just throwing values against the wall to see what stuck, and encountered the crash in my quest to make weirdly shaped trees. The wiki's explanation is cryptic, to say the least, and indeed doesn't seem to convey the nature of the token's purpose...|
edited on: 2017-12-07 16:58
Also worth noting is that I seem to have hit the upper limit of a tree that _doesn't_ immediately crash the game on embark - [BRANCH_RADIUS:7] seems to insta-crash with a similar memory freeing error.
EDIT: Additionally, if you copy/modify the saguaro raws to make [HEAVY_BRANCH_RADIUS:7], you get no such insta-crash, but the same crash upon saving.
|2017-12-05 02:05||CalmBit||New Issue|
|2017-12-06 13:36||Loci||Note Added: 0037241|
|2017-12-06 13:36||Loci||Assigned To||=> Loci|
|2017-12-06 13:36||Loci||Status||new => acknowledged|
|2017-12-06 22:09||CalmBit||Note Added: 0037253|
|2017-12-06 22:22||CalmBit||Note Added: 0037254|
|2017-12-07 16:58||CalmBit||Note Edited: 0037254||View Revisions|
|Copyright © 2000 - 2010 MantisBT Group|