Skip to content

Bug: #3129

@BlueSialia

Description

@BlueSialia

Reproduction steps

  1. Connect phone to a display to use Motorola Ready For.
  2. Open Grayjay in either the smartphone display or the external display.
  3. Play a video on Grayjay.
  4. Use any other app on the other display.

Actual result

The Grayjay video eventually freezes. It doesn't take long. A minute at most, although in 1 out of 20 attempts it doesn't freeze and works fine.

Once the video is frozen, a while after, maybe 15-30 minutes, Grayjay displays its "App Error" screen informing about an uncaught exception. I'm sharing that output in the section intended for it.

Expected result

No freezes nor app errors. Be able to have a video on a display while using the other.

Grayjay Version

372

What plugins are you seeing the problem on?

Twitch, YouTube

Plugin Version

Twitch: 30, Youtube: 328

Which android version are you using?

12

Which device are you using?

Motorola g200 5G

Which operating system are you using?

The original Android ROM from the manufacturer

When do you experience the issue?

  • While logged in
  • While logged out
  • N/A

Are you using a VPN?

No

References

This one appears to be related as it mentions Samsung Dex. #2057

Relevant log output

Version information (version_name = 372, version_code = 372, flavor = stable, build_type = release)
Device information (brand= motorola, manufacturer = motorola, device = xpeng, version-sdk = 31, version-os = motorola/xpeng_ge/xpeng:12/S1RX32.50-13/ffb1b-83b460:user/release-keys)

(e, ExceptionActivity, 2026-02-25 08:22:47): Uncaught exception ("Unknown Context"): Failed to allocate a 24 byte allocation with 179088 free bytes and 174KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.

java.lang.OutOfMemoryError: Failed to allocate a 24 byte allocation with 179088 free bytes and 174KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
	at com.google.common.collect.ImmutableList.listIterator(ImmutableList.java:388)
	at com.google.common.collect.ImmutableList.listIterator(ImmutableList.java:378)
	at com.google.common.collect.ImmutableList.iterator(ImmutableList.java:373)
	at androidx.media3.exoplayer.audio.DefaultAudioSink.reset(DefaultAudioSink.java:1483)
	at androidx.media3.exoplayer.audio.MediaCodecAudioRenderer.onReset(MediaCodecAudioRenderer.java:759)
	at androidx.media3.exoplayer.BaseRenderer.reset(BaseRenderer.java:261)
	at androidx.media3.exoplayer.RendererHolder.maybeResetRenderer(RendererHolder.java:720)
	at androidx.media3.exoplayer.RendererHolder.reset(RendererHolder.java:710)
	at androidx.media3.exoplayer.ExoPlayerImplInternal.resetInternal(ExoPlayerImplInternal.java:1976)
	at androidx.media3.exoplayer.ExoPlayerImplInternal.stopInternal(ExoPlayerImplInternal.java:1922)
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:940)
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:913)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loopOnce(Looper.java:238)
	at android.os.Looper.loop(Looper.java:355)
	at android.os.HandlerThread.run(HandlerThread.java:67)

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidBugSomething isn't workingCrashEdge CaseThis refers to specific setup or rare issue or similar

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions