mojira.dev
MC-113251

Invalid sound files freeze the game

Whenever an invalid sound file is played, the game freezes, without any error message whatsoever.

Steps to reproduce:

  1. Download the attached resource pack.

  2. Enable it in-game.

  3. Use

    /playsound minecraft:totallyavalidsound.txt master @p
  4. Game freezes.

The game should abort and throw an error instead.

Related issues

Attachments

Comments

migrated
[media]
pokechu22

Additional debug info (17w06a):

migrated

(Unassigned)

Confirmed

audio, freeze, resource-pack

Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13a, Minecraft 17w13b, Minecraft 1.12, ..., Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w04b, Minecraft 19w05a

Minecraft 19w12a

Retrieved