This is almost certainly the same bug as this https://github.com/exult/exult/issues/85 and was fixed
Pretty sure I actually fixed this a long time ago. Regardless I was never able to reproduce it on my own first revision MT32 that I developed Exult's Mt32 support with
Not sure if I will be able to look at this... but given the information, SDL is probably...