TerraFirmaCraft

TerraFirmaCraft

2M Downloads

Server Crash due to recursive world-gen (Stack Overflow Error)

6TELOIV opened this issue ยท 3 comments

commented

Describe the bug
Make sure to include:

  1. What did you expect to happen?
    World gen to happen normally
  2. What actually happened instead (i.e. what was the bug)
    Server Crashes
  3. If it was a crash, upload the full log file (latest.log)
    latest.log overwritten by server restart, see attached
    crash-2020-08-08_19.30.16-server.txt
    2020-08-08-3.log.gz
  4. If they would help to explain the issue, include screenshots
    N/A

To Reproduce
Attention to detail is important!

  1. Explore the world (render distance may be relevant, set to 16 on client, 10 on server)
  2. Server may occasionally crash

Meta Info

  • TFC Version: 1.5.5.155
  • Were any other mods included? Can you reproduce it without these other mods? Happens on TFC Reloaded 2 Modpack, many mods present
  • If necessary, what other mods (including versions) MUST be present to experience the bug? Unknown
commented

Looking at the crash report, it seems to be an issue with leaf decay rolling over between chunks/trees. This same crash has happened a few times to me, always in dense forest-type areas. Other crash-logs of with the same cause (happened in different parts of the world)
crash-2020-08-08_18.28.54-server.txt
crash-2020-08-08_18.21.43-server.txt

commented

Server attached at google drive link. Crash happens when I'm at the coords -1456, 144, 1102.
https://drive.google.com/file/d/1wP6ziwQNe0-iow6ouJGawvPsRnmSaAsZ/view?usp=sharing

commented

To add to this. I've not seen any instances of this occurring naturally, but it is very easy to reproduce this by running the command
/fill ~ ~ ~ ~30 ~30 ~30 tfc:wood/leaves/acacia 1

The resolution: leaves should schedule themselves to break on the next tick. Ideally would use the same implementation as vanilla scaffolding does in 1.16 (but that may not be possible due to MC infrastructure changes)