Being close to malfunctioning linked carts crashes server and perma stucks. Remove erroring entities doesn't work.
AylanJ123 opened this issue ยท 5 comments
Description of the Bug
Tried to link a tank cart with a chest cart. It crashed the server and if someone rejoins and loads the chunk, it crashes again.
To Reproduce
- Place a tank minecart
- Place a chest minecart
- Try to link with a crowbar
- Crash happens
Expected behavior
Linking both carts
Screenshots & Video
Can't take screenshots due to the natuer of not being able to be in the loaded chunk. Server perma hangs and watchdog kills it after 1 minute.
Logs & Environment
Can't recover much. But the log is a Stack overflow with hundreds of lines:
java.lang.StackOverflowError
at TRANSFORMER/[email protected]/mods.railcraft.world.entity.vehicle.RollingStockImpl.isFront(RollingStockImpl.java:443)
at TRANSFORMER/[email protected]/mods.railcraft.world.entity.vehicle.RollingStockImpl.validateTrainOwnership(RollingStockImpl.java:448)
at TRANSFORMER/[email protected]/mods.railcraft.world.entity.vehicle.RollingStockImpl.train(RollingStockImpl.java:460)
at TRANSFORMER/[email protected]/mods.railcraft.world.entity.vehicle.RollingStockImpl.train(RollingStockImpl.java:460)
....
Additional context
This is an SMP.
I can't reproduce this bug.
I created a server with only the railcraft reborn installed and by connecting the minecart tank and minecart chest nothing happens to me, everything is normal.
@PokeMaserJ @AylanJ123
Anyway, let's move this conversation here railcraft-reborn/railcraft#170
So this actually appears to be for Railcraft Reborn. Railcraft doesn't seem to have that format for the file names. (edit) in fact they have this exact issue already being worked on over there
Thanks a lot! How did you find out tho? If there is an open issue then mention it here so it links. Then we can close it as a duplicate.