libretro / libretro/RetroArch

Midi soundfont use crash RetroArch in android 13 (dosbox pure).

Open
#16,394 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

First and foremost consider this:

  • 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
  1. Put a soundfont in system directory
  2. Start dosbox pure
  3. Select in core option the soundfont
  4. In game option set the output to midi
  5. 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]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce this on Android 13 LineageOS with RetroArch 1.18.0, using the Dosbox Pure core, a soundfont in the system directory, and MIDI output. Compare soundfont playback with the working Roland MT32, OPL3, and Gravis Ultrasound modes; done means MIDI soundfont playback no longer closes RetroArch.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
audio-video-rtc, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.