Re: Media server died

766 views
Skip to first unread message

Oleg Smirnov

unread,
Aug 7, 2013, 8:23:19 AM8/7/13
to andro...@googlegroups.com
This problem can happens when you are using encrypted TS chunks data. Is your stream data has strongly decrypted mpeg2-ts chunk?

Peter Tran

unread,
Dec 4, 2013, 12:36:12 AM12/4/13
to andro...@googlegroups.com
I recently experience this on a Verizon Galaxy Nexus running 4.2.2.

I tracked this down in the Android source.

The call to CHECK_EQ( sync_byte,0x47u) is made in:  ATSParser.cpp

CHECK_EQ is defined in:   ADebug.h

It appears this is calling assert to cause a fatal error.

Question for Android dev team:  Why in production code is there an assert?

On Monday, April 15, 2013 2:35:06 AM UTC-7, Romain Lahore-Carraté wrote:
Hi,

I'm using OpenMAX AL to design a MediaPlayer.
I'm using a Jelly Bean device (4.1.1).
After a few seconds, I have a crash in libstagefright (see attached logcat traces).

Here is a short extract of the traces:

04-04 08:10:26.281: A/ATSParser(10915): frameworks/av/media/libstagefright/mpeg2ts/ATSParser.cpp:1187 CHECK_EQ( sync_byte,0x47u) failed: 70 vs. 71
04-04 08:10:26.281: A/libc(10915): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 17152 (NuPlayerDriver )

My problem is that the same application runs without any issues on ICS devices.

Does it ring a bell to anyone?

RichardC

unread,
Dec 4, 2013, 5:45:37 AM12/4/13
to andro...@googlegroups.com
I have looked at the code you linked (and code it calls) and I can't find an asset in there.  Can you link the file with line number where you think the assert is getting invoked?

Peter Tran

unread,
Dec 7, 2013, 1:22:10 AM12/7/13
to andro...@googlegroups.com
I believe this is the call sequence:

  CHECK_EQ ==> CHECK_OP ==> LOG_ALWAYS_FATAL (ADebug.h line 67)

    LOG_ALWAYS_FATAL ==> android_printAssert (platform/system/core/include/cutils/log.h line 301)

      android_printAssert ==> __android_log_assert (platform/system/core/include/cutils/log.h line 442)
Reply all
Reply to author
Forward
0 new messages