Crash in [@ mozilla::gfx::GPUParent::RecvInit]
Categories
(Core :: Graphics, defect, P1)
Tracking
()
People
(Reporter: mccr8, Assigned: bobowen)
References
Details
(Keywords: assertion, crash)
Crash Data
Attachments
(2 files, 1 obsolete file)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
3.14 KB,
text/plain
|
bobowen
:
data-review+
|
Details |
This bug is for crash report bp-c2ff0533-ce9c-4d0a-bbe3-42ede0200522.
Top 10 frames of crashing thread:
0 xul.dll mozilla::gfx::GPUParent::RecvInit gfx/ipc/GPUParent.cpp:212
1 xul.dll mozilla::gfx::PGPUParent::OnMessageReceived ipc/ipdl/PGPUParent.cpp:765
2 xul.dll mozilla::ipc::MessageChannel::DispatchMessage ipc/glue/MessageChannel.cpp:2110
3 xul.dll mozilla::ipc::MessageChannel::MessageTask::Run ipc/glue/MessageChannel.cpp:1989
4 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1211
5 xul.dll NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:501
6 xul.dll mozilla::ipc::MessagePump::Run ipc/glue/MessagePump.cpp:109
7 xul.dll MessageLoop::RunHandler ipc/chromium/src/base/message_loop.cc:308
8 xul.dll MessageLoop::Run ipc/chromium/src/base/message_loop.cc:290
9 xul.dll nsBaseAppShell::Run widget/nsBaseAppShell.cpp:137
Crash reason is:
MOZ_DIAGNOSTIC_ASSERT(false) (DeviceManagerDx::Get()->CreateCanvasDevice())
Graphics critical errors are along the lines of: |[G0][GFX1]: Crash during D3D11 device creation for Canvas (t=0.685432)
It looks like this first showed up in the 20200521093657 build.
This is the list of changes in that build: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=6c10970490f3cc19e644964f583be1a047c08b2c&tochange=2d00a1a6495c9b0350c4a7d601df64b49355e701
Nothing in there is obviously at fault to me, though the description of the patch for bug 1638331 does contain the word "crash" and it is related to graphics. However, the crashes here don't seem to contain the right annotation to match.
Comment 1•5 years ago
|
||
Bob, it looks like the assertion being hit here was added in bug 1464032. However, the spike in crashes seems only recent. Have you done any work in this area lately?
Assignee | ||
Comment 2•5 years ago
|
||
(In reply to Lee Salzman [:lsalzman] from comment #1)
Bob, it looks like the assertion being hit here was added in bug 1464032. However, the spike in crashes seems only recent. Have you done any work in this area lately?
Looks like that's close to where I turned it on by default for Nightly.
I've been watching for crashes with the canvas classes in the stack, so I missed this one ... thanks!
Assignee | ||
Comment 3•5 years ago
|
||
These are all down to [1] failing, because they all have the associated critical error.
This is an effective diagnostic assert now, so we won't see it in Beta.
I think probably the best course of action is actually to fall back to software in this case.
Probably need to gather telemetry in that case.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Data review request for adding some technical data over activation and deactivation of remote canvas 2D.
Assignee | ||
Comment 6•5 years ago
|
||
This also adds telemetry probes to track:
- when remote canvas 2D is activated
- when remote canvas 2D is deactivated due to canvas device creation failure
- number of times remote canvas is deactivated due to a stream read error.
Comment 7•5 years ago
|
||
Assignee | ||
Comment 8•5 years ago
|
||
After discussion with chutten, I decided to change this to expire after six versions.
I also decided to change the booleans to uints, as that will make comparisons with the read failures more meaningful. From crash data that seems like the more prevalent issue.
Carrying dr+
Assignee | ||
Comment 9•5 years ago
|
||
Limited try push with latest changes:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=cb77641f6d2c720fd16a95cc8b1efba25ecad2f8
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
Backed out changeset 8570bd4a1f0b (bug 1641722) for Build bustage in telemetry/.deps/TelemetryScalarData.h. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=307640099&repo=autoland&lineNumber=1569
Backout:
https://hg.mozilla.org/integration/autoland/rev/481f2086448198bac440e2f4459f1c51f0aefe7e
Assignee | ||
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
bugherder |
Description
•