Skip to content

ANR with MediaPlayer and AndroidEnableMarshalMethods #9064

Description

@kerams

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

Activity

  1. kerams commented on Oct 17, 2024

    @kerams
    Author

    Looks good with rc2.

  2. locked and limited conversation to collaborators on Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area: App RuntimeIssues in `libmonodroid.so`.needs-triageIssues that need to be assigned.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions