Skip to content

mobile/ebitenmobileview: ANR is reported on Android #3334

@hajimehoshi

Description

@hajimehoshi

Ebitengine Version

v2.10.0-alpha.3

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

Go Version (go version)

go1.25.1

What steps will reproduce the problem?

Not sure. We found this issue in the Play Console for an actual application "FIshing Paradiso".

What is the expected result?

No ANR (onPause should not freeze the app).

What happens instead?

ANR at onPause was reported

  #00  pc 0x000000000087269c  /data/app/~~G7qG_5I69yCU44Q1CJrYWg==/com.rpgsnack.fishingparadise-wpDpMJgABTjC7y26fKd9RQ==/split_config.arm64_v8a.apk (runtime.futex+651) (BuildId: cad8e8fc7ccdd6e7f41665b4f1cb9122e12a898e)
  at com.rpgsnack.runtime.ebitenmobileview.Ebitenmobileview.saveGPUResources (Native method)
  at com.rpgsnack.runtime.mobile.EbitenSurfaceView.onPause (EbitenSurfaceView.java:124)
  at com.rpgsnack.runtime.mobile.EbitenView.suspendGame (EbitenView.java:416)
  at com.rpgsnack.tsugunai.ContentView.onPause (ContentView.java:81)
  at com.rpgsnack.tsugunai.MainActivity.onPause (MainActivity.java:278)

Anything else you feel useful to add?

This ANR is not user-perceived ANR, so this should not be urgent.

Related #3215

CC @wasedaigo

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions