Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-116669

Exploding TNT minecarts and ender crystals can cause StackOverflow

XMLWordPrintable

    • Confirmed

      The bug

      Many exploding tnt minecarts and / or ender crystals can cause a StackOverflowError. The reason for this is that they, unlike tnt, explode instantaneously even if they are ignited by other explosions. This means when one tnt minecart or ender crystal explodes, the explosion deals damage to the next tnt minecart or ender crystal causing it to explode as well and so on.

      How to reproduce

      1. Place a tnt minecart
      2. Duplicate the amount of tnt minecarts up to about 2048 (number can be seen on the debug screen (F3) next to "E:")
        /execute @e[type=tnt_minecart] ~ ~ ~ summon tnt_minecart
        
      3. Cause one tnt minecart to explode
        /entitydata @e[type=tnt_minecart,c=1] {TNTFuse:0}
        

        1. crash-2017-04-26_18.50.37-server.txt
          54 kB
          Black Hole
        2. crash-2017-04-27_16.08.55-server.txt
          54 kB
          Black Hole
        3. latest.log
          44 kB
          Alawnely

            jeb [Mojang] Jeb (Jens Bergensten)
            black-hole Black Hole
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: