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

recursive sounds.json StackOverflowError crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.14.4, 19w40a
    • None
    • Unconfirmed
    • Crash

      When loading a resourcepack (either on startup or when choosing a resourcepack) containing the attached sounds.json, a StackOverflowError occurs and minecraft crashes.

      The attached sounds.json has been narrowed down to 15 lines. A bare-bones resource pack that only contains the sounds.json is also attached in zip format.

      This occurs for all versions starting from 19w06a to 19w40a(current), EXCEPT 19w07a and 19w08a.
      (19w07a has a StackOverflowError but does not crash due to catching the error?)
      (19w08a due to a bug in that version relating to sounds?)
      (Version checking was done by halving repeatedly to find the first version it first occurred in, not every version was checked, I may have missed other versions where it does not occur.)

      expected behavior:
      Vanilla cave sounds are loaded in addition to the resourcepack's ambient/cave/cave9 file. (if included)

      initially found bug from running this old resourcepack:
      https://www.curseforge.com/minecraft/texture-packs/clozer-blockman-dash-returns

      Stack trace

      Description: Rendering overlay
      
      java.lang.StackOverflowError: Rendering overlay
      	at java.util.HashMap.hash(HashMap.java:338)
      	at java.util.HashMap.get(HashMap.java:556)
      	at ecp$a$1.a(SourceFile:203)
      	at ecq.a(SourceFile:83)
      	at ecp$a$1.a(SourceFile:207)
      	at ecq.a(SourceFile:83)
      	at ecp$a$1.a(SourceFile:207)
      	at ecq.a(SourceFile:83)
      	at ecp$a$1.a(SourceFile:207)
      	at ecq.a(SourceFile:83)
      	at ecp$a$1.a(SourceFile:207)
      	at ecq.a(SourceFile:83)
      	at ecp$a$1.a(SourceFile:207)
      	at ecq.a(SourceFile:83)
      	at ecp$a$1.a(SourceFile:207)
      	at ecq.a(SourceFile:83)
      	at ecp$a$1.a(SourceFile:207)
      	at ecq.a(SourceFile:83)
      	at ecp$a$1.a(SourceFile:207)
      	at ecq.a(SourceFile:83)
      	at ecp$a$1.a(SourceFile:207)
      	at ecq.a(SourceFile:83)
      	at ecp$a$1.a(SourceFile:207)
      	at ecq.a(SourceFile:83)
      	at ecp$a$1.a(SourceFile:207)
      	at ecq.a(SourceFile:83)
      

            Unassigned Unassigned
            rerere284 tettee green
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: