Closed Bug 1175445 Opened 10 years ago Closed 10 years ago

MediaCodecReader: test_clone_media_element.html failed.

Categories

(Core :: Audio/Video: Playback, defect)

Unspecified
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox41 --- affected

People

(Reporter: bechen, Assigned: bechen)

Details

b2g emulator-kk build. 06-17 08:36:09.170 876 2379 D GonkAudioDecoderManager: Configure audio mime type:audio/mp4a-latm, chan no:2, sample-rate:48000 06-17 08:36:09.200 876 876 I GeckoDump: <U+E175><U+EE31>ⰲ겿{"action":"log","time":1434530169209,"thread":"","js_source":"TestRunner","pid":null,"source":"mochitest","level":"INFO","message":"small-shot.m4a-1 metadata loaded."}<U+E175><U+EE31>ⰲ겿 {"action":"log","time":1434530169229,"thread":"","js_source":"TestRunner","pid":null,"source":"mochitest","level":"INFO","message":"cloned small-shot.m4a-1 start loading."}<U+E175><U+EE31>ⰲ겿 06-17 08:36:09.240 876 2386 I OMXClient: Using client-side OMX mux. 06-17 08:36:09.240 876 2380 D GonkAudioDecoderManager: Configure audio mime type:audio/mp4a-latm, chan no:2, sample-rate:48000 06-17 08:36:09.250 876 2382 F ACodec : frameworks/av/media/libstagefright/ACodec.cpp:2573 CHECK_GT( params.nChannels,0) failed: 0 vs. 0 06-17 08:36:09.250 876 2382 E Gecko : mozalloc_abort: Redirecting call to abort() to mozalloc_abort ^^^^^^^^^^^^^^^^^^^^^^^^^^ 06-17 08:36:09.280 876 876 W Mochitest: [JavaScript Warning: "Invalid URI. Load of media resource failed." {file: "http://mochi.test:8888/tests/dom/media/test/test_clone_media_element.html" line: 0}] 06-17 08:36:09.300 876 2388 I SoftAAC2: Reconfiguring decoder: 0->48000 Hz, 0->2 channels 06-17 08:36:09.320 876 2390 D GonkAudioDecoderManager: Info Output Buffers Changed 06-17 08:36:09.320 876 2390 D GonkAudioDecoderManager: Decoder format changed
For what I can see from the logs, maybe input() is called before configure(). Could you add a log in Input() @[1]. [1]https://dxr.mozilla.org/mozilla-central/source/dom/media/platforms/gonk/GonkAudioDecoderManager.cpp#138
There is another failure in the testcase (when play a webm video),a thread hangs on https://dxr.mozilla.org/mozilla-central/source/dom/media/omx/MediaCodecReader.cpp?from=MediaCodecReader.cpp#1208
Hi Bruce, you had mentioned that there was a memory issue for |SniffMP3|, now I can reproduce it on my pc. Can you provide the bug number?
Flags: needinfo?(brsun)
(In reply to Bruce Sun [:brsun] from comment #4) > Sure, https://bugzilla.mozilla.org/show_bug.cgi?id=990957#c38 Thanks for information, but unfortunately my case is not the FileMediaResource case and also the MP3Sniffer doesn't reach the end of stream. Now I had narrow down the testcase to one file seek.webm, and the crash point always in MP3Sniffer.
Component: Audio/Video → Audio/Video: Playback
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.