Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANR with MediaPlayer and AndroidEnableMarshalMethods #9064

Closed
kerams opened this issue Jun 28, 2024 · 1 comment
Closed

ANR with MediaPlayer and AndroidEnableMarshalMethods #9064

kerams opened this issue Jun 28, 2024 · 1 comment
Assignees
Labels
Area: App Runtime Issues in `libmonodroid.so`. needs-triage Issues that need to be assigned.

Comments

@kerams
Copy link

kerams commented Jun 28, 2024

Android framework version

net8.0-android, net9.0-android

Affected platform version

SDK 9.0.100-preview.5.24307.3

Description

Another one to the #8253 pile.

UI freezes with AndroidEnableMarshalMethods enabled when using MediaPlayer.

Steps to Reproduce

  1. https://github.com/kerams/marshal
  2. Open Plugin.Maui.Audio.Sample.sln and run the sample project in Release mode in Android x64 emulator
  3. Click on the track on the list and then press Play and Stop a couple of times to see that the track plays and stops as expected.
  4. Set AndroidEnableMarshalMethods to true, rerun, and observe that the UI freezes after a couple of Play/Stop presses.

Did you find any workaround?

No response

Relevant log output

No response

@kerams kerams added Area: App Runtime Issues in `libmonodroid.so`. needs-triage Issues that need to be assigned. labels Jun 28, 2024
@kerams
Copy link
Author

kerams commented Oct 17, 2024

Looks good with rc2.

@kerams kerams closed this as completed Oct 17, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area: App Runtime Issues in `libmonodroid.so`. needs-triage Issues that need to be assigned.
Projects
None yet
Development

No branches or pull requests

2 participants