Closed
Bug 1376527
Opened 8 years ago
Closed 8 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•8 years ago
|
Depends on: wr-stability
| Assignee | ||
Comment 1•8 years ago
|
||
:marcia, is the crash happen on another platform than mac?
Flags: needinfo?(mozillamarcia.knous)
| Assignee | ||
Comment 2•8 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•8 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•8 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•8 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•8 years ago
|
||
| Reporter | ||
Comment 7•8 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•8 years ago
|
||
I am going to look into it next week.
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → sotaro.ikeda.g
Comment 9•8 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•8 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•8 years ago
|
||
mWidget->PreRender() could return false only on nsChildView::PreRender() on mac.
| Assignee | ||
Comment 12•8 years ago
|
||
| Assignee | ||
Comment 13•8 years ago
|
||
Update comments.
Attachment #8882970 -
Attachment is obsolete: true
| Assignee | ||
Comment 14•8 years ago
|
||
| Assignee | ||
Updated•8 years ago
|
Attachment #8882971 -
Flags: review?(nical.bugzilla)
Updated•8 years ago
|
Attachment #8882971 -
Flags: review?(nical.bugzilla) → review+
Comment 15•8 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•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Updated•8 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
•