Skip to content

Player freezes, crashes emulator, on specific video file #3341

Description

@nikclayton

Version

Media3 main branch

More version details

Commit 683c26c, most recent commit on main at the time of writing (that's what I tested with the demo app).

The user bug report that prompted me to test this is in an app using Media 3 1.9.1 so I checked out that tag too and see the same crash in the demo app.

Devices that reproduce the issue

Emulator running Pixel 9 Pro XL image.

At least one report from a user that it doesn't play on a real device. I'll send them a link to this bug report and they may follow up with more information.

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

Add this entry to media.exolist.json

  {
    "name": "Crash test",
    "samples": [
      {
        "name": "https://media.mstdn.social/media_attachments/files/116/958/520/987/414/412/original/53713ec0e817351b.mp4",
        "uri": "https://media.mstdn.social/media_attachments/files/116/958/520/987/414/412/original/53713ec0e817351b.mp4"
      }
    ]
  },

Launch the app.

Play the file.

Boom.

Expected result

Plays successfully.

Actual result

Black screen, couple of lines of debug output on screen, emulator freezes, and crashes (not the app, the entire emulator process) after a few seconds.

Important: I ticked the "I will email the bugreport" box below (because I don't want you to ignore reports without a bug report), but adb bugreport doesn't work in this case -- it wants to connect to a running device, and it can't, because the emulator 1. hung, and then 2. crashed.

Media

https://media.mstdn.social/media_attachments/files/116/958/520/987/414/412/original/53713ec0e817351b.mp4

Bug Report

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions