libretro / libretro/RetroArch

[Android 32bit] Mupen64plus-Next core fails to open after loading and unloading a couple of times

Open
#10,634 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

On 32bit RetroArch, Mupen64Plus-Next fails to open after loading and unloading the core a couple of times, spitting out the following error:
Failed to open libretro core: "/data/data/com.retroarch.ra32/cores/mupen64plus_next_libretro_android.so" Error(s): dlopen failed: couldn't reserve 162271232 bytes of address space for "/data/data/com.retroarch.ra32/cores/mupen64plus_next_libretro_android.so"

I can confirm that it doesn't happen on 64bit.

Previously reported it here, but m4xw determined it to be a frontend issue.

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

No source file, test, or entry point is named. Reproduce the repeated load/unload sequence on 32-bit Android, then trace the frontend path that opens the libretro core and compare it with the linked report. Done means Mupen64Plus-Next can be opened repeatedly after unloading without the address-space error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.