Closed
Bug 1459233
Opened 8 years ago
Closed 8 years ago
Crash in mozilla::layers::SyncObjectD3D11Host::Synchronize
Categories
(Core :: Graphics: WebRender, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla64
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox61 | --- | disabled |
| firefox62 | --- | disabled |
| firefox63 | --- | disabled |
| firefox64 | --- | fixed |
People
(Reporter: marcia, Assigned: sotaro)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file, 1 obsolete file)
|
3.23 KB,
patch
|
sotaro
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is
report bp-a5672ed8-ee14-450f-a100-dd2e50180423.
=============================================================
Seen while looking at Windows nightly crash data - it looks as if crashes started when nightly was still in 60: https://bit.ly/2HW3ZIU. In the last 7 days, 12 crashes/8 installs.
Moz Crash Reason: MOZ_CRASH(GFX: D3D11 normal status timeout)
I put it in this component since it looks as if code was touched in a few bugs such as Bug 1357299 - feel free to move it if that is not correct.
Top 10 frames of crashing thread:
0 xul.dll mozilla::layers::SyncObjectD3D11Host::Synchronize gfx/layers/d3d11/TextureD3D11.cpp:1710
1 xul.dll mozilla::layers::MLGDeviceD3D11::Synchronize gfx/layers/d3d11/MLGDeviceD3D11.cpp:1834
2 xul.dll mozilla::layers::LayerManagerMLGPU::RenderLayers gfx/layers/mlgpu/LayerManagerMLGPU.cpp:367
3 xul.dll mozilla::layers::LayerManagerMLGPU::Composite gfx/layers/mlgpu/LayerManagerMLGPU.cpp:314
4 xul.dll mozilla::layers::LayerManagerMLGPU::EndTransaction gfx/layers/mlgpu/LayerManagerMLGPU.cpp:273
5 xul.dll mozilla::layers::CompositorBridgeParent::CompositeToTarget gfx/layers/ipc/CompositorBridgeParent.cpp:1022
6 xul.dll mozilla::layers::CompositorVsyncScheduler::Composite gfx/layers/ipc/CompositorVsyncScheduler.cpp:243
7 xul.dll mozilla::detail::RunnableMethodImpl<mozilla::layers::CompositorVsyncScheduler*, void xpcom/threads/nsThreadUtils.h:1215
8 xul.dll MessageLoop::DoWork ipc/chromium/src/base/message_loop.cc:535
9 xul.dll base::MessagePumpForUI::DoRunLoop ipc/chromium/src/base/message_pump_win.cc:210
=============================================================
Updated•8 years ago
|
Blocks: stage-wr-trains
Priority: -- → P2
| Assignee | ||
Comment 1•8 years ago
|
||
The crash stat in comment 0 has LayerManagerMLGPU, it means WebRender is not used.
Component: Graphics: WebRender → Graphics: Layers
Comment 2•8 years ago
|
||
WebRender was affected by this three times within the last month:
https://crash-stats.mozilla.com/search/?signature=~mozilla%3A%3Alayers%3A%3ASyncObjectD3D11Host%3A%3ASynchronize&app_notes=~WR%2B&product=Firefox&date=%3E%3D2018-04-09T12%3A31%3A39.000Z&date=%3C2018-05-09T12%3A31%3A39.000Z&_sort=-date&_facets=signature&_columns=date&_columns=signature&_columns=product&_columns=version&_columns=build_id&_columns=platform#crash-reports
| Assignee | ||
Comment 3•8 years ago
|
||
Thanks for checking!
Component: Graphics: Layers → Graphics: WebRender
| Assignee | ||
Comment 4•8 years ago
|
||
Problem with WebRender could be mitigated by Bug 1364504.
Updated•8 years ago
|
Priority: P2 → P3
Updated•8 years ago
|
Priority: P3 → P2
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → sotaro.ikeda.g
| Assignee | ||
Comment 5•8 years ago
|
||
| Assignee | ||
Comment 6•8 years ago
|
||
attachment 9013534 [details] [diff] [review] makes SyncObjectD3D11Host::Synchronize() fallible like SyncObjectD3D11Client::Synchronize(bool aFallible).
| Assignee | ||
Updated•8 years ago
|
Attachment #9013534 -
Flags: review?(matt.woodrow)
Updated•8 years ago
|
Attachment #9013534 -
Flags: review?(matt.woodrow) → review+
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4505ab264626
Make SyncObjectD3D11Host::Synchronize() fallible with WebRender r=mattwoodrow
Comment 8•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Comment 9•8 years ago
|
||
| bugherder | ||
Comment 10•8 years ago
|
||
There is a perma fail for this failure:
https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&fromchange=f9572cfd7bac75d4493f44206cd27958d74269d0&selectedJob=203012642&searchStr=windows%2C10%2Cx64%2Cquantumrender%2Copt%2Creftests%2Cwith%2Ce10s%2Ctest-windows10-64-qr%2Fopt-reftest-e10s-1%2Cr-e10s%28r1%29
:sotaro can you take a look at this?
We will back it out in the next merge if it's not fixed.
Flags: needinfo?(sotaro.ikeda.g)
| Assignee | ||
Comment 11•8 years ago
|
||
I looked into the code, but it is not clear whey it causes a perma fail. It is OK to backout.
Flags: needinfo?(sotaro.ikeda.g)
| Assignee | ||
Comment 12•8 years ago
|
||
Bug 1489327 already exists. Not sure why it becomes a perma fail.
| Assignee | ||
Comment 13•8 years ago
|
||
If the change causes the perma fail, it means that GPU process crashed because of D3D11 timeout on the D3D11 sync lock.
Comment 14•8 years ago
|
||
Backout by aciure@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/775ad70be301
Backed out 1 changesets for continuation-opacity.html failures on Win 10 qr a=backout
Comment 15•8 years ago
|
||
Backed out 1 changesets (bug 1459233) for continuation-opacity.html failures on Win 10 qr
push that caused the backout: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&searchStr=94c3621993359b84f08a9a98ee45d74673a841a7&selectedJob=203033297&revision=4505ab264626d70bdc34ed6e6f9d7b13ae074b48
failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&searchStr=94c3621993359b84f08a9a98ee45d74673a841a7&selectedJob=203033297&revision=fcfe79760aa85edf977bb3753321c2858347505f
backout: https://hg.mozilla.org/mozilla-central/rev/775ad70be30122138b07b3928e1421187046afb0
Status: RESOLVED → REOPENED
status-firefox64:
fixed → ---
Resolution: FIXED → ---
Target Milestone: mozilla64 → ---
| Assignee | ||
Comment 16•8 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #13)
> If the change causes the perma fail, it means that GPU process crashed
> because of D3D11 timeout on the D3D11 sync lock.
Hmm, it seems not called during the test on try. Then the change seems not actually related.
| Assignee | ||
Comment 17•8 years ago
|
||
Rebased.
Attachment #9013534 -
Attachment is obsolete: true
Attachment #9014618 -
Flags: review+
| Assignee | ||
Comment 18•8 years ago
|
||
unexpected fail of continuation-opacity.html was addressed by Bug 1496324
https://treeherder.mozilla.org/#/jobs?repo=try&revision=60b23def22cb1f9f8e04387ddd9e652f2a35064d
Comment 19•8 years ago
|
||
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2558c8ea6ad2
Make SyncObjectD3D11Host::Synchronize() fallible with WebRender r=mattwoodrow
Comment 20•8 years ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•8 years ago
|
status-firefox62:
--- → disabled
status-firefox63:
--- → disabled
status-firefox-esr60:
--- → unaffected
You need to log in
before you can comment on or make changes to this bug.
Description
•