Crash in [@ mozilla::gfx::DrawTargetD2D1::CreateBrushForPattern]
Categories
(Core :: Graphics, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox65 | --- | unaffected |
firefox66 | blocking | fixed |
firefox67 | + | fixed |
People
(Reporter: philipp, Assigned: bas.schouten)
References
Details
(Keywords: crash, regression)
Crash Data
Attachments
(3 files)
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
|
Details | Review |
This bug is for crash report bp-8b436030-f2df-49bb-b712-298950190207.
Top 10 frames of crashing thread:
0 xul.dll struct already_AddRefed<ID2D1Brush> mozilla::gfx::DrawTargetD2D1::CreateBrushForPattern gfx/2d/DrawTargetD2D1.cpp:2065
1 xul.dll mozilla::gfx::DrawTargetD2D1::FillRect gfx/2d/DrawTargetD2D1.cpp:563
2 xul.dll void gfxSurfaceDrawable::DrawInternal gfx/thebes/gfxDrawable.cpp
3 xul.dll gfxSurfaceDrawable::Draw gfx/thebes/gfxDrawable.cpp:64
4 xul.dll static struct already_AddRefed<gfxDrawable> CreateSamplingRestrictedDrawable gfx/thebes/gfxUtils.cpp:321
5 xul.dll gfxUtils::DrawPixelSnapped gfx/thebes/gfxUtils.cpp:545
6 xul.dll mozilla::image::ImgDrawResult mozilla::image::RasterImage::DrawInternal image/RasterImage.cpp:1367
7 xul.dll mozilla::image::RasterImage::Draw image/RasterImage.cpp:1429
8 xul.dll static mozilla::image::ImgDrawResult DrawImageInternal layout/base/nsLayoutUtils.cpp:6584
9 xul.dll nsLayoutUtils::DrawBackgroundImage layout/base/nsLayoutUtils.cpp:6798
there are still a number of [@ mozilla::gfx::DrawTargetD2D1::CreateBrushForPattern] content crashes after the patches from the "see also" bugs have gone into firefox 66.0b5 (the volume has noticeably reduced though).
the stack from this particular report is the most common remaining one, but there are others too: https://bit.ly/2TxLYWW
Assignee | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 1•6 years ago
|
||
From the channel meeting today: this signature = 2.2% of beta content crashes.
Assignee | ||
Comment 2•6 years ago
|
||
(In reply to Liz Henry (:lizzard) (use needinfo) from comment #1)
From the channel meeting today: this signature = 2.2% of beta content crashes.
The proper fix to this is probably not great to uplift. I can create a bandaid patch that probably addresses this, but in a less desirable manner, that we can uplift, how important do we believe it is to ship a patch for this in beta?
Comment 3•6 years ago
|
||
Still pretty important as the crash volume is quite high for beta and i expect it would be our top crash on release.
Assignee | ||
Comment 4•6 years ago
|
||
(In reply to Liz Henry (:lizzard) (use needinfo) from comment #3)
Still pretty important as the crash volume is quite high for beta and i expect it would be our top crash on release.
It should be noted that beta tends to have more device resets than release. However it will very likely still be top 5, we can make an upliftable patch.
Assignee | ||
Comment 5•6 years ago
|
||
Comment 7•6 years ago
|
||
bugherder |
Assignee | ||
Comment 8•6 years ago
|
||
I still found one crash on nightly with this patch. We'll have to uplift it to beta if we want to have an idea of how much this reduces the crashes.
Assignee | ||
Comment 9•6 years ago
|
||
Comment on attachment 9044669 [details]
Bug 1526045: Avoid invalid DrawTargets when not using OMTP. r=rhunt
Beta/Release Uplift Approval Request
- Feature/Bug causing the regression: Bug 1519760
- User impact if declined: Crashes
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Just an extra verification of surface validity.
- String changes made/needed: None
Comment 10•6 years ago
|
||
Comment on attachment 9044669 [details]
Bug 1526045: Avoid invalid DrawTargets when not using OMTP. r=rhunt
Trying to bring down this crash volume. OK for beta 11 uplift.
Comment 11•6 years ago
|
||
bugherder uplift |
Assignee | ||
Comment 12•6 years ago
|
||
I'm still not happy with the crashrates here on nightly, not sure about beta yet but speculatively I'm going to deliver another, more extensive fix.
Assignee | ||
Comment 13•6 years ago
|
||
Preferrably CreateOffscreenContentDrawTarget would create Capture DrawTargets when we intend to use OMTP. This is not the case at the moment though and changing this would likely introduce more unforseen issues. For now all of these calls basically mean a DrawTarget will be used on the main thread and we should use a no-op ClearRect to ensure that the DrawTarget is actually initialized. Since IsValid for the moment won't do this for DrawTargetD2D. (See bug 1521368)
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
Backed out changeset 0e6973ba9fe5 (Bug 1526045) for build bustages at gfxPlatform.cpp
Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/1de4e8186b7fdbbb35a2dbd3f0b934be31166814
Push that started the failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&resultStatus=pending%2Crunning%2Csuccess%2Ctestfailed%2Cbusted%2Cexception&selectedJob=230480852&revision=0e6973ba9fe579d79bd2845fabb5e17179b33af7
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=230480852&repo=mozilla-inbound&lineNumber=29133
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
bugherder |
Comment 18•6 years ago
|
||
The volume is still so high for beta that I'm marking this as a release blocker for 66. (With hopes we can uplift these patches and keep bringing the crash volume down.)
Comment 19•6 years ago
|
||
Want to go ahead and request uplift? As with the other patches it may just be hard to tell the results from Nightly.
Assignee | ||
Comment 20•6 years ago
|
||
Comment on attachment 9046405 [details]
Bug 1526045 - Part 2: Verify all DrawTargets created through CreateOffscreenContentDrawTarget. r=rhunt
Beta/Release Uplift Approval Request
- Feature/Bug causing the regression: Bug 1519760
- User impact if declined: Crashes
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Just an additional verification step.
- String changes made/needed: None
Assignee | ||
Comment 21•6 years ago
|
||
(In reply to Liz Henry (:lizzard) (use needinfo) from comment #19)
Want to go ahead and request uplift? As with the other patches it may just be hard to tell the results from Nightly.
It certainly looks promising, 3 nightlies now with 0 of these crashes.
Comment 22•6 years ago
|
||
Comment on attachment 9046405 [details]
Bug 1526045 - Part 2: Verify all DrawTargets created through CreateOffscreenContentDrawTarget. r=rhunt
Another mitigation for big topcrash in beta.
Let's try to land this for beta 12.
Comment 23•6 years ago
|
||
bugherder uplift |
Comment 24•6 years ago
|
||
Comment 25•6 years ago
|
||
bugherder |
Assignee | ||
Comment 26•6 years ago
|
||
It looks like this has reduced the volume considerably, there's two obvious crashes left from what I can see, one has a patch coming up on this bug. This other is a case of bug 1524554.
Assignee | ||
Comment 27•6 years ago
|
||
Depends on D21899
Comment 28•6 years ago
|
||
Comment 29•6 years ago
|
||
bugherder |
Assignee | ||
Comment 30•6 years ago
|
||
Comment on attachment 9048119 [details]
Bug 1526045 - Part 3: Ensure DrawTarget validity insite gfxBlur::InitDrawTarget. r=rhunt
Beta/Release Uplift Approval Request
- Feature/Bug causing the regression: Bug 1519760
- User impact if declined: Crashes
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Additional verification.
- String changes made/needed:
Updated•6 years ago
|
Comment 31•6 years ago
|
||
Comment on attachment 9048119 [details]
Bug 1526045 - Part 3: Ensure DrawTarget validity insite gfxBlur::InitDrawTarget. r=rhunt
Yet another crash fix. Let's take it!
Comment 32•6 years ago
|
||
bugherder uplift |
Assignee | ||
Comment 33•6 years ago
|
||
Based on the crash reports that are left the only remaining bug is bug 1524554. Investigating that further.
Comment 34•5 years ago
|
||
Please specify a root cause for this bug. See :tmaity for more information.
Updated•4 years ago
|
Description
•