Mekanism

Mekanism

111M Downloads

Crash with Digital miner

Darkere opened this issue ยท 3 comments

commented

Issue description:

Crashed with digital miner. I was breaking trees with treecapitator. From the crashlog what might be breaking is the falling snow from Snow Real Magic?

Server seems fine

Steps to reproduce:

  1. Set up digital miner
  2. break tree causing snow to fall

Version (make sure you are on the latest version before reporting):

Forge: 30.0.41
Mekanism: Mekanism-1.15.1-9.9.3.394.jar
Pack: Randomly Added Mods 0.1.1

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

https://gist.github.com/Darkere/cf900c02480e325069b437389a5266eb

commented

I will look at this more later, but am mainly writing down my thoughts from looking briefly at it so that I remember.

I think this may have to do with when things like the miner (or other single block multiblocks aka things that use bounding blocks), go across ChunkRenderCaches (so probably also only on a server). Looking at ChunkRenderCache#getBlockState it does not seem to be all that safe of a call if the position is not in the range of blocks the cache is for.

commented

Made a small patch to "fix" this, so if it still happens in 9.9.5+ once 9.9.5 gets released let me know.

commented

Closing as 9.9.5 is now approved and on curseforge. Once again if you run into this again, do comment and I will reopen it, though I believe it shouldn't happen anymore