Retroarch: v1.8.3 crashes when home button is pressed (android)

Created on 11 Jan 2020  Â·  15Comments  Â·  Source: libretro/RetroArch

IMG_20200111_175450

Description

Whenever I press the Home button and minimize the app, or scroll down the notification bar, Retroarch will crash (if a game was previously loaded).

Expected behavior

Game should be paused on background until the app is resumed.

Actual behavior

Retroarch crashes.

Steps to reproduce the bug

  1. Open Retroarch 1.8.3 for android
  2. Load a core
  3. Load a game
  4. Minimize the app (alternatively, scroll down the notification bar)
  5. When returning to the app, it crashes

Bisect Results

Started imediately after updating to 1.8.3 on Play Store.

Version/Commit

  • RetroArch: 1.8.3

Environment information

  • OS: Android 9 (with MIUI 11.0.4 on a Xiaomi Redmi Note 7)

Edit1: spelling
Edit2: attaching Crash Report

Most helpful comment

Try the latest nightly build on our buildbot - for me it fixes the issue -

http://buildbot.libretro.com/nightly/android/RetroArch.apk

All 15 comments

I've also ran into this problem.

OS: Android 6

Me too, Android KitKat.

Happens to me too, my devices are Xiaomi MIPAD 4 (MIUI 10, android 8, snapdragon 660), Huawei Mediapad M5 lite (EMUI 8, android 8, kirin 659), Huawei Honour 5x (custom rom, android 7). Happens both in gl and vulkan.

I believe this should fix it -

https://github.com/libretro/RetroArch/commit/e4ef930b4791ae5289ddc983b4368569b585171f

We will probably push an updated stable version if we get more reports from guys like @jdgleaver confirming that it indeed worked - it worked for me but I always would like to get a secondary confirmation first.

I can confirm this error. I'm on a OnePlus T6 Pro; Android Pie with Oxygen OS 9.17. I've screen recorded the error too that if that helps.

I can confirm also on both Note 10+ (Exynos) and Galaxy Tab S6 (S855). I got the same entrypoint in the backtrace at 2da080 / libretroarch-activity.so. @twinaphex if you have a packaged version, I can check if your fix is working.

Just download the nightlies either later today or tomorrow.

Same here galaxy j7 prime ,android oreo 8.1

Try the latest nightly build on our buildbot - for me it fixes the issue -

http://buildbot.libretro.com/nightly/android/RetroArch.apk

@twinaphex tested with nightly 2020-01-14, fixes the issue for me. Thanks for the quick fix!

Nightly build fixed it for me too! Should I close the issue or we wait for more confirmations?

Just for the record, I also confirm that the issue is fixed :)

Fixed, thanks!

fixed for me toooooo

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GoronMegaZord picture GoronMegaZord  Â·  3Comments

wrldwzrd89 picture wrldwzrd89  Â·  3Comments

hyarsan picture hyarsan  Â·  4Comments

parkerlreed picture parkerlreed  Â·  3Comments

rrooij picture rrooij  Â·  3Comments