Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-4594

StackOverflowError caused by wrong placement of tall_grass

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • None
    • git-Spigot-f56e2e7-b634e05 (MC: 1.13.2)

      Linux 16.04.5 x64 with sufficient ram and hdd space

    • 1.13.2 git-Spigot-f56e2e7-b634e05
    • Yes

      A server could be crashed just by simply place tall_grass blocks in a certain way:

      1. Set the ground to some non-dirt block, e.g. /fill ~ ~-1 ~ ~100 ~-1 ~100

      2. Set the top layer to tall_grass, e.g. /fill ~ ~ ~ ~100 ~1 ~100 tall_grass

      3. Save /save-all

      4. Just break any of the tall_grass with your hand

      5. Boom! crashed

      6. Even you start the server again, it will still crash once you join the server, because the tall_grass are not been fully pop into seeds yet.

       

      server log:

      [04:59:04] [LoginProcessingThread/INFO]: UUID of player kjiang is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
      [04:59:05] [Server thread/INFO]: kjiang[/xx.xx.xx.xx:xxxxx] logged in with entity id 1041 at ([world]2227.8651337497163, 73.11732772564403, 738.6055491061122)
      [04:59:37] [Server thread/FATAL]: Error executing task
      java.util.concurrent.ExecutionException: java.lang.StackOverflowError
      	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_191]
      	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_191]
      	at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:200) [spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:896) [spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831) [spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
      Caused by: java.lang.StackOverflowError
      	at net.minecraft.server.v1_13_R2.World.a(World.java:2634) ~[spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.World.triggerEffect(World.java:2624) ~[spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.World.setAir(World.java:428) ~[spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.Block.a(Block.java:168) ~[spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.Block.a(Block.java:122) ~[spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.IBlockData.a(SourceFile:245) ~[spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.World.notifyAndUpdatePhysics(World.java:407) ~[spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.World.setTypeAndData(World.java:362) ~[spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.World.setAir(World.java:433) ~[spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.Block.a(Block.java:168) ~[spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	at net.minecraft.server.v1_13_R2.Block.a(Block.java:122) ~[spigot-vol5dev.jar:git-Spigot-f56e2e7-b634e05]
      	...
      	(same sections been duplicated multiple times)
      	...
      [05:00:01] [Server thread/INFO]: Stopping the server
      [05:00:01] [Server thread/INFO]: Stopping server
      

            Unassigned Unassigned
            kjiang kjiang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: