one of our players reported a game freeze when opening a map that has a soundtrack in .mod tracker format. We looked into the problem and tracked it down to a hang in FMOD_Channel_SetPosition. This appears to be an infinite loop since the function does not return even if we let the function run for 10+ minutes.
The level was configured to start music playback at offset 40 in the track’s sequence. The sequence has 67 elements in total, so offset 40 is valid. The track also has 47 patterns in total.
We open the track with FMOD_LOOP_OFF | FMOD_ACCURATETIME because we need to manually reset music channels whenever a sequence ends. Using FMOD_Channel_SetPosition(MusicChannel, Offset, FMOD_TIMEUNIT_MODORDER), we can seek to offsets 0-29 with no issues whatsoever, but seeking to offset 30 or higher makes fmod hang.
If we open the track without FMOD_ACCURATETIME, seeking to offsets 30+ works as expected. The track is copyrighted so I do not want to post a public URL here. If anyone wants to look into this, then I’d be glad to send the track over directly.
** EDIT **: I tested this with FMOD Engine 2.1.08.