Mojira Archive
MC-123194

data get command causes indexOutOfBounds and stackOverflow exceptions, client and server crashes

Trying to get data values for a player (myself) would crash the game and the server. This bug is present since 17w48a.

Exact Steps to reproduce:

  • On a multiplayer server run the command
  • Give yourself all recipes /recipe give @s *
  • Run /data get entity @s

Expected Result:
Obtain the data structure for the player

Actual Result:
Game crash with IndexOutOfBounds Exception followed by server crash with the following logs (also check attached crash logs from server and client):

[12:32:50] [Server Watchdog/FATAL]: A single server tick took 60.00 seconds (should be max 0.05)
[12:32:50] [Server Watchdog/FATAL]: Considering it to be crashed, server will forcibly shutdown.
[12:32:50] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 60618ms behind, skipping 1212 tick(s)
[12:32:51] [Server Watchdog/ERROR]: This crash report has been saved to: D:\Games\MCServerSnapshot\.\crash-reports\crash-2017-12-12_12.32.51-server.txt
[12:32:51] [Server Shutdown Thread/INFO]: Stopping server

Fixed

Mad Cat

[Mojang] Nathan Adams

2017-12-12, 08:50 PM

2018-08-23, 03:29 AM

2018-08-23, 03:29 AM

13

6

Community Consensus

crash

Minecraft 17w50a - Minecraft 1.13-pre4Minecraft 17w50a, Minecraft 18w11a, Minecraft 18w21b, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4

Minecraft 1.13.1