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

Sound system warning messages are spamming the system log

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.18 Pre-release 5
    • 1.15.2, 20w14a, 1.16.2, 1.16.4, 20w51a, 1.16.5 Release Candidate 1, 21w11a, 1.17, 1.17.1 Pre-release 1, 1.17.1 Release Candidate 1, 1.17.1, 21w37a, 21w39a, 21w40a, 21w42a, 21w44a
    • None
    • Confirmed
    • Performance, Sound
    • Important

    Description

      The bug

      In the situation of many sounds produced at the same time, there is a high chance of warnings form the sound system to spam the game error log. It can also cause client to freeze when the error is spammed.

      [02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
      [02:06:26] [main/WARN]: Failed to create new sound handle
      [02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
      [02:06:26] [main/WARN]: Failed to create new sound handle
      [02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
      [02:06:26] [main/WARN]: Failed to create new sound handle
      [02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
      [02:06:26] [main/WARN]: Failed to create new sound handle
      [02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
      [02:06:26] [main/WARN]: Failed to create new sound handle
      [02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
      [02:06:26] [main/WARN]: Failed to create new sound handle
      [02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
      [02:06:26] [main/WARN]: Failed to create new sound handle
      [02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
      ...
      

      Attachments

        Issue Links

          Activity

            People

              gnembon [Mojang] Gnembon
              gnembon [Mojang] Gnembon
              Votes:
              43 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: