Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Belt crash from empty item stack #1246

Closed
dakiba opened this issue Dec 26, 2023 · 7 comments
Closed

Belt crash from empty item stack #1246

dakiba opened this issue Dec 26, 2023 · 7 comments
Labels
type: bug Issue where something isn't working

Comments

@dakiba
Copy link

dakiba commented Dec 26, 2023

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.

@dakiba dakiba added the type: bug Issue where something isn't working label Dec 26, 2023
@github-actions github-actions bot added the 1.19 label Dec 26, 2023
@dakiba
Copy link
Author

dakiba commented Dec 26, 2023

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

@drwoops
Copy link

drwoops commented Dec 26, 2023

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.

@dakiba
Copy link
Author

dakiba commented Dec 26, 2023

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

@drwoops
Copy link

drwoops commented Dec 26, 2023

good. please consider closing this issue.

@dakiba
Copy link
Author

dakiba commented Dec 26, 2023

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.

@drwoops
Copy link

drwoops commented Dec 26, 2023

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

@TropheusJ
Copy link
Member

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

@TropheusJ TropheusJ changed the title Transfer variant may not be blank. Belt crash from empty item stack Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issue where something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants