ClassiCube
ClassiCube copied to clipboard
Music_PlayOgg causes SIGSEGV
Apparently the size of OggState + VorbisState allocated on the stack is just too big. The total amount allocated for this function is apparently about 156 kB.
I am running Gentoo Linux with musl libc on an x64 system.
I fixed it by reducing VORBIS_MAX_BLOCK_SIZE in Vorbis.h from 8192 to 4096.
Probably just a quirk having to do with musl. Thoughts?