recursive sounds.json StackOverflowError 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)
2019-10-09, 03:03 AM
2020-10-24, 10:11 PM
2020-10-24, 10:11 PM
1
4
-