When a custom sound loaded from https://github.com/GemPowered/GemPowered-Music-Pack/suites/691148429/artifacts/6523902 is played and then ends the console throws java.lang.OutOfMemoryError and all other sounds stop working until the user exits the server or changes worlds or completely fails to load the sound file but other audio stills function.
Changing memory allocated to minecraft does not change result. Changing the audio quality also does not affect result.
Upon further tests it seems to be an issue with the decoder MC uses:
the linked texture pack uses: "Xiph.Org libVorbis I 20180316 (Now 100% fewer shells)" which does not work
another version we made uses: "Xiph.Org libVorbis I 20120203 (Omnipresent)" which works completely.