Closed
Bug 1285757
Opened 9 years ago
Closed 8 years ago
Intermittent test_getUserMedia_mediaElementCapture_tracks.html,test_streams_capture_origin.html | Assertion count 4 is greater than expected (ASSERTION: Unsupported partial updates for YCbCr textures: '!aRegion', file TextureHost.cpp, line 696)
Categories
(Core :: Graphics: Layers, defect, P3)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla52
People
(Reporter: philor, Assigned: sotaro)
References
Details
(Keywords: assertion, intermittent-failure, Whiteboard: [gfx-noted])
Attachments
(1 file, 1 obsolete file)
|
991 bytes,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1251427 +++
https://treeherder.mozilla.org/logviewer.html#?job_id=4296490&repo=mozilla-central
Whiteboard: [gfx-noted]
Updated•9 years ago
|
status-firefox51:
--- → affected
Summary: Intermittent test_streams_capture_origin.html | Assertion count 4 is greater than expected (ASSERTION: Unsupported partial updates for YCbCr textures: '!aRegion', file gfx/layers/composite/TextureHost.cpp, line 696) → Intermittent test_getUserMedia_mediaElementCapture_tracks.html,test_streams_capture_origin.html | Assertion count 4 is greater than expected (ASSERTION: Unsupported partial updates for YCbCr textures: '!aRegion', file TextureHost.cpp, line 696)
Comment 1•9 years ago
|
||
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 4•9 years ago
|
||
This appears in all of the logs, seems relevant:
[task 2016-09-21T20:29:03.842288Z] 20:29:03 INFO - [4521] ###!!! ASSERTION: Unsupported partial updates for YCbCr textures: '!aRegion', file /home/worker/workspace/build/src/gfx/layers/composite/TextureHost.cpp, line 911
[task 2016-09-21T20:29:03.850399Z] 20:29:03 INFO - #01: mozilla::layers::BufferTextureHost::MaybeUpload [gfx/layers/composite/TextureHost.cpp:811]
[task 2016-09-21T20:29:03.851184Z] 20:29:03 INFO - #02: mozilla::layers::BufferTextureHost::Lock [gfx/layers/composite/TextureHost.cpp:572]
[task 2016-09-21T20:29:03.851317Z] 20:29:03 INFO - #03: mozilla::layers::ImageHost::Lock [gfx/layers/composite/ImageHost.cpp:545]
[task 2016-09-21T20:29:03.851949Z] 20:29:03 INFO - #04: mozilla::layers::AutoLockCompositableHost::AutoLockCompositableHost [gfx/layers/composite/CompositableHost.h:259]
[task 2016-09-21T20:29:03.852496Z] 20:29:03 INFO - #05: mozilla::layers::ImageHost::Composite [gfx/layers/composite/ImageHost.cpp:336]
[task 2016-09-21T20:29:03.852664Z] 20:29:03 INFO - #06: mozilla::layers::ImageLayerComposite::GetCompositableHost [gfx/layers/composite/ImageLayerComposite.cpp:198]
[task 2016-09-21T20:29:03.853217Z] 20:29:03 INFO - #07: mozilla::layers::RenderWithAllMasks<mozilla::layers::ImageLayerComposite::RenderLayer(const IntRect&)::__lambda2> [gfx/layers/composite/LayerManagerComposite.h:596]
[task 2016-09-21T20:29:03.855933Z] 20:29:03 INFO - #08: mozilla::layers::ImageLayerComposite::RenderLayer [gfx/layers/composite/ImageLayerComposite.cpp:119]
[task 2016-09-21T20:29:03.857068Z] 20:29:03 INFO - #09: mozilla::layers::RenderLayers<mozilla::layers::ContainerLayerComposite> [gfx/layers/composite/ContainerLayerComposite.cpp:399]
[task 2016-09-21T20:29:03.859101Z] 20:29:03 INFO - #10: mozilla::layers::ContainerRender<mozilla::layers::ContainerLayerComposite> [mfbt/UniquePtr.h:313]
[task 2016-09-21T20:29:03.860886Z] 20:29:03 INFO - #11: mozilla::layers::RenderLayers<mozilla::layers::ContainerLayerComposite> [gfx/layers/composite/ContainerLayerComposite.cpp:399]
[task 2016-09-21T20:29:03.861626Z] 20:29:03 INFO - #12: mozilla::layers::ContainerRender<mozilla::layers::ContainerLayerComposite> [mfbt/UniquePtr.h:313]
[task 2016-09-21T20:29:03.862683Z] 20:29:03 INFO - #13: mozilla::layers::LayerManagerComposite::Render [gfx/src/nsRegion.h:687]
[task 2016-09-21T20:29:03.863887Z] 20:29:03 INFO - #14: mozilla::layers::LayerManagerComposite::UpdateAndRender [gfx/layers/composite/LayerManagerComposite.cpp:487]
[task 2016-09-21T20:29:03.864824Z] 20:29:03 INFO - #15: mozilla::layers::LayerManagerComposite::EndTransaction [gfx/layers/composite/LayerManagerComposite.cpp:405]
[task 2016-09-21T20:29:03.872008Z] 20:29:03 INFO - #16: mozilla::layers::CompositorBridgeParent::CompositeToTarget [gfx/layers/ipc/CompositorBridgeParent.cpp:1355]
[task 2016-09-21T20:29:03.873053Z] 20:29:03 INFO - #17: mozilla::layers::CompositorVsyncScheduler::Composite [gfx/layers/ipc/CompositorBridgeParent.cpp:578]
[task 2016-09-21T20:29:03.873858Z] 20:29:03 INFO - #18: mozilla::detail::RunnableMethodImpl<void (mozilla::layers::CompositorVsyncScheduler::*)(mozilla::TimeStamp), true, true, mozilla::TimeStamp>::Run [xpcom/glue/nsThreadUtils.h:767]
[task 2016-09-21T20:29:03.879252Z] 20:29:03 INFO - #19: MessageLoop::RunTask [mfbt/RefPtr.h:62]
[task 2016-09-21T20:29:03.880283Z] 20:29:03 INFO - #20: MessageLoop::DeferOrRunPendingTask [ipc/chromium/src/base/message_loop.cc:354]
[task 2016-09-21T20:29:03.880883Z] 20:29:03 INFO - #21: MessageLoop::DoWork [ipc/chromium/src/base/message_loop.cc:429]
[task 2016-09-21T20:29:03.881533Z] 20:29:03 INFO - #22: base::MessagePumpDefault::Run [ipc/chromium/src/base/message_pump_default.cc:37]
[task 2016-09-21T20:29:03.882181Z] 20:29:03 INFO - #23: MessageLoop::RunInternal [ipc/chromium/src/base/message_loop.cc:233]
[task 2016-09-21T20:29:03.882835Z] 20:29:03 INFO - #24: MessageLoop::Run [ipc/chromium/src/base/message_loop.cc:490]
[task 2016-09-21T20:29:03.883362Z] 20:29:03 INFO - #25: base::Thread::ThreadMain [ipc/chromium/src/base/thread.cc:183]
[task 2016-09-21T20:29:03.884082Z] 20:29:03 INFO - #26: ThreadFunc [ipc/chromium/src/base/platform_thread_posix.cc:40]
[task 2016-09-21T20:29:03.884799Z] 20:29:03 INFO - #27: libpthread.so.0 + 0x76fa
[task 2016-09-21T20:29:03.885664Z] 20:29:03 INFO - #28: libc.so.6 + 0x106b5d
[task 2016-09-21T20:29:03.886453Z] 20:29:03 INFO - #29: ??? (???:???)
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → sotaro.ikeda.g
| Assignee | ||
Comment 6•9 years ago
|
||
The problem could happen when mFirstSource is replaced with others during no update of mUpdateSerial. Fix of Bug 1251427 handled one place of mFirstSource replacement point.
| Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #6)
> Fix of Bug 1251427 handled one place of
> mFirstSource replacement point.
The fix seems not handle a case that TextureSource is recreated without reusing CompositableTextureSourceRef.
| Assignee | ||
Comment 8•9 years ago
|
||
| Assignee | ||
Updated•9 years ago
|
Attachment #8797950 -
Flags: review?(nical.bugzilla)
Comment 9•9 years ago
|
||
Comment on attachment 8797950 [details] [diff] [review]
patch - Update mNeedsFullUpdate in BufferTextureHost::PrepareTextureSource()
Review of attachment 8797950 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/composite/TextureHost.cpp
@@ -745,5 @@
>
> if (!shouldCreateTexture) {
> mFirstSource = texture;
> mFirstSource->SetOwner(this);
> - mNeedsFullUpdate = true;
Are you sure we can remove this one?
| Assignee | ||
Comment 10•9 years ago
|
||
(In reply to Nicolas Silva [:nical] from comment #9)
> ::: gfx/layers/composite/TextureHost.cpp
> @@ -745,5 @@
> >
> > if (!shouldCreateTexture) {
> > mFirstSource = texture;
> > mFirstSource->SetOwner(this);
> > - mNeedsFullUpdate = true;
>
> Are you sure we can remove this one?
Oh, we could not remove it.
| Assignee | ||
Comment 11•9 years ago
|
||
Apply the comment.
Attachment #8797950 -
Attachment is obsolete: true
Attachment #8797950 -
Flags: review?(nical.bugzilla)
| Assignee | ||
Updated•9 years ago
|
Attachment #8798258 -
Flags: review?(nical.bugzilla)
Updated•9 years ago
|
Attachment #8798258 -
Flags: review?(nical.bugzilla) → review+
| Assignee | ||
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a937bbfad93b
Update mNeedsFullUpdate in BufferTextureHost::PrepareTextureSource() r=nical
Comment 14•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Comment 15•9 years ago
|
||
Please request Aurora/Beta approval on this once you feel that it has sufficiently baked.
Flags: needinfo?(sotaro.ikeda.g)
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 17•9 years ago
|
||
Hmm, there is still another code path to cause the problem:-(
Flags: needinfo?(sotaro.ikeda.g)
| Assignee | ||
Updated•9 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 21•8 years ago
|
||
The failure did not happen for 4 months.
Status: REOPENED → RESOLVED
Closed: 9 years ago → 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•