Create Fabric

Create Fabric

7M Downloads

Belt crash from empty item stack

dakiba opened this issue ยท 7 comments

commented

Describe the Bug

We face on our Server at the moment a crash in a specific region.
I was able to insulate the region and was able to load it in a singleplayer world without any another mod.

Reproduction Steps

  1. Download the Save or the Prismlauncher instance
  2. Load the CrashBelts world
  3. If you spawn at the worldspawn, tp to tp @s -455 140 -1476
  4. Game should crash after loading some chunks.

Expected Result

Don't crash

Screenshots and Videos

No response

Crash Report or Log

https://gist.github.com/dakiba/c307a5c5d871b1906fd0ab33a5a95122

Operating System

Linux Server & Linux Desktop

Mod Version

0.5.1c

Minecraft Version

1.19.2

Other Mods

Additional Context

Tested with 1.20.1 and 0.5.1d too. Same crash.
I will try to find now the exact block that cause the issue and will update this ticket, if I find any future information.

commented

With Not Enough Crashes, there is a info more for this event:

Block Entity NBT: {Casing:"NONE",Controller:{X:-485,Y:141,Z:-1477},Covered:0b,Index:0,Inventory:{Items:[{Angle:190,InDirection:4,InSegment:11,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.009259259f,Pos:2.4958339f,PrevOffset:0.009259259f,PrevPos:3.0291672f},{Angle:34,InDirection:4,InSegment:7,Item:{Count:1b,id:"minecraft:andesite"},Offset:-0.13518518f,Pos:3.4958339f,PrevOffset:-0.13518517f,PrevPos:4.029167f},{Angle:20,InDirection:4,InSegment:8,Item:{Count:1b,id:"minecraft:andesite"},Offset:-0.14814815f,Pos:4.495834f,PrevOffset:-0.14814813f,PrevPos:5.029167f},{Angle:327,InDirection:4,InSegment:10,Item:{Count:1b,id:"minecraft:air"},Offset:0.13611111f,Pos:6.029167f,PrevOffset:0.13611111f,PrevPos:6.029167f},{Angle:290,InDirection:4,InSegment:9,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.101852834f,Pos:7.029167f,PrevOffset:0.10183714f,PrevPos:7.5625005f},{Angle:320,InDirection:4,InSegment:7,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.35f,Pos:7.5625f,PrevOffset:0.35f,PrevPos:7.5625f},{Angle:187,InDirection:4,InSegment:8,Item:{Count:1b,id:"minecraft:andesite"},Offset:-0.01641941f,Pos:8.029167f,PrevOffset:0.35f,PrevPos:8.5625f},{Angle:199,InDirection:4,InSegment:12,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.017592564f,Pos:9.029167f,PrevOffset:0.01759256f,PrevPos:9.095834f},{Angle:182,InDirection:4,InSegment:9,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.35f,Pos:9.5625f,PrevOffset:0.35f,PrevPos:9.5625f},{Angle:343,InDirection:4,InSegment:10,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.1641977f,Pos:10.095834f,PrevOffset:0.1641977f,PrevPos:10.095834f},{Angle:80,InDirection:4,InSegment:11,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.03133355f,Pos:11.095834f,PrevOffset:0.03133355f,PrevPos:11.095834f},{Angle:238,InDirection:4,InSegment:13,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.054177754f,Pos:12.095834f,PrevOffset:0.054177754f,PrevPos:12.095834f},{Angle:100,InDirection:4,InSegment:12,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.35f,Pos:12.5625f,PrevOffset:0.35f,PrevPos:12.5625f},{Angle:27,InDirection:4,InSegment:15,Item:{Count:1b,id:"minecraft:andesite"},Offset:-0.14169113f,Pos:13.295835f,PrevOffset:-0.14169113f,PrevPos:13.295835f},{Angle:158,InDirection:4,InSegment:13,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.35f,Pos:13.5625f,PrevOffset:0.35f,PrevPos:13.5625f},{Angle:175,InDirection:4,InSegment:14,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.16086504f,Pos:14.295835f,PrevOffset:0.16086504f,PrevPos:14.295835f},{Angle:79,InDirection:4,InSegment:16,Item:{Count:1b,id:"minecraft:andesite"},Offset:-0.094732784f,Pos:15.029168f,PrevOffset:-0.094732784f,PrevPos:15.029168f},{Angle:217,InDirection:4,InSegment:15,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.35f,Pos:15.5625f,PrevOffset:0.35f,PrevPos:15.5625f},{Angle:2,InDirection:4,InSegment:17,Item:{Count:1b,id:"minecraft:andesite"},Offset:-0.16622426f,Pos:16.02917f,PrevOffset:-0.16622426f,PrevPos:16.02917f},{Angle:113,InDirection:4,InSegment:16,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.35f,Pos:16.5625f,PrevOffset:0.35f,PrevPos:16.5625f},{Angle:264,InDirection:4,InSegment:17,Item:{Count:1b,id:"minecraft:andesite"},Offset:0.35f,Pos:17.5625f,PrevOffset:0.35f,PrevPos:17.5625f}],PositiveOrder:0b},IsController:1b,Length:20,Network:{Capacity:294912.0f,Id:-125344331591534L,Size:398,Stress:32256.0f},Source:{X:-486,Y:141,Z:-1477},Speed:-256.0f}

Formated JSON: https://gist.github.com/dakiba/c3364dd8f03f26ac46624a44691d12cf

commented

I am not sure what help you want. you have a borked entity. you can temporarily use the neruina mod (server-side) to auto-remove borked ticking entities.

commented

Oh thx! Didn't know about that mod! That helpes in the future, I just removed the block now with amulet. But that mod is a good way to get a stable server. Thx

commented

good. please consider closing this issue.

commented

huh? the mod neruina is just a workaround. The bug is still not fixed. If we place a belt at exact this position, the error still happens. I Don't think that this issue should be closed.

commented

can you show a screenshot of the area after the ticking block entity has been removed?

commented

This is weird.

  1. a belt shouldn't get into this state
  2. if it does, there's failsafe code.
    will have to debug the save, thanks for providing it