Intermittent dom/media/test/test_playback.html | ambisonics.mp4 should not fire 'error' event NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual mozilla::MediaResult mozilla::FFmpegAudioDecoder<55>::DoDecod
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure, Whiteboard: [stockwell disabled])
Attachments
(1 file)
Filed by: apavel [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=193864431&repo=mozilla-inbound https://queue.taskcluster.net/v1/task/CvsRgm2ZQ8eqhhtaXVniBw/runs/0/artifacts/public/logs/live_backing.log [task 2018-08-14T13:34:40.694Z] 13:34:40 INFO - [finished opus-sample.mp4-60] remaining= ambisonics.mp4-59 [task 2018-08-14T13:34:40.694Z] 13:34:40 INFO - TEST-PASS | dom/media/test/test_playback.html | [finished opus-sample.mp4-60 t=110.404] Length of array should match number of running tests [task 2018-08-14T13:34:40.698Z] 13:34:40 INFO - TEST-PASS | dom/media/test/test_playback.html | [started opus-mapping2.mp4-61 t=110.407] Length of array should match number of running tests [task 2018-08-14T13:34:40.709Z] 13:34:40 INFO - Buffered messages finished [task 2018-08-14T13:34:40.718Z] 13:34:40 INFO - TEST-UNEXPECTED-FAIL | dom/media/test/test_playback.html | ambisonics.mp4 should not fire 'error' event NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual mozilla::MediaResult mozilla::FFmpegAudioDecoder<55>::DoDecode(mozilla::MediaRawData*, uint8_t*, int, bool*, mozilla::MediaDataDecoder::DecodedData&): FFmpeg audio error:-1094995529 [task 2018-08-14T13:34:40.722Z] 13:34:40 INFO - startTest/noError</<@dom/media/test/test_playback.html:43:5 [task 2018-08-14T13:34:40.723Z] 13:34:40 INFO - EventListener.handleEvent*startTest@dom/media/test/test_playback.html:91:3 [task 2018-08-14T13:34:40.725Z] 13:34:40 INFO - MediaTestManager/this.nextTest@dom/media/test/manifest.js:1779:7 [task 2018-08-14T13:34:40.729Z] 13:34:40 INFO - MediaTestManager/this.finished@dom/media/test/manifest.js:1758:7 [task 2018-08-14T13:34:40.731Z] 13:34:40 INFO - finish@dom/media/test/test_playback.html:50:5 [task 2018-08-14T13:34:40.732Z] 13:34:40 INFO - mayFinish@dom/media/test/test_playback.html:56:7 [task 2018-08-14T13:34:40.734Z] 13:34:40 INFO - startTest/checkEnded</<@dom/media/test/test_playback.html:69:5 [task 2018-08-14T13:34:40.737Z] 13:34:40 INFO - EventListener.handleEvent*startTest@dom/media/test/test_playback.html:96:3 [task 2018-08-14T13:34:40.738Z] 13:34:40 INFO - MediaTestManager/this.nextTest@dom/media/test/manifest.js:1779:7 [task 2018-08-14T13:34:40.739Z] 13:34:40 INFO - MediaTestManager/this.finished@dom/media/test/manifest.js:1758:7 [task 2018-08-14T13:34:40.741Z] 13:34:40 INFO - finish@dom/media/test/test_playback.html:50:5 [task 2018-08-14T13:34:40.742Z] 13:34:40 INFO - mayFinish@dom/media/test/test_playback.html:56:7 [task 2018-08-14T13:34:40.745Z] 13:34:40 INFO - startTest/checkEnded</<@dom/media/test/test_playback.html:69:5 [task 2018-08-14T13:34:40.746Z] 13:34:40 INFO - EventListener.handleEvent*startTest@dom/media/test/test_playback.html:96:3 [task 2018-08-14T13:34:40.747Z] 13:34:40 INFO - MediaTestManager/this.nextTest@dom/media/test/manifest.js:1779:7 [task 2018-08-14T13:34:40.749Z] 13:34:40 INFO - MediaTestManager/this.finished@dom/media/test/manifest.js:1758:7 [task 2018-08-14T13:34:40.749Z] 13:34:40 INFO - finish@dom/media/test/test_playback.html:50:5 [task 2018-08-14T13:34:40.751Z] 13:34:40 INFO - mayFinish@dom/media/test/test_playback.html:56:7 [task 2018-08-14T13:34:40.753Z] 13:34:40 INFO - startTest/checkEnded</<@dom/media/test/test_playback.html:69:5 [task 2018-08-14T13:34:40.753Z] 13:34:40 INFO - EventListener.handleEvent*startTest@dom/media/test/test_playback.html:96:3 [task 2018-08-14T13:34:40.754Z] 13:34:40 INFO - MediaTestManager/this.nextTest@dom/media/test/manifest.js:1779:7 [task 2018-08-14T13:34:40.755Z] 13:34:40 INFO - MediaTestManager/this.finished@dom/media/test/manifest.js:1758:7 [task 2018-08-14T13:34:40.755Z] 13:34:40 INFO - finish@dom/media/test/test_playback.html:50:5 [task 2018-08-14T13:34:40.755Z] 13:34:40 INFO - mayFinish@dom/media/test/test_playback.html:56:7 [task 2018-08-14T13:34:40.756Z] 13:34:40 INFO - startTest/checkEnded</<@dom/media/test/test_playback.html:69:5 [task 2018-08-14T13:34:40.756Z] 13:34:40 INFO - EventListener.handleEvent*startTest@dom/media/test/test_playback.html:96:3 [task 2018-08-14T13:34:40.756Z] 13:34:40 INFO - MediaTestManager/this.nextTest@dom/media/test/manifest.js:1779:7 [task 2018-08-14T13:34:40.757Z] 13:34:40 INFO - MediaTestManager/this.finished@dom/media/test/manifest.js:1758:7 [task 2018-08-14T13:34:40.757Z] 13:34:40 INFO - finish@dom/media/test/test_playback.html:50:5 [task 2018-08-14T13:34:40.759Z] 13:34:40 INFO - mayFinish@dom/media/test/test_playback.html:56:7 [task 2018-08-14T13:34:40.760Z] 13:34:40 INFO - startTest/checkEnded</<@dom/media/test/test_playback.html:69:5 [task 2018-08-14T13:34:40.761Z] 13:34:40 INFO - EventListener.handleEvent*startTest@dom/media/test/test_playback.html:96:3 [task 2018-08-14T13:34:40.761Z] 13:34:40 INFO - MediaTestManager/this.nextTest@dom/media/test/manifest.js:1779:7 [task 2018-08-14T13:34:40.761Z] 13:34:40 INFO - MediaTestManager/this.finished@dom/media/test/manifest.js:1758:7 [task 2018-08-14T13:34:40.762Z] 13:34:40 INFO - finish@dom/media/test/test_playback.html:50:5 [task 2018-08-14T13:34:40.763Z] 13:34:40 INFO - mayFinish@dom/media/test/test_playback.html:56:7 [task 2018-08-14T13:34:40.763Z] 13:34:40 INFO - startTest/checkEnded</<@dom/media/test/test_playback.html:69:5 [task 2018-08-14T13:34:40.764Z] 13:34:40 INFO - EventListener.handleEvent*startTest@dom/media/test/test_playback.html:96:3 [task 2018-08-14T13:34:40.765Z] 13:34:40 INFO - MediaTestManager/this.nextTest@dom/media/test/manifest.js:1779:7 [task 2018-08-14T13:34:40.767Z] 13:34:40 INFO - MediaTestManager/this.finished@dom/media/test/manifest.js:1758:7 [task 2018-08-14T13:34:40.767Z] 13:34:40 INFO - finish@dom/media/test/test_playback.html:50:5 [task 2018-08-14T13:34:40.773Z] 13:34:40 INFO - mayFinish@dom/media/test/test_playback.html:56:7 [task 2018-08-14T13:34:40.774Z] 13:34:40 INFO - startTest/checkEnded</<@dom/media/test/test_playback.html:69:5 [task 2018-08-14T13:34:40.775Z] 13:34:40 INFO - EventListener.handleEvent*startTest@dom/media/test/test_playback.html:96:3 [task 2018-08-14T13:34:40.775Z] 13:34:40 INFO - MediaTestManager/this.nextTest@dom/media/test/manifest.js:1779:7 [task 2018-08-14T13:34:40.775Z] 13:34:40 INFO - MediaTestManager/this.finished@dom/media/test/manifest.js:1758:7 [task 2018-08-14T13:34:40.775Z] 13:34:40 INFO - finish@dom/media/test/test_playback.html:50:5 [task 2018-08-14T13:34:40.776Z] 13:34:40 INFO - mayFinish@dom/media/test/test_playback.html:56:7 [task 2018-08-14T13:34:40.776Z] 13:34:40 INFO - startTest/checkEnded</<@dom/media/test/test_playback.html:69:5 [task 2018-08-14T13:34:40.776Z] 13:34:40 INFO - EventListener.handleEvent*startTest@dom/media/test/test_playback.html:96:3 [task 2018-08-14T13:34:40.776Z] 13:34:40 INFO - MediaTestManager/this.nextTest@dom/media/test/manifest.js:1779:7 [task 2018-08-14T13:34:40.776Z] 13:34:40 INFO - MediaTestManager/this.finished@dom/media/test/manifest.js:1758:7 [task 2018-08-14T13:34:40.776Z] 13:34:40 INFO - finish@dom/media/test/test_playback.html:50:5 [task 2018-08-14T13:34:40.777Z] 13:34:40 INFO - mayFinish@dom/media/test/test_playback.html:56:7 [task 2018-08-14T13:34:40.777Z] 13:34:40 INFO - startTest/checkEnded</<@dom/media/test/test_playback.html:69:5 [task 2018-08-14T13:34:40.777Z] 13:34:40 INFO - EventListener.handleEvent*startTest@dom/media/test/test_playback.html:96:3 [task 2018-08-14T13:34:40.777Z] 13:34:40 INFO - MediaTestManager/this.nextTest@dom/media/test/manifest.js:1779:7 [task 2018-08-14T13:34:40.778Z] 13:34:40 INFO - MediaTestManager/this.finished@dom/media/test/manifest.js:1758:7 [task 2018-08-14T13:34:40.778Z] 13:34:40 INFO - finish@dom/media/test/test_playback.html:50:5 [task 2018-08-14T13:34:40.778Z] 13:34:40 INFO - mayFinish@dom/media/test/test_playback.html:56:7 [task 2018-08-14T13:34:40.778Z] 13:34:40 INFO - startTest/checkEnded</<@dom/media/test/test_playback.html:69:5 [task 2018-08-14T13:34:40.778Z] 13:34:40 INFO - EventListener.handleEvent*startTest@dom/media/test/test_playback.html:96:3 [task 2018-08-14T13:34:40.778Z] 13:34:40 INFO - MediaTestManager/this.nextTest@dom/media/test/manifest.js:1779:7 [task 2018-08-14T13:34:40.779Z] 13:34:40 INFO - MediaTestManager/this.finished@dom/media/test/manifest.js:1758:7 [task 2018-08-14T13:34:40.779Z] 13:34:40 INFO - finish@dom/media/test/test_playback.html:50:5 [task 2018-08-14T13:34:40.779Z] 13:34:40 INFO - mayFinish@dom/media/test/test_playback.html:56:7 [task 2018-08-14T13:34:40.779Z] 13:34:40 INFO - startTest/checkEnded</<@dom/media/test/test_playback.html:69:5
Comment 1•6 years ago
|
||
Directly before the failure this gets printed: > [started opus-mapping2.mp4-61 t=110.407] That test got added in bug 1482605 - the push for which the failure occurred the first time.
Comment 2•6 years ago
|
||
It's ambisonic.mp4 that cause a decoding error. Not he one recently added
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 61•3 years ago
|
||
There have been 37 total failures in the last 7 days:
https://treeherder.mozilla.org/intermittent-failures/bugdetails?startday=2021-02-01&endday=2021-02-08&tree=trunk&bug=1483259
- Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=329155635&repo=autoland&lineNumber=3455
Only affects linux1804-64-tsan.
Bryce, could you redirect this to someone who can take a look?
Comment hidden (Intermittent Failures Robot) |
Looking at the errors it looks like ffmpeg is giving a couple of different errors
- https://treeherder.mozilla.org/logviewer?job_id=329158882&repo=autoland&lineNumber=3454 is invalid data error ('I','N','D','A')[0]. -1094995529 -> -0x41444E49 -> ascii ADNI -> INDA (the integer version is backwards due to endianness).
- https://treeherder.mozilla.org/logviewer?job_id=329157792&repo=autoland&lineNumber=3447 looks like invalid arg, -22 appears to be from errno.h and gets negated by ffmpeg, the 22 line in errno.h is
#define EINVAL 22 /* Invalid argument */
. avcodec.h has some documentation on which error paths will returnAVERROR(EINVAL)
.
Looks like we could audit the audio decode path and the ffmpeg API and try and figure out where this is going wrong. If this is reproducible locally it would be great to catch an rr recording. I'll hold NI and see if I can find an owner.
Comment 64•3 years ago
|
||
Is there a way to check if the file format is correct? We have a similar bug 1484451 on Mac OS. It's also a decoding error. Not sure why this file causes the same problem on different platforms
Updated•3 years ago
|
Comment hidden (Intermittent Failures Robot) |
(In reply to C.M.Chang[:chunmin] from comment #64)
Is there a way to check if the file format is correct? We have a similar bug 1484451 on Mac OS. It's also a decoding error. Not sure why this file causes the same problem on different platforms
We could audit the mp4 structure against the ISO specs that govern them. Beyond that we could audit the samples against whatever spec governs those, but I'm less familiar with that.
:kinetik, do you have any thoughts on auditing the file or debugging this further?
Comment 67•3 years ago
|
||
In the last 7 days there have been 30 occurrences, all on linux1804-64-tsan opt.
Recent failure: https://treeherder.mozilla.org/logviewer?job_id=330538000&repo=autoland&lineNumber=3494
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Comment 70•3 years ago
|
||
Matthew did you get a chance to take a look at this?
Comment 71•3 years ago
|
||
Updated•3 years ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Comment 73•3 years ago
|
||
Pushed by abutkovits@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e71b7bf786d8 disable test_playback.html for frequent failures. r=intermittent-reviewers,jmaher
Comment 74•3 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
I'm re-enabling the test in bug 1699509, but skipping the problematic file, I'm not sure how this should be reflected in the whiteboard (if at all), so please update as appropriate.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Updated•2 years ago
|
Description
•