Fluidlogged API

Fluidlogged API

305k Downloads

Ticking entity crash

juraj-hrivnak opened this issue · 4 comments

commented

Describe the bug
A ticking entity crash appeared while flying and generating new chunks in creative mode.

To Reproduce

  1. Install following mods:

  2. Fastly fly around in creative mode.

  3. Crash?

Logs
Latest Log
Crash Report

commented

@jbredwards Some quick research suggests that fastutil maps are likely to throw ArrayIndexOutOfBoundsException if accessed from multiple threads, not sure how this could happen though?

commented

Perhaps the Chunk Batcher threads are manipulating the same map at the same time, maybe defensive copies of the maps should be made when a ChunkCache is created?

commented

Yes, that did work🎉
While using the same seed, the new world didn't crash using v1.8.0b

commented

@juraj-hrivnak Can you try this version, and see if it fixes your issue? I've done some refactoring that should address the problem in theory.

https://cdn.discordapp.com/attachments/847262784530022412/987859743324377098/Fluidlogged-API-v1.8.0b-mc1.12.2.jar