Closed
Bug 1376527
Opened 7 years ago
Closed 7 years ago
Crash in mozilla::wr::LockExternalImage
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox54 | --- | unaffected |
firefox55 | --- | unaffected |
firefox56 | --- | fixed |
People
(Reporter: marcia, Assigned: sotaro)
References
(Depends on 1 open bug)
Details
(Keywords: crash, reproducible)
Crash Data
Attachments
(2 files, 1 obsolete file)
11.67 KB,
text/plain
|
Details | |
1.91 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is report bp-3afeee47-cff4-4bb8-acf1-067ad0170627. ============================================================= Seeing this crash with the latest nightly Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:56.0) Gecko/20100101 Firefox/56.0 ID:20170627100238 CSet: 53477d584130945864c4491632f88da437353356 STR: 1. Click on Firefox nightly in the dock, or a firefox window 2. Crash - 100% reproducible. WR is enabled.
Updated•7 years ago
|
Depends on: wr-stability
Assignee | ||
Comment 1•7 years ago
|
||
:marcia, is the crash happen on another platform than mac?
Flags: needinfo?(mozillamarcia.knous)
Assignee | ||
Comment 2•7 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #1) > :marcia, is the crash happen on another platform than mac? :marcia, can you also check what will happen on debug build?
Reporter | ||
Comment 3•7 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #1) > :marcia, is the crash happen on another platform than mac? Not sure. I can check next week when I have access again to a Windows machine.
Flags: needinfo?(mozillamarcia.knous)
Assignee | ||
Comment 4•7 years ago
|
||
When I checked windows and linux, I did not see the crash for now. I do not have environment of mac this week :(
Reporter | ||
Comment 5•7 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #2) > (In reply to Sotaro Ikeda [:sotaro] from comment #1) > > :marcia, is the crash happen on another platform than mac? > > :marcia, can you also check what will happen on debug build? I can reproduce the crash in a debug build using my main Nightly profile, but haven't been able to do it with a clean profile. I will attach the terminal output.
Reporter | ||
Comment 6•7 years ago
|
||
Reporter | ||
Comment 7•7 years ago
|
||
Adding to my STR in Comment 0, I do minimize the window first. When I do that and click on the icon or minimized window I get an immediate crash.
Assignee | ||
Comment 8•7 years ago
|
||
I am going to look into it next week.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → sotaro.ikeda.g
Comment 9•7 years ago
|
||
Nightly 56 build 20170701100250 @ macOS 10.12.5 Darwin 16.6.0 Can reliably reproduce with attachment of bug 1305298 comment 0 with webrender+webrendest enabled. Meldungs-ID Sendedatum bp-9311c21a-cd02-4615-9e40-28d0e0170701 01.07.17 23:27 bp-71060776-f272-4da1-9f73-d27c70170701 01.07.17 23:26
Assignee | ||
Comment 10•7 years ago
|
||
The crash seemed to happen when mWidget->PreRender() returned false in RendererOGL::Render(). When mWidget->PreRender() returned false, RendererOGL::Render() does not call wr_renderer_render(). It means that webrender::renderer does not handle pending_texture_updates. But even in this case, RenderThread assumed that pending_texture_updates was handled and call NotifyDidRender(). https://dxr.mozilla.org/mozilla-central/source/gfx/webrender_bindings/RenderThread.cpp#174 Then CompositorBridgeParent::NotifyDidCompositeToPipeline() called and it calls WebRenderCompositableHolder::Update(). WebRenderCompositableHolder::Update() assumes external images' end of usages from epoch. But it is not correct when mWidget->PreRender() returned false.
Assignee | ||
Comment 11•7 years ago
|
||
mWidget->PreRender() could return false only on nsChildView::PreRender() on mac.
Assignee | ||
Comment 12•7 years ago
|
||
Assignee | ||
Comment 13•7 years ago
|
||
Update comments.
Attachment #8882970 -
Attachment is obsolete: true
Assignee | ||
Comment 14•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f1f86f2ba1f526badffe0a547c1ec018d6972bbf
Assignee | ||
Updated•7 years ago
|
Attachment #8882971 -
Flags: review?(nical.bugzilla)
Updated•7 years ago
|
Attachment #8882971 -
Flags: review?(nical.bugzilla) → review+
Comment 15•7 years ago
|
||
Pushed by sikeda@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/39b8e61c50e0 Do not call NotifyDidRender when RendererOGL::Render() returned false r=nical
Comment 16•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/39b8e61c50e0
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Updated•7 years ago
|
status-firefox54:
--- → unaffected
status-firefox55:
--- → unaffected
status-firefox-esr52:
--- → unaffected
You need to log in
before you can comment on or make changes to this bug.
Description
•