Closed Bug 1069005 Opened 10 years ago Closed 10 years ago

Intermittent test_conformance__textures__tex-image-and-sub-image-2d-with-video.html | Assertion count 1 is greater than expected (Couldn't pass frame to decoder: 'rv == noErr', file content/media/fmp4/apple/AppleVTDecoder.cpp, line 346)

Categories

(Core :: Audio/Video, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35
Tracking Status
firefox33 --- unaffected
firefox34 --- fixed
firefox35 --- fixed
firefox-esr31 --- unaffected

People

(Reporter: RyanVM, Assigned: jya)

References

Details

(Keywords: assertion, intermittent-failure)

Ralph, I see you added this assert. Can you please take a look?

https://tbpl.mozilla.org/php/getParsedLog.php?id=48305142&tree=Fx-Team

Rev5 MacOSX Mountain Lion 10.8 fx-team debug test mochitest-2 on 2014-09-17 12:09:54 PDT for push 6d51bb8b7666
slave: talos-mtnlion-r5-045

12:24:06     INFO -  1039 INFO TEST-START | /tests/dom/canvas/test/webgl-conformance/_wrappers/test_conformance__textures__tex-image-and-sub-image-2d-with-video.html
12:24:07     INFO -  ++DOMWINDOW == 28 (0x10eb9dc00) [pid = 1289] [serial = 2677] [outer = 0x122c88c00]
12:24:07     INFO -  ++DOCSHELL 0x113abc800 == 11 [pid = 1289] [id = 743]
12:24:07     INFO -  ++DOMWINDOW == 29 (0x10f0f7800) [pid = 1289] [serial = 2678] [outer = 0x0]
12:24:07     INFO -  [Parent 1289] WARNING: NS_ENSURE_TRUE(nsContentUtils::GetCurrentJSContext()) failed: file /builds/slave/fx-team-osx64-d-00000000000000/build/docshell/base/nsDocShell.cpp, line 9008
12:24:08     INFO -  ++DOMWINDOW == 30 (0x113907c00) [pid = 1289] [serial = 2679] [outer = 0x10f0f7800]
12:24:09     INFO -  OpenGL version detected: 210
12:24:09     INFO -  OpenGL vendor: Intel Inc.
12:24:09     INFO -  OpenGL renderer: Intel HD Graphics 3000 OpenGL Engine
12:24:09     INFO -  ++DOCSHELL 0x113a1f000 == 12 [pid = 1289] [id = 744]
12:24:09     INFO -  ++DOMWINDOW == 31 (0x114905800) [pid = 1289] [serial = 2680] [outer = 0x0]
12:24:09     INFO -  [Parent 1289] WARNING: NS_ENSURE_TRUE(nsContentUtils::GetCurrentJSContext()) failed: file /builds/slave/fx-team-osx64-d-00000000000000/build/docshell/base/nsDocShell.cpp, line 9008
12:24:09     INFO -  [Parent 1289] WARNING: Subdocument container has no frame: file /builds/slave/fx-team-osx64-d-00000000000000/build/layout/base/nsDocumentViewer.cpp, line 2515
12:24:09     INFO -  ++DOMWINDOW == 32 (0x114906000) [pid = 1289] [serial = 2681] [outer = 0x114905800]
12:24:10     INFO -  --DOCSHELL 0x113031800 == 11 [pid = 1289] [id = 742]
12:24:10     INFO -  --DOMWINDOW == 31 (0x11390bc00) [pid = 1289] [serial = 2669] [outer = 0x0] [url = about:blank]
12:24:10     INFO -  --DOMWINDOW == 30 (0x113906000) [pid = 1289] [serial = 2661] [outer = 0x0] [url = http://mochi.test:8888/tests/dom/canvas/test/webgl-conformance/mochi-single.html?conformance/textures/tex-image-and-sub-image-2d-with-canvas.html]
12:24:10     INFO -  --DOMWINDOW == 29 (0x11151f000) [pid = 1289] [serial = 2667] [outer = 0x0] [url = http://mochi.test:8888/tests/dom/canvas/test/webgl-conformance/mochi-single.html?conformance/textures/tex-image-and-sub-image-2d-with-image-data.html]
12:24:10     INFO -  --DOMWINDOW == 28 (0x10d76cc00) [pid = 1289] [serial = 2659] [outer = 0x0] [url = http://mochi.test:8888/tests/dom/canvas/test/webgl-conformance/_wrappers/test_conformance__textures__tex-image-and-sub-image-2d-with-canvas.html]
12:24:12     INFO -  JavaScript error: jar:file:///builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/omni.ja!/components/nsHandlerService.js, line 891: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]
12:24:12     INFO -  JavaScript error: jar:file:///builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/omni.ja!/components/nsHandlerService.js, line 891: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]
12:24:12     INFO -  I/SampleTable( 1289): There are reordered frames present.
12:24:14     INFO -  [Parent 1289] WARNING: NS_ENSURE_SUCCESS(EnsureScriptEnvironment(), nullptr) failed with result 0x80040111: file /builds/slave/fx-team-osx64-d-00000000000000/build/docshell/base/nsDocShell.cpp, line 4371
12:24:14     INFO -  --DOMWINDOW == 27 (0x10eac6000) [pid = 1289] [serial = 2676] [outer = 0x0] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
12:24:14     INFO -  --DOMWINDOW == 26 (0x11390c800) [pid = 1289] [serial = 2674] [outer = 0x0] [url = http://mochi.test:8888/tests/dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-image.html]
12:24:14     INFO -  --DOMWINDOW == 25 (0x10f4e1c00) [pid = 1289] [serial = 2672] [outer = 0x0] [url = http://mochi.test:8888/tests/dom/canvas/test/webgl-conformance/mochi-single.html?conformance/textures/tex-image-and-sub-image-2d-with-image.html]
12:24:14     INFO -  --DOMWINDOW == 24 (0x10ea6ec00) [pid = 1289] [serial = 2665] [outer = 0x0] [url = http://mochi.test:8888/tests/dom/canvas/test/webgl-conformance/_wrappers/test_conformance__textures__tex-image-and-sub-image-2d-with-image-data.html]
12:24:17     INFO -  [Parent 1289] WARNING: VideoToolbox decoder returned no data: file /builds/slave/fx-team-osx64-d-00000000000000/build/content/media/fmp4/apple/AppleVTDecoder.cpp, line 197
12:24:17     INFO -  [Parent 1289] ###!!! ASSERTION: Couldn't pass frame to decoder: 'rv == noErr', file /builds/slave/fx-team-osx64-d-00000000000000/build/content/media/fmp4/apple/AppleVTDecoder.cpp, line 346
12:24:18     INFO -  JavaScript error: jar:file:///builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/omni.ja!/components/nsHandlerService.js, line 891: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]
12:24:26     INFO -  JavaScript error: jar:file:///builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/omni.ja!/components/nsHandlerService.js, line 891: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]
12:24:26     INFO -  JavaScript error: jar:file:///builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/omni.ja!/components/nsHandlerService.js, line 891: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]
12:24:36     INFO -  nsRunnableMethodImpl<tag_nsresult (mozilla::AppleVTDecoder::*)(mp4_demuxer::MP4Sample*), nsAutoPtr<mp4_demuxer::MP4Sample>, true>::Run() [xpcom/glue/nsThreadUtils.h:363]
12:24:36     INFO -  mozilla::MediaTaskQueue::Runner::Run() [mfbt/RefPtr.h:301]
12:24:36     INFO -  nsThreadPool::Run() [xpcom/glue/nsCOMPtr.h:520]
12:24:36     INFO -  _ZThn8_N12nsThreadPool3RunEv [obj-firefox/xpcom/threads/Unified_cpp_xpcom_threads0.cpp:234]
12:24:36     INFO -  nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:823]
12:24:36     INFO -  NS_ProcessNextEvent(nsIThread*, bool) [xpcom/glue/nsThreadUtils.cpp:265]
12:24:36     INFO -  mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:339]
12:24:36     INFO -  MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:509]
12:24:36     INFO -  nsThread::ThreadFunc(void*) [xpcom/threads/nsThread.cpp:359]
12:24:36     INFO -  _pt_root [nsprpub/pr/src/pthreads/ptthread.c:215]
12:24:36     INFO -  libsystem_c.dylib + 0x14782
12:24:36     INFO -  OpenGL version detected: 210
12:24:36     INFO -  OpenGL vendor: Intel Inc.
12:24:36     INFO -  OpenGL renderer: Intel HD Graphics 3000 OpenGL Engine
12:24:36     INFO -  [Parent 1289] WARNING: We can't support non-premultiplied alpha for video!: '(aSurfaceFlags & SFE_PREFER_NO_PREMULTIPLY_ALPHA) == 0', file /builds/slave/fx-team-osx64-d-00000000000000/build/layout/base/nsLayoutUtils.cpp, line 5892
12:24:36     INFO -  [Parent 1289] WARNING: We can't support non-premultiplied alpha for video!: '(aSurfaceFlags & SFE_PREFER_NO_PREMULTIPLY_ALPHA) == 0', file /builds/slave/fx-team-osx64-d-00000000000000/build/layout/base/nsLayoutUtils.cpp, line 5892
12:24:36     INFO -  [Parent 1289] WARNING: We can't support non-premultiplied alpha for video!: '(aSurfaceFlags & SFE_PREFER_NO_PREMULTIPLY_ALPHA) == 0', file /builds/slave/fx-team-osx64-d-00000000000000/build/layout/base/nsLayoutUtils.cpp, line 5892
12:24:36     INFO -  [Parent 1289] WARNING: We can't support non-premultiplied alpha for video!: '(aSurfaceFlags & SFE_PREFER_NO_PREMULTIPLY_ALPHA) == 0', file /builds/slave/fx-team-osx64-d-00000000000000/build/layout/base/nsLayoutUtils.cpp, line 5892
12:24:36     INFO -  1040 INFO TEST-OK | /tests/dom/canvas/test/webgl-conformance/_wrappers/test_conformance__textures__tex-image-and-sub-image-2d-with-video.html | took 11537ms
12:24:36     INFO -  [Parent 1289] WARNING: Failed to unlock the wakelock.: '!rv.Failed()', file /builds/slave/fx-team-osx64-d-00000000000000/build/content/html/content/src/HTMLVideoElement.cpp, line 245
12:24:36     INFO -  ++DOMWINDOW == 25 (0x1149c9400) [pid = 1289] [serial = 2682] [outer = 0x122c88c00]
12:24:36     INFO -  1041 INFO TEST-UNEXPECTED-ERROR | /tests/dom/canvas/test/webgl-conformance/_wrappers/test_conformance__textures__tex-image-and-sub-image-2d-with-video.html | Assertion count 1 is greater than expected range 0-0 assertions.
Flags: needinfo?(giles)
Sorry, I don't think that was me. Or if it is in the video stuff, I can't tell where the assertion the test is complaining about is coming from.

Jean-Yves, do you recognize this? something with the MacIOSurface changes interacting with webgl, maybe?
Flags: needinfo?(giles) → needinfo?(jyavenard)
The error occurs before a frame is ever generated so I don't believe it's related to the use of IOSurface.

That particular assert however was harmless...

However, this assert will be resolved now that bug 1066369 has been committed.

I would close this bug as resolved
Flags: needinfo?(jyavenard)
(In reply to Ralph Giles (:rillian) from comment #1)
> Sorry, I don't think that was me. Or if it is in the video stuff, I can't
> tell where the assertion the test is complaining about is coming from.
> 
> Jean-Yves, do you recognize this? something with the MacIOSurface changes
> interacting with webgl, maybe?

this is on Aurora.. there's no use of IOSurface in Aurora...
the code producing the assert was removed in change https://hg.mozilla.org/mozilla-central/rev/0d0aeccf45d9.

Now returns a non-fatal error instead.
Fixed by bug 1066369. Not sure if it's feasible to uplift that to Aurora or not, but it would be nice if we could.
Assignee: nobody → jyavenard
Status: NEW → RESOLVED
Closed: 10 years ago
Depends on: 1066369
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Comment 3 was a different assertion than the one this was filed under. I've spun it off to bug 1079621.
You need to log in before you can comment on or make changes to this bug.