ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

Fatal signal 5 (SIGTRAP) with UHD media on Samsung Galaxy S6

Open jfcogato opened this issue 10 years ago • 3 comments

  • Run the demo
  • Select the media with labels name: WV: Secure UHD (MP4,H264) on WidevineDash: MP4, H264 list.

The app will crash with the next error: frameworks/av/media/libstagefright/ACodec.cpp:2375 CHECK(def.nBufferSize >= size) failed. Fatal signal 5 (SIGTRAP), code 1 in tid 6037 (CodecLooper)

We detected that too on our contents with UHD resolutions, and only crash on Samsung galaxy S6.

jfcogato avatar Jan 12 '16 15:01 jfcogato

  • We'll take a look at this, thanks.
  • As an aside, why are you sending 4K content to a device that has a resolution significantly below 4K, and a screen whose physical size is such that it's debatable whether the user will be able to perceive a difference v.s. a lower quality? Isn't that just wasting the user's battery + network? Shouldn't you be restricting stream resolution to 1080p on the S6?

ojw28 avatar Jan 12 '16 15:01 ojw28

Yeah, I know, but the api give us all that information. Thanks for all.

jfcogato avatar Jan 13 '16 08:01 jfcogato

Closing because it's unlikely there's anything we can do to resolve this. It's likely the stream significantly exceeds the capabilities of the device, and the device is then not failing in a graceful way. It's unlikely to impact streaming services because they should not be serving UHD content to an S6.

ojw28 avatar Mar 06 '19 19:03 ojw28