libstagefright MPEG2TS assertion failure with CHECK_EQ(br.getBits(2),2u) and crash [@android::MPEG2PSExtractor::dequeuePES]

RESOLVED WORKSFORME

Status

()

Core
Audio/Video: Playback
--
critical
RESOLVED WORKSFORME
5 years ago
9 days ago

People

(Reporter: posidron, Unassigned)

Tracking

(Blocks: 1 bug, {crash, testcase})

Trunk
ARM
Gonk (Firefox OS)
crash, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [b2g-crash], crash signature)

Attachments

(2 attachments)

(Reporter)

Description

5 years ago
Created attachment 748554 [details]
testcase

STR

* In the folder of the testcase run: python3.3 -m http.server
* open the Firefox app in the B2G emulator
* attach GDB to the highest plugin-container process id
* open the .mp4 file inside the Firefox app


The following CHECK fails:

"frameworks/base/media/libstagefright/mpeg2ts/MPEG2PSExtractor.cpp:366 CHECK_EQ(br.getBits(2),2u) failed: 3 vs. 2"


Tested inside the B2G emulator.
Build fingerprint: 'Android/full/generic:4.0.4.0.4.0.4/OPENMASTER/eng.cdiehl.20130423.062518:eng/test-keys'
(Reporter)

Comment 1

5 years ago
Created attachment 748556 [details]
callstack
(Reporter)

Updated

5 years ago
Whiteboard: [b2g-crash]
(Reporter)

Updated

5 years ago
Summary: libstagefright MPEG2TS crash [@android::MPEG2PSExtractor::dequeueChunk] → libstagefright MPEG2TS crash [@android::MPEG2PSExtractor::dequeuePES]
(Reporter)

Updated

5 years ago
Summary: libstagefright MPEG2TS crash [@android::MPEG2PSExtractor::dequeuePES] → libstagefright MPEG2TS assertion failure with CHECK_EQ(br.getBits(2),2u) and crash [@android::MPEG2PSExtractor::dequeuePES]

Comment 2

5 years ago
Adding Sotaro who knows more about libstagefright internals than I do.
(Reporter)

Updated

5 years ago
Blocks: 872136
Component: Audio/Video → Audio/Video: Playback

Updated

2 years ago
Crash Signature: [@ __libc_android_abort | __android_log_assert | android::MPEG2PSExtractor::dequeuePES()] → [@ __libc_android_abort | __android_log_assert | android::MPEG2PSExtractor::dequeuePES()] [@ __libc_android_abort | __android_log_assert | android::MPEG2PSExtractor::dequeuePES]
Status: NEW → RESOLVED
Last Resolved: 9 days ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.