regression in sound

Post bugreports for the Windows version here
rory-games
User
User
Posts: 39
Joined: Sun Feb 02, 2020 9:14 am
Contact:

regression in sound

Post by rory-games »

Hello,
I have noticed a bug with the soundsystem that causes it to crash (without an error in the debug output list) after a few moments.
This bug seems to have been introduced with the switch to miniaudio: downgrading to PureBasic 6.04 seems to fix it.
As an aside, I also noticed another regression: the music that I have going on in my agme will randomly jump backwards and forwards (not exactly sure which), and I can't figure out why. It seems to start happening after a minute, then happens every few seconds.
The noise/crash bug didn't seem to coincide with the beginning of any specific sound. The noise produced by the bug was as though it was trying to interpret data in the wrong format, similar to the bug that I found a couple years ago and was reported by Quin. After the noise, there were a few hundred milliseconds of silence, then a crash
Because no error was thrown, it has been difficult for me to try and make an MRE. I am happy to send a pm with a full copy of a game that can cause the bug (with source code), to whoever works on such things.
Just let me know who I need to get this to, if required, and I will upload it to my site.
Thanks,
Rory.
Fred
Administrator
Administrator
Posts: 18342
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: regression in sound

Post by Fred »

Running full game to debug is really time consuming, you can't replicate it in a small example with your specific sound/music ?
rory-games
User
User
Posts: 39
Joined: Sun Feb 02, 2020 9:14 am
Contact:

Re: regression in sound

Post by rory-games »

I tried, but I couldn't get it to happen. However, I can make a version of the game that plays itself autonomously, aside from making the sounds that it usually does. Would that help? It takes around a minute or two for the bugs to start occurring.
Last edited by rory-games on Wed Oct 15, 2025 9:05 am, edited 1 time in total.
Fred
Administrator
Administrator
Posts: 18342
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: regression in sound

Post by Fred »

Sure, you can send me the link in PM
rory-games
User
User
Posts: 39
Joined: Sun Feb 02, 2020 9:14 am
Contact:

Re: regression in sound

Post by rory-games »

Done!
rory-games
User
User
Posts: 39
Joined: Sun Feb 02, 2020 9:14 am
Contact:

Re: regression in sound

Post by rory-games »

When run, it should ask whether you want to enter autonomous mode. At that point, it will start playing "rolling balls" endlessly. This game is one in which the bug definitely occurs consistently.
Post Reply