schellingb / dosbox-pure

DOSBox Pure is a new fork of DOSBox built for RetroArch/Libretro aiming for simplicity and ease of use.
GNU General Public License v2.0
731 stars 61 forks source link

Midi soundfont use crash RetroArch in android 13 #491

Open tails101 opened 3 months ago

tails101 commented 3 months ago

Only RetroArch bugs should be filed here. Not core bugs or game bugs This is not a forum or a help section, this is strictly developer oriented Description

It seems google introduced a bug in android 13 from what I heard and some midi port are not working, a lot of midi apps found a fix to make midi work again. But it seems RetroArch still suffer from a crash when using a midi soundfont. Setting the output to Roland mt32 (Munt) or opl3 emulation (mame or nuked) or gravis ultrasoud emulation fix the problem and sound work without crashing. But using any soundfont and midi mode just close RetroArch. This is not a ram issue, I'm using a raspberry pi 4 with 8gb of ram and any size of soundfont just crash RetroArch. (Even the windows 3.1 soundfont of 5mb just crash RetroArch). I have found the same issue in a few midi apps and there are discussion about it online. I'm using for example the stand alone version of scummvm because it has a fix already implemented for this issue and work properly even with giant soundfont files like timbre of heaven.

Expected behavior

Not crash [What you expected to happen] Not crash

Actual behavior

RetroArch close without explanation [What is actually happening] RetroArch closes without explanation

Steps to reproduce the bug

Put a soundfont in system directory Start dosbox pure Select in core option the soundfont In game option set the output to midi RetroArch should close immediately when playing a sound. Bisect Results

[Try to bisect and tell us when this started happening]

Version/Commit

RetroArch stable android 1.18.0

RetroArch: [version/commit] Environment information

OS: android 13 lineage os Compiler: [In case you are running local builds]